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
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
Post a Comment