more build tinkering

milan
BodgeMaster 2022-02-20 02:02:22 +01:00
parent a374ddeca0
commit 0b907f74a2
1 changed files with 4 additions and 7 deletions

11
pom.xml
View File

@ -20,21 +20,18 @@
<build>
<plugins>
<plugin>
<!-- Build an executable JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>linux.general.hackyquizbot.Main</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>
</project>