I have currently maven, jenkins, Nexus and git integrated and I'm kind of learning these tools.
My requirement is to tell maven to download my dependencies only from the repositories which I have mentioned in my pom.xml and not from my Nexus repository but its doing the opposite.
I have declared my Nexus releases and snapshots repositories under repository in my settings.xml. How do I tell maven to download my dependencies from specific repository and not from my Nexus repo.
Below is my pom.xml snippet
<repositories>
<repository>
<id>faq</id>
<url>https://mycheck.github.com/faq/port/hist</url>
</repository>
<repository>
<id>dig</id>
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.org</groupId>
<artifactId>faq</artifactId>
<version>${faq.version}</version>
</dependency>
<dependency>
<groupId>com.net.myorg</groupId>
<artifactId>retina</artifactId>
<version>${retina-support.version}</version>
</dependency>
........
......
</dependencies>