How to install default jar file with maven-jar-plugin -
given project <packaging>something-not-jar</packaging>, how one:
- tell maven-jar-plugin produce "normal" jar file , tell maven-install-plugin take normal jar file and
- install local repository (in addition something-not-jar artifact produced)
if tell jar plugin produce test-jar, , install plugin installs xxx-0.0.1-snapshot-tests.jar local repo. "jar" goal apparently not cause resulting jar file installed in local repo, though jar file created in target folder.
so how do this?
you should following:
mvn install
Comments
Post a Comment