Link Details

Install local jar with Maven and the maven-install-plugin

Posted by eugenparaschiv  |   Apr 07 2013 / 06:18

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 282815 avatar

Infernoz replied ago:

I looked at the install plugin and saw that it is rubbish, so made a separate project with the pom below and the jar to be installed in the same directory as the pom, so that the project pom /is/ the jar pom; putting source code etc. in would not be that hard either:

Reply 0 votes
User 282815 avatar

Infernoz replied ago:

Hmm, stupid think lost my pom text, I try again:

Reply 0 votes
User 282815 avatar

Infernoz replied ago:

Hmm, stupid comment server! Just make use of the com.github.goldin:copy-maven-plugin 0.2.5 plugin during the package phase to copy all content to be installed.

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone