..or execute with -PbuildWithAdditionalRepos when building the project. This profile contains the codehaus snapshots repo (for redback artifacts) and the sonatype repo (for nexus indexer artifacts) :)
Thanks, Deng On Fri, Mar 6, 2009 at 8:10 AM, James William Dumay <[email protected]>wrote: > Hey dude, > > Add this to your settings.xml: > > <repository> > <id>sonatype</id> > <url> > http://repository.sonatype.org/content/groups/forge/</url> > <snapshots> > <enabled>true</enabled> > <updatePolicy>always</updatePolicy> > <checksumPolicy>fail</checksumPolicy> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > > This should be cleared up before release. > > As for Archiva's CI system, the project actually uses > http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=64 > and > not http://opensource.bamboo.atlassian.com. > > I set the builds up on opensource.bamboo.atlassian.com as I prefer to use > Bamboo when working on Archiva at Atlassian. > > Cheers > James > > > On 06/03/2009, at 3:41 AM, Andrew Heald wrote: > > You're picking it up as a transitive dependency of nexus-indexer. >> >> On Thu, March 5, 2009 4:32 pm, Emmanuel Venisse wrote: >> >>> huh, why do we use a sonatype version??? >>> >>> On Thu, Mar 5, 2009 at 4:48 PM, Julien HENRY <[email protected]> wrote: >>> >>> >>>> Hi, >>>> >>>> I'm not able to compile Archiva from trunk. You CI server seems to also >>>> have an issue: >>>> http://opensource.bamboo.atlassian.com/browse/ARC-TRUNK >>>> >>>> Any idea? >>>> >>>> Best regards, >>>> >>>> Julien >>>> >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Failed to resolve artifact. >>>> >>>> Missing: >>>> ---------- >>>> 1) org.apache.maven:maven-plugin-api:jar:2.1-SONATYPE-653485 >>>> >>>> Try downloading the file manually from the project website. >>>> >>>> Then, install it using the command: >>>> mvn install:install-file -DgroupId=org.apache..maven >>>> -DartifactId=maven-plugin-api -Dversion=2.1-SONATYPE-653485 -D >>>> packaging=jar -Dfile=/path/to/file >>>> >>>> Alternatively, if you host your own repository you can deploy the file >>>> there: >>>> mvn deploy:deploy-file -DgroupId=org.apache.maven >>>> -DartifactId=maven-plugin-api -Dversion=2.1-SONATYPE-653485 -Dpa >>>> ckaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> >>>> Path to dependency: >>>> 1) org.apache.archiva:archiva-indexer:jar:1.2-SNAPSHOT >>>> 2) org.sonatype.nexus:nexus-indexer:jar:1.1.1 >>>> 3) org.apache.maven:maven-plugin-api:jar:2.1-SONATYPE-653485 >>>> >>>> 2) org.apache.maven.artifact:maven-artifact:jar:3.0-SONATYPE-653272 >>>> >>>> Try downloading the file manually from the project website. >>>> >>>> Then, install it using the command: >>>> mvn install:install-file -DgroupId=org.apache.maven.artifact >>>> -DartifactId=maven-artifact -Dversion=3.0-SONATYPE-65 >>>> 3272 -Dpackaging=jar -Dfile=/path/to/file >>>> >>>> Alternatively, if you host your own repository you can deploy the file >>>> there: >>>> mvn deploy:deploy-file -DgroupId=org.apache.maven.artifact >>>> -DartifactId=maven-artifact -Dversion=3.0-SONATYPE-6532 >>>> 72 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> >>>> Path to dependency: >>>> 1) org.apache.archiva:archiva-indexer:jar:1.2-SNAPSHOT >>>> 2) org.sonatype.nexus:nexus-indexer:jar:1.1.1 >>>> 3) >>>> org.apache.maven.artifact:maven-artifact:jar:3.0-SONATYPE-653272 >>>> >>>> ---------- >>>> 2 required artifacts are missing. >>>> >>>> for artifact: >>>> org.apache.archiva:archiva-indexer:jar:1.2-SNAPSHOT >>>> >>>> from the specified remote repositories: >>>> apache.snapshots >>>> (http://people.apache.org/repo/m2-snapshot-repository), >>>> central ( >>>> http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central) >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > -- Maria Odea Ching Software Engineer | Exist Global | 687-4091 | Skype: maria.odea.ching | www.exist.com | Innovation Delivered
