Added scripts to build executable jar for learn and javadocs.

This commit is contained in:
leandrohw 2017-07-09 17:17:37 -06:00
parent 9d272ec8ab
commit d6a68795c0

View file

@ -10,7 +10,57 @@
<artifactId>iBioSim</artifactId>
</parent>
<packaging>jar</packaging>
<build>
<plugins>
<!-- Build an executable JAR -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>build-converter</id>
<configuration>
<archive>
<manifest>
<mainClass>edu.utah.ece.async.ibiosim.learn.Learn</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<phase>package</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>edu.utah.ece.async</groupId>