archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Compilation error on Archiva trunk
Date Fri, 06 Mar 2009 00:32:29 GMT
There is a profile in the main POM to enable the additional repo. I  
think maybe we need to add this by default, only within the indexer POM.

We thought the indexer was going to be released with a version that  
uses the released Maven libraries, but it hasn't turned out that way.

Do they distribute a shaded JAR that doesn't require these?

- Brett

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 <henryju@yahoo.fr>  
>> 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)
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Mime
View raw message