Added jar-with-dependencies build to the catalog server.

This commit is contained in:
Andrew Lalis 2021-08-26 12:09:05 +02:00
parent cb3a6ac1f9
commit 1a923e0ff8
1 changed files with 29 additions and 0 deletions

View File

@ -33,4 +33,33 @@
<version>2.12.4</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<mainClass>nl.andrewl.concord_catalog.CatalogServer</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>