Browse Source

add jar file configuration to pom.xml

feature-add-storage-class
binsky 3 years ago
parent
commit
5182612b76
  1. 20
      pom.xml

20
pom.xml

@ -55,24 +55,22 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version> <!-- Specific due to memory leak in 2.20 -->
<artifactId>maven-jar-plugin</artifactId>
<dependencies>
<!--Custom provider and engine for Junit 5 to surefire -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.0</version>
</dependency>
</dependencies>
<!-- <configuration>
<argLine>${argLine}</argLine>
</configuration> -->
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>PasswordManager</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
Loading…
Cancel
Save