Maven: Installing 3rd Party JARs
This page states that one should install a file into the local repository; But another option I found more useful in a team development environment is to deploy 3rd party jars to a maven repository in the companies network via ssh/scp.
If multiple developers work on the project it is advisable to have a linux box somewhere with an ssh server installed and apache running. Just configure this
server in your settings.xml and define the deployment to use that server.
All 3rd party jars, the project website/reports and the project itself can then be deployd to that server with this:
Taken fromhere.
I truely love maven ;-)
This page states that one should install a file into the local repository; But another option I found more useful in a team development environment is to deploy 3rd party jars to a maven repository in the companies network via ssh/scp.
If multiple developers work on the project it is advisable to have a linux box somewhere with an ssh server installed and apache running. Just configure this
server in your settings.xml and define the deployment to use that server.
All 3rd party jars, the project website/reports and the project itself can then be deployd to that server with this:
mvn deploy:deploy-file -DgroupId=-DartifactId= -Dversion= -Dpackaging= -Dfile= -DrepositoryId= -Durl=
Taken fromhere.
I truely love maven ;-)
Comments