Hi Vinay,

To install your own non-maven project or third party proprietary libraries,
you might want to consider the install plugin.
It will install the jar in your local maven repository and create a POM for
it, so your projects can depend on them and won't try to download them from
a public repository..

For each jar you want to depend on in maven projects, execute this snippet:

mvn install:install-file
     -DgroupId=<your_group_name>
     -DartifactId=<*your_artifact_name*>
     -Dversion=<SNAPSHOT>
     -Dfile=<*path_to_your_far*>
     -Dpackaging=jar
     -DgeneratePom=true


Regards,
Jo

Reply via email to