Using a internal maven2 repository settings.xml


/ Published in: Java
Save to your folder(s)

Setup artifactory application in a internal network that act as proxy. Then in your $HOME/.m2 directory, add the following file.

For deploying to repos, add this to pom.xml
...


cnx.release.repo
Connextions Repository for Maven2
http://firebird:8081/artifactory/cnx-releases


cnx.snapshots.repo
Connextions Repository for Maven2
http://firebird:8081/artifactory/cnx-snapshots


...
run: maven deploy -DrepositoryId=cnx.snapshots.repo

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.