Link Details

Link 950987 thumbnail
User 379952 avatar

By eugenparaschiv
via baeldung.com
Published: Apr 07 2013 / 06:18

Install local jar with Maven and the maven-install-plugin
  • 10
  • 0
  • 1678
  • 1210

Comments

Add your comment
User 282815 avatar

Infernoz replied ago:

0 votes Vote down Vote up Reply

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:

User 282815 avatar

Infernoz replied ago:

0 votes Vote down Vote up Reply

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

User 282815 avatar

Infernoz replied ago:

0 votes Vote down Vote up Reply

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.

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.

Voters For This Link (9)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java