Skip to content

Commit

Permalink
Make JAR executable
Browse files Browse the repository at this point in the history
  • Loading branch information
MobSlicer152 committed Jan 22, 2024
1 parent 8ea516e commit 9f77487
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>dev.randomcode.calculator.Calculator</mainClass>
</manifest>
</archive>
</configuration>
</plugin>

<!-- Other plugins as needed -->
</plugins>
</build>
Expand Down

0 comments on commit 9f77487

Please sign in to comment.