You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by David Leangen <os...@leangen.net> on 2006/09/05 11:20:40 UTC

Build problem

Hi!

Finally checking out the move from Oscar to Felix, but:



[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus
-DartifactId=plexus-archiver \
          -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

----------
1 required artifact is missing.

for artifact:

org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)



Re: Build problem

Posted by st...@insa-lyon.fr.
On Tue, Sep 05, 2006 at 06:58:09PM +0900, David Leangen wrote:
> 
> Should I report these problems here?
Yes, 
it should be corrected now --> update pom.xml

/stephane
> 
> Anyway, here's another when running build_all.sh:
> 
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> Project ID: unknown
> 
> Reason: Could not find the model file
> '/home/dleangen/libs/felix/felix/trunk/mosgi.managedelements.linuxprobes/pom.xml'.
> 
> 
> Also, the installer seems to be dependend on bundlerepository, but this
> is not mentioned in the docs.
> 
> Again, I could send in a patch or something...
> 
> 
> 
> 
> On Tue, 2006-09-05 at 18:42 +0900, David Leangen wrote:
> > Ok, problem resolved by adding:
> > 
> >     <pluginRepository>
> >       <id>codehaus</id>
> >       <name>New Codehaus repository</name>
> >       <url>http://snapshots.repository.codehaus.org/</url>
> >     </pluginRepository>
> > 
> > 
> > Should I send in a patch?
> > 
> > 
> > 
> > 
> > On Tue, 2006-09-05 at 18:29 +0900, David Leangen wrote:
> > > Found this thread started by Alex Karasulu:
> > > 
> > > http://www.mail-archive.com/users@maven.apache.org/msg50269.html
> > > 
> > > 
> > > Doesn't seem to be resolved yet, though...
> > > 
> > > 
> > > 
> > > 
> > > On Tue, 2006-09-05 at 18:20 +0900, David Leangen wrote:
> > > > Hi!
> > > > 
> > > > Finally checking out the move from Oscar to Felix, but:
> > > > 
> > > > 
> > > > 
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Failed to resolve artifact.
> > > > 
> > > > Missing:
> > > > ----------
> > > > 1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> > > > 
> > > >   Try downloading the file manually from the project website.
> > > > 
> > > >   Then, install it using the command:
> > > >       mvn install:install-file -DgroupId=org.codehaus.plexus
> > > > -DartifactId=plexus-archiver \
> > > >           -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=/path/to/file
> > > > 
> > > >   Path to dependency:
> > > >         1)
> > > > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> > > >         2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
> > > >         3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> > > > 
> > > > ----------
> > > > 1 required artifact is missing.
> > > > 
> > > > for artifact:
> > > > 
> > > > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> > > > 
> > > > from the specified remote repositories:
> > > >   central (http://repo1.maven.org/maven2),
> > > >   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
> > > > 
> > > > 
> > > 
> > 

-- 
Stephane Frenot - Associate professor | 
CITI/INRIA Ares - INSA lyon           | mailto:stephane.frenot@insa-lyon.fr
Bat. LĂ©onard de Vinci                 | http://ares.insa-lyon.fr/~sfrenot/
21 av Jean Capelle                    | ICQ:643346 (et oui !)
69621 Villeurbanne Cedex              | +33 472 436 422 / +33 617 671 714
----------------------------------------------------------------------------


Re: Build problem

Posted by David Leangen <os...@leangen.net>.
Should I report these problems here?

Anyway, here's another when running build_all.sh:

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file
'/home/dleangen/libs/felix/felix/trunk/mosgi.managedelements.linuxprobes/pom.xml'.


Also, the installer seems to be dependend on bundlerepository, but this
is not mentioned in the docs.

Again, I could send in a patch or something...




On Tue, 2006-09-05 at 18:42 +0900, David Leangen wrote:
> Ok, problem resolved by adding:
> 
>     <pluginRepository>
>       <id>codehaus</id>
>       <name>New Codehaus repository</name>
>       <url>http://snapshots.repository.codehaus.org/</url>
>     </pluginRepository>
> 
> 
> Should I send in a patch?
> 
> 
> 
> 
> On Tue, 2006-09-05 at 18:29 +0900, David Leangen wrote:
> > Found this thread started by Alex Karasulu:
> > 
> > http://www.mail-archive.com/users@maven.apache.org/msg50269.html
> > 
> > 
> > Doesn't seem to be resolved yet, though...
> > 
> > 
> > 
> > 
> > On Tue, 2006-09-05 at 18:20 +0900, David Leangen wrote:
> > > Hi!
> > > 
> > > Finally checking out the move from Oscar to Felix, but:
> > > 
> > > 
> > > 
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
> > > 
> > > Missing:
> > > ----------
> > > 1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> > > 
> > >   Try downloading the file manually from the project website.
> > > 
> > >   Then, install it using the command:
> > >       mvn install:install-file -DgroupId=org.codehaus.plexus
> > > -DartifactId=plexus-archiver \
> > >           -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
> > > -Dfile=/path/to/file
> > > 
> > >   Path to dependency:
> > >         1)
> > > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> > >         2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
> > >         3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> > > 
> > > ----------
> > > 1 required artifact is missing.
> > > 
> > > for artifact:
> > > 
> > > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> > > 
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2),
> > >   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
> > > 
> > > 
> > 
> 


Re: Build problem

Posted by David Leangen <os...@leangen.net>.
Ok, problem resolved by adding:

    <pluginRepository>
      <id>codehaus</id>
      <name>New Codehaus repository</name>
      <url>http://snapshots.repository.codehaus.org/</url>
    </pluginRepository>


Should I send in a patch?




On Tue, 2006-09-05 at 18:29 +0900, David Leangen wrote:
> Found this thread started by Alex Karasulu:
> 
> http://www.mail-archive.com/users@maven.apache.org/msg50269.html
> 
> 
> Doesn't seem to be resolved yet, though...
> 
> 
> 
> 
> On Tue, 2006-09-05 at 18:20 +0900, David Leangen wrote:
> > Hi!
> > 
> > Finally checking out the move from Oscar to Felix, but:
> > 
> > 
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> > 
> > Missing:
> > ----------
> > 1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> > 
> >   Try downloading the file manually from the project website.
> > 
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.codehaus.plexus
> > -DartifactId=plexus-archiver \
> >           -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> > 
> >   Path to dependency:
> >         1)
> > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> >         2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
> >         3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> > 
> > ----------
> > 1 required artifact is missing.
> > 
> > for artifact:
> > 
> > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> > 
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
> > 
> > 
> 


Re: Build problem

Posted by David Leangen <os...@leangen.net>.
Found this thread started by Alex Karasulu:

http://www.mail-archive.com/users@maven.apache.org/msg50269.html


Doesn't seem to be resolved yet, though...




On Tue, 2006-09-05 at 18:20 +0900, David Leangen wrote:
> Hi!
> 
> Finally checking out the move from Oscar to Felix, but:
> 
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.codehaus.plexus
> -DartifactId=plexus-archiver \
>           -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Path to dependency:
>         1)
> org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
>         2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
>         3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
> 
> org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
> 
> 


Re: Build problem

Posted by David Leangen <os...@leangen.net>.
Thanks.

According to a post I read, codehaus just very recently changed their
repo structure. Probably, you already had that dep in your local cache,
so didn't need to download it.

For anybody who doesn't have it in their cache already, I suspect
they'll see the same problem I had.


Cheers,
Dave



On Tue, 2006-09-05 at 18:02 +0800, Niclas Hedhman wrote:
> On Tuesday 05 September 2006 17:20, David Leangen wrote:
> 
> > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-
> >6 2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
> >         3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> 
> I just built the system, and didn't get this problem. And in fact;
> 
> niclas@f3:~/dev/ops4j/projects$ ls 
> ~/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.1-20060826.162339-6/
> maven-jar-plugin-2.1-20060826.162339-6.jar  
> maven-jar-plugin-2.1-20060826.162339-6.jar.sha1
> 
> 
> I know this doesn't help when things don't work, but...
> 
> 
> Cheers
> Niclas


Re: Build problem

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 05 September 2006 17:20, David Leangen wrote:

> org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-
>6 2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
>         3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
>
> ----------
> 1 required artifact is missing.

I just built the system, and didn't get this problem. And in fact;

niclas@f3:~/dev/ops4j/projects$ ls 
~/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.1-20060826.162339-6/
maven-jar-plugin-2.1-20060826.162339-6.jar  
maven-jar-plugin-2.1-20060826.162339-6.jar.sha1


I know this doesn't help when things don't work, but...


Cheers
Niclas