[
http://jira.codehaus.org/browse/MRM-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224362#action_224362
]
Dennis Lundberg commented on MRM-1387:
--------------------------------------
Sorry, I should have google first. The artifact can be found at a, seemingly
public, repository at Sonatype. Adding the following snippet to the root
archiva POM downloaded the artifact for me:
{code}
<repositories>
<repository>
<id>sonatype-third-party</id>
<name>Sonatype Third Party Repository</name>
<url>http://repository.sonatype.org/content/repositories/third-party</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
{code}
> Cannot build trunk of Archiva because of dependency missing in Central
> ----------------------------------------------------------------------
>
> Key: MRM-1387
> URL: http://jira.codehaus.org/browse/MRM-1387
> Project: Archiva
> Issue Type: Task
> Components: Build
> Reporter: Dennis Lundberg
>
> After installing archiva parent 6-SNAPSHOT I try to build archiva trunk. I
> get the following error message:
> {noformat}
> Downloading:
> http://********/archiva/repository/internal/com/google/code/atinject/atinject/1.0.0-rev3/atinject-1.0.0-rev3.jar
> [INFO] Unable to find resource
> 'com.google.code.atinject:atinject:jar:1.0.0-rev3' in repository internal
> (http://********/archiva/repository/internal)
> Downloading:
> http://repository.sonatype.org/content/repositories/tycho-pseudo-releases//com/google/code/atinject/atinject/1.0.0-rev3/atinject-1.0.0-rev3.jar
> [INFO] Unable to find resource
> 'com.google.code.atinject:atinject:jar:1.0.0-rev3' in repository tycho
> (http://repository.sonatype.org/content/repositories/tycho-pseudo-releases/)
> Downloading:
> http://repo1.maven.org/maven2/com/google/code/atinject/atinject/1.0.0-rev3/atinject-1.0.0-rev3.jar
> [INFO] Unable to find resource
> 'com.google.code.atinject:atinject:jar:1.0.0-rev3' in repository central
> (http://repo1.maven.org/maven2)
> .
> .
> .
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) com.google.code.atinject:atinject:jar:1.0.0-rev3
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.google.code.atinject
> -DartifactId=atinject -Dversion=1.0.0-rev3 -Dpackaging=jar -Dfile=
> /path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=com.google.code.atinject
> -DartifactId=atinject -Dversion=1.0.0-rev3 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.archiva:archiva-common:jar:1.4-SNAPSHOT
> 2) org.sonatype.nexus:nexus-indexer:jar:2.0.5
> 3) org.sonatype.plugin:plugin-host-api:jar:1.0.2
> 4) com.google.code.atinject:atinject:jar:1.0.0-rev3
> {noformat}
> It seems that this artifact is missing from central.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira