archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davis Ford <davisf...@zenoconsulting.biz>
Subject snapshot plugins not found
Date Tue, 14 Apr 2009 13:36:42 GMT
Hi I just setup Archiva.  I defined the remote repository

http://repository.sonatype.org/content/groups/public

...and I setup a proxy connector with snapshots=always to this repo.

My project has a dependency on

<plugin>
      <groupId>org.sonatype.flexmojos</groupId>
      <artifactId>flexmojos-maven-plugin</artifactId>
      <version>3.2-SNAPSHOT</version>
    </plugin>

If I do a search in the archiva webapp, it finds this artifact, and
says it exists in the Public Snapshots for archiva.

I configured my settings.xml as follows below, but when I run mvn
commands on my projects, mvn cannot find flexmojos-maven-plugin:

Downloading: http://kafka:8080/archiva/repository/internal/org/sonatype/flexmojos/flexmojos-maven-plugin/3.2-SNAPSHOT/flexmojos-maven-plugin-3.2-20090403.030633-2.jar
[INFO] Unable to find resource
'org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.2-SNAPSHOT'
in repository snapshots
(http://kafka:8080/archiva/repository/snapshots/)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is
correct: Unable to download the artifact from any repository

What am I doing wrong?

Thanks in advance,
Davis

<settings>
       <proxies>
       </proxies>
       <servers>
       </servers>
       <mirrors>
               <mirror>
                       <id>archiva-internal</id>
                       <mirrorOf>*</mirrorOf>
                       <url>http://kafka:8080/archiva/repository/internal</url>
               </mirror>
               <mirror>
                       <id>archiva-snapshots</id>
                       <mirrorOf>*</mirrorOf>
                       <url>http://kafka:8080/archiva/repository/snapshots</url>
               </mirror>
       </mirrors>
       <profiles>
               <profile>
                       <id>archiva</id>

<activation><activeByDefault>true</activeByDefault></activation>
                       <repositories>
                               <repository>
      			       		<id>snapshots</id>
      					<name>Archiva Managed Snapshot Repository</name>
      					<url>http://kafka:8080/archiva/repository/snapshots/</url>
      					<releases>
        					<enabled>false</enabled>
      					</releases>
      					<snapshots>
        					<enabled>true</enabled>
      					</snapshots>
    				</repository>
				<repository>
      					<id>internal</id>
      					<name>Archiva Managed Internal Repository</name>
      					<url>http://kafka:8080/archiva/repository/internal/</url>
      					<releases>
        					<enabled>true</enabled>
      					</releases>
      					<snapshots>
        					<enabled>false</enabled>
      					</snapshots>
    				</repository>
                       </repositories>
                       <pluginRepositories>
                               <pluginRepository>
      			       		<id>snapshots</id>
      					<name>Archiva Managed Snapshot Repository</name>
      					<url>http://kafka:8080/archiva/repository/snapshots/</url>
      					<releases>
        					<enabled>false</enabled>
      					</releases>
      					<snapshots>
        					<enabled>true</enabled>
      					</snapshots>
    				</pluginRepository>
				<pluginRepository>
      					<id>internal</id>
      					<name>Archiva Managed Internal Repository</name>
      					<url>http://kafka:8080/archiva/repository/internal/</url>
      					<releases>
        					<enabled>true</enabled>
      					</releases>
      					<snapshots>
        					<enabled>false</enabled>
      					</snapshots>
    				</pluginRepository>
                       </pluginRepositories>
               </profile>
       </profiles>
</settings>

-- 
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977

Mime
View raw message