Skip to content

Commit

Permalink
Added maven-jar-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ginkogruen committed Oct 17, 2024
1 parent 763aacf commit cf7ac16
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<plugins>
<plugin>
<!-- Build an executable JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>org.ginkogruen.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>


<dependencies>
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
<dependency>
Expand Down

0 comments on commit cf7ac16

Please sign in to comment.