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> <build>
<plugins> <plugins>
<plugin> <plugin>
<!-- Build an executable JAR --> <artifactId>maven-assembly-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>linux.general.hackyquizbot.Main</mainClass> <mainClass>linux.general.hackyquizbot.Main</mainClass>
</manifest> </manifest>
</archive> </archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>