Category Archives: Maven

Apache Wink

Apache Wink is an incubating project that will allow you to write RESTful JAX-RS (JSR-311) web apps – like Jersey. Read what Dr. Fielding has to say about what is REST and what’s not. DeveloperWorks has a recent article on Apache Wink. They do a commendable thing by giving instructions on how to “materialize” the [...]

Also posted in REST, Web | Tagged | Leave a comment

jetty maven version 7 beta woes

So I gave the beta of the jetty maven plugin a try. What I had was this: 1 2 3 <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.19</version> I changed it to this which is the most current available version in the repos: 1 2 <artifactId>jetty-maven-plugin</artifactId> <version>7.0.0.1beta3</version> N.B. for maximum cognitive dissonance the jetty guys thought it would be a [...]

Also posted in Spring Framework | Tagged , , | 1 Response

JSF 2.0

JSF 2.0 is out. But there is still no maven love here: https://maven-repository.dev.java.net/nonav/repository/javax.faces/jars/ But over at JBoss we have something close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <dependency>   <groupId>javax.faces</groupId>   <artifactId>jsf-api</artifactId>   <version>2.0.0-PR2_3</version>   </dependency>   <dependency>   <groupId>javax.faces</groupId>   <artifactId>jsf-impl</artifactId> [...]

Also posted in JSF | Tagged | 1 Response

Maven profiles : filtering for hsqldb and MySQL

Many developers like to use a lightweight embedded database such as Hsqldb or Derby in their development environment. But usually the application is deployed using another database such as MySQL – or Oracle, DB2 etc. Maven profiles are a way to segregate resources for each environment and to switch easily between them. The Spring Framework [...]

Also posted in Spring Framework | Tagged | Leave a comment

Maven pom for Spring Integration samples

How many poor suckers have wasted time configuring Maven to run the examples for the Spring Integration project? The sources are in a jar included in the download. I’d post a complete maven project but I don’t want to hear from any lawyers. Here is the POM that I slapped together. 1 2 3 4 [...]

Also posted in Spring Integration | Tagged , | 1 Response

maven and log4j

For some reason log4j 1.2.15 has a compile time dependency on JMX even if you’re not going to compile log4j. Go figure. I’m not the first one to point this out since there is a bug report issued. What’s worse is that the jars are not in any maven repository due to Sun licensing restrictions. [...]

Posted in Maven | 1 Response

Maven and RAD 7.5

RAD 7.5 was just released and I just installed it. Lots of improvements. It’s based on Eclipse 3.4 now. One glitch. I use the Maven plugin on many projects. I cannot install the POM editor. That’s mostly OK with me since I just use the XML editor but sometimes I like to have a second [...]

Also posted in Eclipse, IDE | Tagged , | Leave a comment

maven signing tidbit

Ever get this? 1 2 [INFO] [keytool:genkey] [WARNING] Enter keystore password:  Keystore password is too short – must be at least 6 characters You probably have something like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>keytool-maven-plugin</artifactId> <configuration> <keystore>${basedir}/target/keystore</keystore> <dname>cn=Gene De Lisa, ou=Devel, L=Philadelphia, ST=PA, o=Rockhopper, c=US</dname> [...]

Posted in Maven | Tagged | Leave a comment

Maven plugin for Eclipse

The m2Eclipse plugin has been accepted into the Eclipse Foundation.  Perhaps this will push development along. Already there is a ton of new features in the current release – along with decent documentation! Thanks! The update site at codehaus is still alive but it looks like the new versions will be at http://m2eclipse.sonatype.org/update/ and for [...]

Also posted in Eclipse, IDE | Tagged , | 2 Responses