You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefan Oestreicher <st...@netdoktor.at> on 2008/06/30 16:28:58 UTC

maven fails to find snapshot artifact

Hi,

I just installed Archiva and added the people.apache.org snapshot repository
through a proxy connector to my internal snapshot repository. This is
working perfectly, if I try to download an artifact that's hosted on
people.apache.org it's successfully cached by archiva.
Maven however complains that it can't find the artifacts. I don't quite
understand why this fails since I can download the artifacts manually. So I
guess it needs to have something to do with my maven settings, but I just
can't figure out what's wrong with them:

<repository>
    <id>myReleases</id>
    <name>My Releases</name>
    <url>http://archiva/repository/internal</url>
	 <releases>
		<enabled>true</enabled>
	</releases>
	<snapshots>
	    <enabled>false</enabled>
	</snapshots>
</repository>

<repository>
    <id>mySnaphots</id>
    <name>My Snapshots</name>
    <url>http://archiva/repository/snaphots</url>
    <releases>
		<enabled>false</enabled>
	</releases>
	<snapshots>
	    <enabled>true</enabled>
	    <updatePolicy>always</updatePolicy>
	</snapshots>
</repository>

My Maven version is 2.0.9, running on WindowsXP with Java 1.6.0_06

What am I missing?

TIA,
 
Stefan Oestreicher


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org