Add Jars to Local Maven repository

The mvn install:install file  command can be used to add a  jar to the local repo.
However you can use the .java class in my prev post to generate the install script just be changing the
directory path.
mvn install:install-file


-Dfile=path-to-file

-DgroupId=group-id

-DartifactId=artifact-id

-Dversion=version

-Dpackaging=packaging--can begievn as .jar

-DgeneratePom=true


Here is the sample install scripts

Comments

Popular posts from this blog

defining functions clojure

How to retain the space of the td after hidding it in Jquery

Integrating Struts2 with Spring Security using Custom Login Form