maven 2 - Need Help in downloading repositories from different nexus sources -
i newbie nexus , maven , trying illustration have download 3 different repositories 3 different sources , source 1. maven repository i.e. maven's website. 2. local nexus installed , running on local machine, 3. private source of nexus 3rd party jars downloaded private nexus deployed @ other server.
please help me or give me direction can this. know little bit modifications of setting.xml , pom.xml. able download repository local nexus configuring settings.xml , pom.xml.
regards, yash.
i got reply question, can done adding different nexus repository in pom.xml of maven repository in repositories tag, e.g.
<repository> <id>repositryid</id> <name>repositoryname</name> <url>http://nexusserverrepositoryhost1:port/nexus/content/repositories/thirdparty/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>repositryid</id> <name>repositoryname</name> <url>http://nexusserverrepositoryhost2:port/nexus/content/repositories/thirdparty/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> maven-2 nexus
No comments:
Post a Comment