I have Nexus OSS 3.29 installed on the local network and I am able to start it (http://somehost:8081/ ) and browse it. I uploaded "commons-lang-3.1.jar" to "maven-releases" and I can see it there. I have a Maven project in Eclipse where I defined a dependency :
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>3.1</version>
</dependency>
in my "settings.xml" I have repository defined :
<profiles>
<profile>
<id>java-net-public</id>
<repositories>
<repository>
<id>java-net-public</id>
<name>Java Net Public</name>
<url>http://somehost:8081/maven-releases/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
....
</profile>
.....
</profiles>
When I build my Project ( RunAs->Maven Install with -e option ) I am getting an error :
Could not find artifact commons-lang:commons-lang:jar:3.1 in java-net-public (http://somehost:8081/maven-releases/)
I feel like I am missing some configuration settings, not sure what it is. I also tried to add repository definition to my "pom.xml" and it didn't work.