You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Roland Klein <ro...@mtg-marinetechnik.de> on 2008/04/08 17:59:11 UTC

Unable to build archiva trunk

Hi,

just tried to build archiva 1.0.2-SNAPSHOT and getting following error:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] Building Archiva Base :: Common
[INFO]    task-segment: [compile]
[INFO] 
------------------------------------------------------------------------
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-plugins/2-SNAPSHOT/maven-plugins-2-SNAPSHOT.pom
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1

Reason: Cannot find parent: org.apache.maven.plugins:maven-plugins for 
project: null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1 
for project null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

saying the artifact for maven-plugins:2-SNAPSHOT ist not available, so 
far so good. But if You have a clooser look this artifact is referenced 
by maven-resources-plugin:2.3-20060725.131549-1, mmmhhh build date 2006xxx.
Ok, lets have a look in 
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-resources-plugin/2.3-SNAPSHOT/
and voila there is a newer version, but it isn't referenced from the 
maven-metadata.xml file. And maven gets this very old snapshot version 
referencing maven-plugins:2-SNAPSHOT.

Could someone correct this metadata, please?

Roland


Re: Unable to build archiva trunk

Posted by Roland Klein <ro...@mtg-marinetechnik.de>.
after i fxed the version in plugin-registry.xml all works now. thanks

-- 
View this message in context: http://www.nabble.com/Unable-to-build-archiva-trunk-tp16578624p16580682.html
Sent from the archiva-users mailing list archive at Nabble.com.


Re: Unable to build archiva trunk

Posted by Brett Porter <br...@gmail.com>.
fixed

On 09/04/2008, Roland Klein <ro...@mtg-marinetechnik.de> wrote:
> Hi,
>
>  just tried to build archiva 1.0.2-SNAPSHOT and getting following error:
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  [INFO] Building Archiva Base :: Common
>  [INFO]    task-segment: [compile]
>  [INFO]
> ------------------------------------------------------------------------
>  Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-plugins/2-SNAPSHOT/maven-plugins-2-SNAPSHOT.pom
>  [INFO]
> ------------------------------------------------------------------------
>  [ERROR] BUILD ERROR
>  [INFO]
> ------------------------------------------------------------------------
>  [INFO] Error building POM (may not be this project's POM).
>
>
>  Project ID:
> null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1
>
>  Reason: Cannot find parent:
> org.apache.maven.plugins:maven-plugins for project:
> null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1
> for project
> null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>  saying the artifact for maven-plugins:2-SNAPSHOT ist not available, so far
> so good. But if You have a clooser look this artifact is referenced by
> maven-resources-plugin:2.3-20060725.131549-1, mmmhhh build
> date 2006xxx.
>  Ok, lets have a look in
> http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-resources-plugin/2.3-SNAPSHOT/
>  and voila there is a newer version, but it isn't referenced from the
> maven-metadata.xml file. And maven gets this very old snapshot version
> referencing maven-plugins:2-SNAPSHOT.
>
>  Could someone correct this metadata, please?
>
>  Roland
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/