Skip to content

Commit

Permalink
fix: create two jars (with and without deps)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvolpato committed Aug 17, 2019
1 parent 3856b85 commit 98cc698
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,27 +101,30 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>

<executions>
<execution>
<phase>package</phase>
</execution>
<execution>
<phase>package</phase>
<id>cli</id>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>OtsCli</finalName>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<mainClass>com.eternitywall.ots.OtsCli</mainClass>
</manifest>
</archive>
</configuration>
</execution>
</executions>
<configuration>
<finalName>OtsCli</finalName>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<mainClass>com.eternitywall.ots.OtsCli</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down

0 comments on commit 98cc698

Please sign in to comment.