You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by J T Hsiao <ej...@gmail.com> on 2006/08/29 22:22:51 UTC

Build failure

Hey,

I was trying to build Tuscany project from java\sca directory but got the
following errors.  Not sure why it needs the plexus SNAPSHOT.  BTW, this
directory does not exist on apache m2 repo.  Can someone shed some lights on
this?

Regards,
Eric

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
pom
[WARNING] Unable to get resource from repository apache-snapshot-repository
(htt
p://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
pom
[WARNING] Unable to get resource from repository apache.snapshots (
http://people
.apache.org/repo/m2-snapshot-repository)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
jar
[WARNING] Unable to get resource from repository apache-snapshot-repository
(htt
p://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
jar
[WARNING] Unable to get resource from repository apache.snapshots (
http://people
.apache.org/repo/m2-snapshot-repository)
[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.1
62339-6
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

Re: Build failure

Posted by J T Hsiao <ej...@gmail.com>.
Hi, Jeremy,

Thanks, that fixed the problem.  The pom that was building when the error
occurred is java\sca\pom.xml.  After this I was getting some test failures
while building core; see attached.  Not sure if the tests need to be changed
or...

Eric


On 8/29/06, Jeremy Boynes <jb...@apache.org> wrote:
>
> IIRC plexus-archiver is hosted at codehaus so you need to add
>          <pluginRepository>
>              <id>codehaus-snapshot</id>
>              <name>Codehaus Snapshot Repository</name>
>              <url>http://snapshots.repository.codehaus.org</url>
>              <snapshots>
>                  <enabled>true</enabled>
>              </snapshots>
>          </pluginRepository>
>
> to the <pluginRepositories> section of the pom.
>
> I thought this was only used by the assembly plugin but I guess not -
> can you say which pom was building when it broke?
> Thanks
> --
> Jeremy
>
> On Aug 29, 2006, at 1:22 PM, J T Hsiao wrote:
>
> > Hey,
> >
> > I was trying to build Tuscany project from java\sca directory but
> > got the
> > following errors.  Not sure why it needs the plexus SNAPSHOT.  BTW,
> > this
> > directory does not exist on apache m2 repo.  Can someone shed some
> > lights on
> > this?
> >
> > Regards,
> > Eric
> >
> > ----------------------------------------------------------------------
> > ----------------------------------------------------------------------
> > ----------------------------------------------------------------------
> > ------------
> >
> > Downloading:
> > http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> > lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> > archiver-1.0-alpha-7-SNAPSHOT.
> > pom
> > [WARNING] Unable to get resource from repository apache-snapshot-
> > repository
> > (htt
> > p://people.apache.org/repo/m2-snapshot-repository)
> > Downloading:
> > http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> > lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> > archiver-1.0-alpha-7-SNAPSHOT.
> > pom
> > [WARNING] Unable to get resource from repository apache.snapshots (
> > http://people
> > .apache.org/repo/m2-snapshot-repository)
> > Downloading:
> > http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> > lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> > archiver-1.0-alpha-7-SNAPSHOT.
> > jar
> > [WARNING] Unable to get resource from repository apache-snapshot-
> > repository
> > (htt
> > p://people.apache.org/repo/m2-snapshot-repository)
> > Downloading:
> > http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> > lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> > archiver-1.0-alpha-7-SNAPSHOT.
> > jar
> > [WARNING] Unable to get resource from repository apache.snapshots (
> > http://people
> > .apache.org/repo/m2-snapshot-repository)
> > [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.1
> > 62339-6
> >        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
> >        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: Build failure

Posted by Jeremy Boynes <jb...@apache.org>.
IIRC plexus-archiver is hosted at codehaus so you need to add
         <pluginRepository>
             <id>codehaus-snapshot</id>
             <name>Codehaus Snapshot Repository</name>
             <url>http://snapshots.repository.codehaus.org</url>
             <snapshots>
                 <enabled>true</enabled>
             </snapshots>
         </pluginRepository>

to the <pluginRepositories> section of the pom.

I thought this was only used by the assembly plugin but I guess not -  
can you say which pom was building when it broke?
Thanks
--
Jeremy

On Aug 29, 2006, at 1:22 PM, J T Hsiao wrote:

> Hey,
>
> I was trying to build Tuscany project from java\sca directory but  
> got the
> following errors.  Not sure why it needs the plexus SNAPSHOT.  BTW,  
> this
> directory does not exist on apache m2 repo.  Can someone shed some  
> lights on
> this?
>
> Regards,
> Eric
>
> ---------------------------------------------------------------------- 
> ---------------------------------------------------------------------- 
> ---------------------------------------------------------------------- 
> ------------
>
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> archiver-1.0-alpha-7-SNAPSHOT.
> pom
> [WARNING] Unable to get resource from repository apache-snapshot- 
> repository
> (htt
> p://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> archiver-1.0-alpha-7-SNAPSHOT.
> pom
> [WARNING] Unable to get resource from repository apache.snapshots (
> http://people
> .apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> archiver-1.0-alpha-7-SNAPSHOT.
> jar
> [WARNING] Unable to get resource from repository apache-snapshot- 
> repository
> (htt
> p://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
> lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
> archiver-1.0-alpha-7-SNAPSHOT.
> jar
> [WARNING] Unable to get resource from repository apache.snapshots (
> http://people
> .apache.org/repo/m2-snapshot-repository)
> [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.1
> 62339-6
>        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
>        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org