Skip to content

Commit

Permalink
ADDED - jar plugin for maven
Browse files Browse the repository at this point in the history
EDIT - README
  • Loading branch information
Ken5998 committed Aug 1, 2021
1 parent b606a6a commit 7bfd4d8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# VectorFieldScreensaver
![screenshot](https://res.cloudinary.com/kasumovic-ch/image/upload/v1627825621/VectorFieldGit/2KczrOpcF0_fgz9cq.png)
![screenshot](https://res.cloudinary.com/kasumovic-ch/image/upload/v1627825288/VectorFieldGit/EbaW9DJDdF_mht4oh.png)
![screenshot](https://res.cloudinary.com/kasumovic-ch/image/upload/v1627825288/VectorFieldGit/YEwBvFbJWX_gq6m1c.png)
![screenshot](https://res.cloudinary.com/kasumovic-ch/image/upload/v1627825288/VectorFieldGit/rT2YUcGTAZ_wa1wij.png)
Expand Down
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,25 @@
</dependency>

</dependencies>

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

</project>

0 comments on commit 7bfd4d8

Please sign in to comment.