Can you run mvn with the -X flag and see what error it gets from the repository?
Also, please ensure to remove the repository before doing this - the previous failure gets cached in maven's local repo by mistake. - Brett 2008/6/5 Danilo Tuler <[EMAIL PROTECTED]>: > > I'm trying the same aproach as the first poster. > > 1) Installed archiva 1.0.2 standalone as windows service with out of the box > configuration. > 2) Installed maven 2.0.9. > 3) Configured settings.xml with: > <mirror> > <id>archiva.default</id> > <url>http://localhost:8080/archiva/repository/internal</url> > <mirrorOf>*</mirrorOf> > </mirror> > 4) deleted my ~/.m2/repository > 5) nothings works... > > 'mvn clean' can't find maven-clean-plugin. > > Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in > repository: Unable to download the artifact from any repository > > org.apache.maven.plugins:maven-clean-plugin:pom:2.2 > > from the specified remote repositories: > archiva.default (http://localhost:8080/archiva/repository/internal) > for project org.apache.maven.plugins:maven-clean-plugin > > > But if I point my browser to > http://localhost:8080/archiva/repository/internal/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar > It works as expected. The jar is downloaded. > > What makes the browser work and maven not? > > Thanks, > Danilo > > -- > View this message in context: > http://www.nabble.com/Starting-from-scratch-tp13229503p17661366.html > Sent from the archiva-users mailing list archive at Nabble.com. > > -- Brett Porter Blog: http://blogs.exist.com/bporter/
