Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

Commit

Permalink
make fat jar
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Jul 11, 2018
1 parent bf55253 commit 70be0a6
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pom.xml
Expand Up @@ -22,4 +22,39 @@
<version>1.2.17</version>
</dependency>
</dependencies>

<build>

<plugins>
<!-- Maven Assembly Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<!-- get all project dependencies -->
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!-- MainClass in mainfest make a executable jar -->
<archive>
<manifest>
<mainClass>com.owera.tr069client.TR069CLI</mainClass>
</manifest>
</archive>

</configuration>
<executions>
<execution>
<id>make-assembly</id>
<!-- bind to the packaging phase -->
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 70be0a6

Please sign in to comment.