Open evandrix opened 5 years ago
Trying to run the mvn package-produced .jar fails, without dep:unrar
mvn package
Static compile Add to /testutil/pom.xml:
<plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>com.github.junrar.testutil.JUnRarTestUtil</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin>
compile: $ mvn clean compile assembly:single run: $ java -jar target/junrar-testutil-0.1-jar-with-dependencies.jar
mvn clean compile assembly:single
java -jar target/junrar-testutil-0.1-jar-with-dependencies.jar
Trying to run the
mvn package
-produced .jar fails, without dep:unrarStatic compile Add to /testutil/pom.xml:
compile: $
mvn clean compile assembly:single
run: $java -jar target/junrar-testutil-0.1-jar-with-dependencies.jar