Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Unable to run #47

Open
evandrix opened this issue Dec 12, 2018 · 0 comments
Open

Unable to run #47

evandrix opened this issue Dec 12, 2018 · 0 comments

Comments

@evandrix
Copy link

evandrix commented Dec 12, 2018

Trying to run the mvn package-produced .jar fails, without dep:unrar

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant