Maven Assembly Plugin :

I tried to create a JAR with dependencies included as JAR files in a lib sub folder. I was using these configurations: pom.xml ...   <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifest> <mainClass>main.Class</mainClass> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> </manifest> </archive> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> </descriptors> </configuration> </plugin>   ...... <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifest> <mainClass>main.Class</mainClass> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> </manifest> </archive> <descriptors> Continue reading →

Tomcat 7.0.32 & Tomcat Maven Plugin

I am using the Tomcat Maven Plugin by Codehaus. Here is an excerpt from my pom.xml: ... <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <server>tomcat_localhost</server> <url>http://localhost:8080/manager/html</url> <path>/ubicon-webapp</path> </configuration> </plugin> ...... <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <server>tomcat_localhost</server> <url>http://localhost:8080/manager/html</url> <path>/ubicon-webapp</path> </configuration> </plugin> ... For Tomcat 6 one is supposed to use the URL http://localhost:8080/manager with a user assigned to Continue reading →

Eclipse Juno: Maven Subclipse SCM Connector

There is no obvious way to find a Maven (m2e) SCM connector for Subclipse (SVN). Luckily when working with Subclipse 1.8 it is possible to install such a connector from the update site http://subclipse.tigris.org/m2eclipse/1.0 Source: http://code.google.com/p/cleartk/wiki/DeveloperSetup