Skip to content

Commit

Permalink
Merge pull request #10 from bartcharbon/master
Browse files Browse the repository at this point in the history
version 1.1 (added dependecies to the jar)
  • Loading branch information
marikaris committed Feb 1, 2017
2 parents 5e11c21 + 79266bd commit 04d459a
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion pom.xml
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.molgenis</groupId>
<artifactId>downloader</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<packaging>jar</packaging>
<build>
<plugins>
Expand Down Expand Up @@ -103,4 +103,42 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<profiles>
<!-- create runnable jar -->
<profile>
<id>create-delivery</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.molgenis.downloader.Downloader</mainClass>
<addDefaultImplementationEntries>
true
</addDefaultImplementationEntries>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>downloader</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 04d459a

Please sign in to comment.