Skip to content

Commit 66d6862

Browse files
committed
[BUG FIX] JAR not being compiled with dependencies
This bug fix should resolve #2, JAR will now be generated and deployed with necessary depdencies.
1 parent fb35dc1 commit 66d6862

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,28 @@
7777
</archive>
7878
</configuration>
7979
</plugin>
80+
<plugin>
81+
<artifactId>maven-assembly-plugin</artifactId>
82+
<configuration>
83+
<archive>
84+
<manifest>
85+
<mainClass>com.ffxivcensus.gatherer.Console</mainClass>
86+
</manifest>
87+
</archive>
88+
<descriptorRefs>
89+
<descriptorRef>jar-with-dependencies</descriptorRef>
90+
</descriptorRefs>
91+
</configuration>
92+
<executions>
93+
<execution>
94+
<id>make-assembly</id> <!-- this is used for inheritance merges -->
95+
<phase>package</phase> <!-- bind to the packaging phase -->
96+
<goals>
97+
<goal>single</goal>
98+
</goals>
99+
</execution>
100+
</executions>
101+
</plugin>
80102
<plugin>
81103
<groupId>org.jacoco</groupId>
82104
<artifactId>jacoco-maven-plugin</artifactId>

0 commit comments

Comments
 (0)