How to install default jar file with maven-jar-plugin -


given project <packaging>something-not-jar</packaging>, how one:

  1. tell maven-jar-plugin produce "normal" jar file , tell maven-install-plugin take normal jar file and
  2. 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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -