maven - reproducing the REALLY EASY eclipse "export as .jar" functionality
BUT the "make a runnable jar" also works so maybe a better "generic universal" method
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.oxygencloud.sdk</groupId>
<artifactId>OxygenLogin</artifactId>
<version>0.11-SNAPSHOT</version>
<packaging>jar</packaging>
<name>OxygenLogin</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.oxygencloud.sdk</groupId>
<artifactId>o2javasdk</artifactId>
<version>0.0.241</version>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<!-- NOTE: We don't need a groupId specification because the group is
org.apache.maven.plugins ...which is assumed by default.
-->
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>