You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Paul Tomsic <pt...@yahoo.com> on 2006/05/16 03:47:16 UTC

build failure - doxia-site-renderer followup #369?

Thanks for the fix Jean-Sebastien, but i'm now getting
a different error
"Project ID: null:doxia-site-renderer:jar:1.0-alpha-8
Cannot find parent: org.apache.maven.doxia:doxia for
project: null: doxia-site-renderer:jar:1.0-alpha-8"

Here's the whole output for clarity...
thoughts?


[ptomsic] java > pwd   
/Users/tomsicp/projects/tuscany/java
[ptomsic] java > uname -a
Darwin ptomsic.local 8.6.0 Darwin Kernel Version
8.6.0: Tue Mar  7 16:58:48 PST 2006;
root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh
powerpc
[ptomsic] java > java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed
mode, sharing)
[ptomsic] java > mvn -v
Maven version: 2.0.4
[ptomsic] java > mvn
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   OSOA Specification API jars
[INFO]   SDO API
[INFO]   SCA API
[INFO]   Tuscany Project
[INFO]   Tuscany SDO Implementation Project
[INFO]   Tuscany SDO Implementation
[INFO]   Tuscany SDO Tools
[INFO]   Tuscany SDO Maven Plugin
[INFO]   Tuscany DAS
[INFO]   Tuscany DAS for Relational Databases
[INFO]   Tuscany SCA Implementation Project
[INFO]   Tuscany Common
[INFO]   Tuscany Assembly Model
[INFO]   Tuscany Core
[INFO]   Tuscany SCA Bindings
[INFO]   Project to install the Sun jars
[INFO]   Tuscany SCA Data Bindings
[INFO]   Tuscany Data Binding based on SDO
[INFO]   Tuscany SCA Containers
[INFO]   Tuscany Java IoC Container
[INFO]   Tuscany Axis2 Binding
[INFO]   Tuscany Apache Tomcat Integration
[INFO]   Tuscany JSON-RPC Binding
[INFO]   Tuscany Celtix Binding
[INFO]   Tuscany Rhino JavaScript Container
[INFO]   Tuscany SCA Tools
[INFO]   Tuscany SCA Maven Plugins
[INFO]   Tuscany SCA - Maven Plugin for WSDL2Java
[INFO]   Tuscany SCA - Maven Plugin for Java2WSDL
[INFO]   Tuscany Samples
[INFO]   Tuscany DAS Samples
[INFO]   Tuscany DAS Company Sample
[INFO]   Tuscany SCA Samples
[INFO]   Tuscany HelloWorld Sample
[INFO]   Tuscany HelloWorld Web Application Sample
[INFO]   Tuscany Calculator Sample
[INFO]   Tuscany Customer Info Sample
[INFO]   Tuscany HelloWorld Web Service Sample
[INFO]   Tuscany HelloWorld Celtix Web Service Sample
[INFO]   Tuscany HelloWorld Web Service Client Sample
[INFO]   Tuscany Supply Chain Sample
[INFO]   Tuscany HelloWorld JSON-RPC Sample
[INFO]   Tuscany SCA JMS Samples
[INFO]   Tuscany HelloWorld Celtix JMS Client Sample
[INFO]   Tuscany HelloWorld Celtix JMS Service Sample
[INFO]   Tuscany HelloWorld JavaScript/E4X Web Service
Sample
[INFO]   Tuscany HelloWorld JSON-RPC WS Client Sample
[INFO]   Tuscany Scenario Samples
[INFO]   Tuscany BigBank Scenario Sample
[INFO]   Tuscany BigBank Account Module
[INFO]   Tuscany BigBank Web Client Module
[INFO]
----------------------------------------------------------------------------
[INFO] Building OSOA Specification API jars
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's
POM).


Project ID: null:doxia-site-renderer:jar:1.0-alpha-8

Reason: Cannot find parent:
org.apache.maven.doxia:doxia for project:
null:doxia-site-renderer:jar:1.0-alpha-8


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e
switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Mon May 15 20:43:49 CDT 2006
[INFO] Final Memory: 4M/9M
[INFO]
------------------------------------------------------------------------
[ptomsic] java > 


--- Jean-Sebastien Delfino <js...@apache.org>
wrote:

> Paul Tomsic wrote:
> > i've just grabbed tuscany from svn and i'm now
> > receiving a build failure when i do the following.
> > thoughts/help appreciated.
> > thx
> >
> >
> > [ptomsic] java > pwd
> > /Users/tomsicp/projects/tuscany/java
> > [ptomsic] java > uname -a
> > Darwin ptomsic.local 8.6.0 Darwin Kernel Version
> > 8.6.0: Tue Mar  7 16:58:48 PST 2006;
> > root:xnu-792.6.70.obj~1/RELEASE_PPC Power
> Macintosh
> > powerpc
> > [ptomsic] java > mvn -version
> > Maven version: 2.0.4
> > [ptomsic] java > mvn
> > [INFO] Scanning for projects...
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.tuscany.samples.das
> > ArtifactId: das-samples
> > Version: SNAPSHOT
> >
> > Reason: Unable to download the artifact from any
> > repository
> >
> >  
> >
>
org.apache.tuscany.samples.das:das-samples:pom:SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> >
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException:
> > Cannot find parent:
> > org.apache.tuscany.samples.das:das-samples for
> > project: null:sample-companyweb:war:SNAPSHOT
> >         at
> >
>
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> >         at
> >
>
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
> >         at
> >
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >
> >
> >   
> Paul,
> 
> Thanks for reporting this build failure. I created
> JIRA issue 
> http://issues.apache.org/jira/browse/TUSCANY-369 to
> help you track its 
> resolution. The problem is that samples have been
> moving around and we 
> didn't detect the build break because we had the old
> cached samples in 
> our local Maven repos.
> 
> Committers, to avoid this kind of break in the
> future, after moving 
> projects around you should do a top Maven build
> after having deleted 
> your ~/.m2/repository/org/apache/tuscany directory,
> to avoid picking up 
> old artifacts, and ensure that the build is
> successful for somebody 
> starting from scratch with a fresh local Maven
> repos. Thanks.
> 
> I was able to reproduce the problem and will commit
> a fix in a few 
> minutes. Thanks again for reporting this...
> 
> -- 
> Jean-Sebastien
> 
> 


Re: build failure - doxia-site-renderer followup #369?

Posted by Daniel Kulp <da...@iona.com>.
Edward,

The codehaus distribution server had a hard drive failure.   They are 
trying to recover, but it may be a few days.   For now, add to 
your .m2/settings.xml file a mirror that points at ibiblio.   Almost 
everything on the codehaus server is on ibiblio so this should work:
<settings>
<mirrors>
<mirror>
   <id>codehaus-mirror</id>
   <name>Local proxy of http://repo1.maven.org/maven2/</name>
   <url>http://repo1.maven.org/maven2/</url>
   <mirrorOf>codehaus</mirrorOf>
</mirror>
</mirrors>
</settings>


Enjoy!
Dan



On Tuesday 16 May 2006 08:43, Edward Slattery wrote:
> I am also trying the RC1 build, and getting the same problem as paul:
>
> 1K downloaded
> Downloading:
> http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/doxia
>/1.0-alpha-8/doxia-1.0-alpha-8.pom [INFO]
> -----------------------------------------------------------------------
>- [ERROR] BUILD ERROR
> [INFO]
> -----------------------------------------------------------------------
>- [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:doxia-site-renderer:jar:1.0-alpha-8
>
> Reason: Cannot find parent: org.apache.maven.doxia:doxia for project:
> null:doxia-site-renderer:jar:1.0-alpha-8
> I am not quite clear as to how my maven2 is looking at codehaus at all
> - its not in my settings.xml, I only have ibiblio:
>
> <mirror>
>
> <id>mirrors.ibiblio.org</id>
>
> <name>Mirror of http://repo1.maven.org/maven2/</name>
>
> <url>http://www.ibiblio.org/maven2/</url>
>
> <mirrorOf>central</mirrorOf>
>
> </mirror>
>
> Anyone any clues?
>
> On 16/05/06, Andrew Borley <aj...@gmail.com> wrote:
> > Hi,
> > I'm doing some building/testing on the M1-RC1 src release. When I run
> > maven
> > I get the following build error. I then found the missing jars had
> > been downloaded into the
> >
> > tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\
> >celtix\lib directory and manually added them via the comands below
> > makes it all work again. Is this a side effect of the problems with
> > the codehaus.org server, another maven timeout thing or should this
> > be a new JIRA?
> >
> > Cheers
> >
> > Andrew
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> > ---------------------------------------------------------------------
> >--- [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >      mvn install:install-file -DgroupId=javax.jws
> > -DartifactId=jsr181-api \
> >          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> > Path to dependency:
> >        1)
> > org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating
> >-M1 2) org.objectweb.celtix:celtix-rt:jar:1.0
> >        3) org.objectweb.celtix:celtix-tools:jar:1.0
> >        4) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3
> >
> > 2) javax.xml:saaj-api:jar:1.3
> >
> > Try downloading the file manually from:
> >
> >
> > https://jax-ws.dev.java.net/files/documents/4202/24765/JAXWS_SI_20051
> >128.jar
> >
> > Then, install it using the command:
> >      mvn install:install-file -DgroupId=javax.xml
> > -DartifactId=saaj-api \ -Dversion=1.3 -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> > Path to dependency:
> >        1)
> > org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating
> >-M1 2) org.objectweb.celtix:celtix-rt:jar:1.0
> >        3) org.objectweb.celtix:celtix-tools:jar:1.0
> >        4) javax.xml:saaj-api:jar:1.3
> >
> > 3) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >      mvn install:install-file -DgroupId=javax.xml
> > -DartifactId=jaxws-api \ -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> > Path to dependency:
> >        1)
> > org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating
> >-M1 2) org.objectweb.celtix:celtix-rt:jar:1.0
> >        3) org.objectweb.celtix:celtix-tools:jar:1.0
> >        4) org.objectweb.celtix:celtix-common:jar:1.0
> >        5) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3
> >
> > 4) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >      mvn install:install-file
> > -DgroupId=javax.annotation-DartifactId=jsr250-api \
> >          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> > Path to dependency:
> >        1)
> > org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating
> >-M1 2) org.objectweb.celtix:celtix-rt:jar:1.0
> >        3) org.objectweb.celtix:celtix-tools:jar:1.0
> >        4) org.objectweb.celtix:celtix-common:jar:1.0
> >        5) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3
> >
> > ----------
> > 4 required artifacts are missing.
> >
> > for artifact:
> > org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating
> >-M1
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2),
> > objectweb (http://maven.objectweb.org/maven2),
> > ibiblio (http://www.ibiblio.org/maven2)

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
daniel.kulp@iona.com

Re: build failure - doxia-site-renderer followup #369?

Posted by Venkata Krishnan <fo...@gmail.com>.
Hi,

I pulled down the revision  406865 from SVN and tried a build.  I did have
problems with doxia and org.mortbay.jetty which I resolved in the way you
have mentioned.  But then am stuck with the following when the module
"Tuscany BigBank Web Client Module" is being built.  Any clues?

[INFO]
------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
---
[INFO] No Java test frameworks found
[INFO]
------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
---
[INFO] Total time: 39 seconds
[INFO] Finished at: Tue May 16 18:32:04 IST 2006
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------




On 5/16/06, Andrew Borley <aj...@gmail.com> wrote:
>
> Hi,
> I'm doing some building/testing on the M1-RC1 src release. When I run
> maven
> I get the following build error. I then found the missing jars had been
> downloaded into the
>
> tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> directory and manually added them via the comands below makes it all work
> again. Is this a side effect of the problems with the codehaus.org server,
> another maven timeout thing or should this be a new JIRA?
>
> Cheers
>
> Andrew
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=javax.jws -DartifactId=jsr181-api
> \
>           -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>         2) org.objectweb.celtix:celtix-rt:jar:1.0
>         3) org.objectweb.celtix:celtix-tools:jar:1.0
>         4) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3
>
> 2) javax.xml:saaj-api:jar:1.3
>
>   Try downloading the file manually from:
>
>
> https://jax-ws.dev.java.net/files/documents/4202/24765/JAXWS_SI_20051128.jar
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=javax.xml -DartifactId=saaj-api \
>           -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>         2) org.objectweb.celtix:celtix-rt:jar:1.0
>         3) org.objectweb.celtix:celtix-tools:jar:1.0
>         4) javax.xml:saaj-api:jar:1.3
>
> 3) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxws-api
> \
>           -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>         2) org.objectweb.celtix:celtix-rt:jar:1.0
>         3) org.objectweb.celtix:celtix-tools:jar:1.0
>         4) org.objectweb.celtix:celtix-common:jar:1.0
>         5) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3
>
> 4) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file
> -DgroupId=javax.annotation-DartifactId=jsr250-api \
>           -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>         2) org.objectweb.celtix:celtix-rt:jar:1.0
>         3) org.objectweb.celtix:celtix-tools:jar:1.0
>         4) org.objectweb.celtix:celtix-common:jar:1.0
>         5) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3
>
> ----------
> 4 required artifacts are missing.
>
> for artifact:
>   org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   objectweb (http://maven.objectweb.org/maven2),
>   ibiblio (http://www.ibiblio.org/maven2)
>
>

Re: build failure - doxia-site-renderer followup #369?

Posted by Edward Slattery <ed...@googlemail.com>.
I am also trying the RC1 build, and getting the same problem as paul:

1K downloaded
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:doxia-site-renderer:jar:1.0-alpha-8

Reason: Cannot find parent: org.apache.maven.doxia:doxia for project:
null:doxia-site-renderer:jar:1.0-alpha-8
I am not quite clear as to how my maven2 is looking at codehaus at all - its
not in my settings.xml, I only have ibiblio:

<mirror>

<id>mirrors.ibiblio.org</id>

<name>Mirror of http://repo1.maven.org/maven2/</name>

<url>http://www.ibiblio.org/maven2/</url>

<mirrorOf>central</mirrorOf>

</mirror>

Anyone any clues?







On 16/05/06, Andrew Borley <aj...@gmail.com> wrote:
>
> Hi,
> I'm doing some building/testing on the M1-RC1 src release. When I run
> maven
> I get the following build error. I then found the missing jars had been
> downloaded into the
>
> tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> directory and manually added them via the comands below makes it all work
> again. Is this a side effect of the problems with the codehaus.org server,
> another maven timeout thing or should this be a new JIRA?
>
> Cheers
>
> Andrew
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.jws -DartifactId=jsr181-api
> \
>          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
>        1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>        2) org.objectweb.celtix:celtix-rt:jar:1.0
>        3) org.objectweb.celtix:celtix-tools:jar:1.0
>        4) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3
>
> 2) javax.xml:saaj-api:jar:1.3
>
> Try downloading the file manually from:
>
>
> https://jax-ws.dev.java.net/files/documents/4202/24765/JAXWS_SI_20051128.jar
>
> Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.xml -DartifactId=saaj-api \
>          -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
>        1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>        2) org.objectweb.celtix:celtix-rt:jar:1.0
>        3) org.objectweb.celtix:celtix-tools:jar:1.0
>        4) javax.xml:saaj-api:jar:1.3
>
> 3) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxws-api \
>          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
>        1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>        2) org.objectweb.celtix:celtix-rt:jar:1.0
>        3) org.objectweb.celtix:celtix-tools:jar:1.0
>        4) org.objectweb.celtix:celtix-common:jar:1.0
>        5) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3
>
> 4) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>      mvn install:install-file
> -DgroupId=javax.annotation-DartifactId=jsr250-api \
>          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
>        1)
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>        2) org.objectweb.celtix:celtix-rt:jar:1.0
>        3) org.objectweb.celtix:celtix-tools:jar:1.0
>        4) org.objectweb.celtix:celtix-common:jar:1.0
>        5) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3
>
> ----------
> 4 required artifacts are missing.
>
> for artifact:
> org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> objectweb (http://maven.objectweb.org/maven2),
> ibiblio (http://www.ibiblio.org/maven2)
>
>

Re: build failure - doxia-site-renderer followup #369?

Posted by Andrew Borley <aj...@gmail.com>.
Hi,
I'm doing some building/testing on the M1-RC1 src release. When I run maven
I get the following build error. I then found the missing jars had been
downloaded into the
tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
directory and manually added them via the comands below makes it all work
again. Is this a side effect of the problems with the codehaus.org server,
another maven timeout thing or should this be a new JIRA?

Cheers

Andrew

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

Missing:
----------
1) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.jws -DartifactId=jsr181-api \
          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
        2) org.objectweb.celtix:celtix-rt:jar:1.0
        3) org.objectweb.celtix:celtix-tools:jar:1.0
        4) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3

2) javax.xml:saaj-api:jar:1.3

  Try downloading the file manually from:

https://jax-ws.dev.java.net/files/documents/4202/24765/JAXWS_SI_20051128.jar

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.xml -DartifactId=saaj-api \
          -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
        2) org.objectweb.celtix:celtix-rt:jar:1.0
        3) org.objectweb.celtix:celtix-tools:jar:1.0
        4) javax.xml:saaj-api:jar:1.3

3) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxws-api \
          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
        2) org.objectweb.celtix:celtix-rt:jar:1.0
        3) org.objectweb.celtix:celtix-tools:jar:1.0
        4) org.objectweb.celtix:celtix-common:jar:1.0
        5) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3

4) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=javax.annotation-DartifactId=jsr250-api \
          -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1
        2) org.objectweb.celtix:celtix-rt:jar:1.0
        3) org.objectweb.celtix:celtix-tools:jar:1.0
        4) org.objectweb.celtix:celtix-common:jar:1.0
        5) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3

----------
4 required artifacts are missing.

for artifact:
  org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  objectweb (http://maven.objectweb.org/maven2),
  ibiblio (http://www.ibiblio.org/maven2)

Re: build failure - doxia-site-renderer followup #369?

Posted by Daniel Kulp <da...@iona.com>.
Paul,

This is a problem with the codehaus server.   This is a note from maven 
users list:

Re: Cannot connect to codehaus?
From: "Ray Tsang" <sa...@gmail.com>
  To: "Maven Users List" <us...@maven.apache.org>
  Date: Today 09:29:45 pm

"We are currently experiencing disk problems with beaver.codehaus.org.
The problem is being looked at by our service provider" -
www.codehaus.org

Try setting up a mirror that points codehaus repository to ibiblio 
temporarily?

ray,





On Monday 15 May 2006 21:47, Paul Tomsic wrote:
> Thanks for the fix Jean-Sebastien, but i'm now getting
> a different error
> "Project ID: null:doxia-site-renderer:jar:1.0-alpha-8
> Cannot find parent: org.apache.maven.doxia:doxia for
> project: null: doxia-site-renderer:jar:1.0-alpha-8"
>
> Here's the whole output for clarity...
> thoughts?
>
>
> [ptomsic] java > pwd
> /Users/tomsicp/projects/tuscany/java
> [ptomsic] java > uname -a
> Darwin ptomsic.local 8.6.0 Darwin Kernel Version
> 8.6.0: Tue Mar  7 16:58:48 PST 2006;
> root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh
> powerpc
> [ptomsic] java > java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.5.0_06-112)
> Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed
> mode, sharing)
> [ptomsic] java > mvn -v
> Maven version: 2.0.4
> [ptomsic] java > mvn
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   OSOA Specification API jars
> [INFO]   SDO API
> [INFO]   SCA API
> [INFO]   Tuscany Project
> [INFO]   Tuscany SDO Implementation Project
> [INFO]   Tuscany SDO Implementation
> [INFO]   Tuscany SDO Tools
> [INFO]   Tuscany SDO Maven Plugin
> [INFO]   Tuscany DAS
> [INFO]   Tuscany DAS for Relational Databases
> [INFO]   Tuscany SCA Implementation Project
> [INFO]   Tuscany Common
> [INFO]   Tuscany Assembly Model
> [INFO]   Tuscany Core
> [INFO]   Tuscany SCA Bindings
> [INFO]   Project to install the Sun jars
> [INFO]   Tuscany SCA Data Bindings
> [INFO]   Tuscany Data Binding based on SDO
> [INFO]   Tuscany SCA Containers
> [INFO]   Tuscany Java IoC Container
> [INFO]   Tuscany Axis2 Binding
> [INFO]   Tuscany Apache Tomcat Integration
> [INFO]   Tuscany JSON-RPC Binding
> [INFO]   Tuscany Celtix Binding
> [INFO]   Tuscany Rhino JavaScript Container
> [INFO]   Tuscany SCA Tools
> [INFO]   Tuscany SCA Maven Plugins
> [INFO]   Tuscany SCA - Maven Plugin for WSDL2Java
> [INFO]   Tuscany SCA - Maven Plugin for Java2WSDL
> [INFO]   Tuscany Samples
> [INFO]   Tuscany DAS Samples
> [INFO]   Tuscany DAS Company Sample
> [INFO]   Tuscany SCA Samples
> [INFO]   Tuscany HelloWorld Sample
> [INFO]   Tuscany HelloWorld Web Application Sample
> [INFO]   Tuscany Calculator Sample
> [INFO]   Tuscany Customer Info Sample
> [INFO]   Tuscany HelloWorld Web Service Sample
> [INFO]   Tuscany HelloWorld Celtix Web Service Sample
> [INFO]   Tuscany HelloWorld Web Service Client Sample
> [INFO]   Tuscany Supply Chain Sample
> [INFO]   Tuscany HelloWorld JSON-RPC Sample
> [INFO]   Tuscany SCA JMS Samples
> [INFO]   Tuscany HelloWorld Celtix JMS Client Sample
> [INFO]   Tuscany HelloWorld Celtix JMS Service Sample
> [INFO]   Tuscany HelloWorld JavaScript/E4X Web Service
> Sample
> [INFO]   Tuscany HelloWorld JSON-RPC WS Client Sample
> [INFO]   Tuscany Scenario Samples
> [INFO]   Tuscany BigBank Scenario Sample
> [INFO]   Tuscany BigBank Account Module
> [INFO]   Tuscany BigBank Web Client Module
> [INFO]
> -----------------------------------------------------------------------
>----- [INFO] Building OSOA Specification API jars
> [INFO]    task-segment: [install]
> [INFO]
> -----------------------------------------------------------------------
>----- Downloading:
> http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/doxia
>/1.0-alpha-8/doxia-1.0-alpha-8.pom [INFO]
> -----------------------------------------------------------------------
>- [ERROR] BUILD ERROR
> [INFO]
> -----------------------------------------------------------------------
>- [INFO] Error building POM (may not be this project's
> POM).
>
>
> Project ID: null:doxia-site-renderer:jar:1.0-alpha-8
>
> Reason: Cannot find parent:
> org.apache.maven.doxia:doxia for project:
> null:doxia-site-renderer:jar:1.0-alpha-8
>
>
> [INFO]
> -----------------------------------------------------------------------
>- [INFO] For more information, run Maven with the -e
> switch
> [INFO]
> -----------------------------------------------------------------------
>- [INFO] Total time: 9 seconds
> [INFO] Finished at: Mon May 15 20:43:49 CDT 2006
> [INFO] Final Memory: 4M/9M
> [INFO]
> -----------------------------------------------------------------------
>- [ptomsic] java >
>
>
> --- Jean-Sebastien Delfino <js...@apache.org>
>
> wrote:
> > Paul Tomsic wrote:
> > > i've just grabbed tuscany from svn and i'm now
> > > receiving a build failure when i do the following.
> > > thoughts/help appreciated.
> > > thx
> > >
> > >
> > > [ptomsic] java > pwd
> > > /Users/tomsicp/projects/tuscany/java
> > > [ptomsic] java > uname -a
> > > Darwin ptomsic.local 8.6.0 Darwin Kernel Version
> > > 8.6.0: Tue Mar  7 16:58:48 PST 2006;
> > > root:xnu-792.6.70.obj~1/RELEASE_PPC Power
> >
> > Macintosh
> >
> > > powerpc
> > > [ptomsic] java > mvn -version
> > > Maven version: 2.0.4
> > > [ptomsic] java > mvn
> > > [INFO] Scanning for projects...
> > > [INFO]
>
> -----------------------------------------------------------------------
>-
>
> > > [ERROR] FATAL ERROR
> > > [INFO]
>
> -----------------------------------------------------------------------
>-
>
> > > [INFO] Failed to resolve artifact.
> > >
> > > GroupId: org.apache.tuscany.samples.das
> > > ArtifactId: das-samples
> > > Version: SNAPSHOT
> > >
> > > Reason: Unable to download the artifact from any
> > > repository
>
> org.apache.tuscany.samples.das:das-samples:pom:SNAPSHOT
>
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2)
> > >
> > >
> > > [INFO]
>
> -----------------------------------------------------------------------
>-
>
> > > [INFO] Trace
> > > org.apache.maven.reactor.MavenExecutionException:
> > > Cannot find parent:
> > > org.apache.tuscany.samples.das:das-samples for
> > > project: null:sample-companyweb:war:SNAPSHOT
> > >         at
>
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>
> > >         at
>
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>
> > >         at
>
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>
> > Paul,
> >
> > Thanks for reporting this build failure. I created
> > JIRA issue
> > http://issues.apache.org/jira/browse/TUSCANY-369 to
> > help you track its
> > resolution. The problem is that samples have been
> > moving around and we
> > didn't detect the build break because we had the old
> > cached samples in
> > our local Maven repos.
> >
> > Committers, to avoid this kind of break in the
> > future, after moving
> > projects around you should do a top Maven build
> > after having deleted
> > your ~/.m2/repository/org/apache/tuscany directory,
> > to avoid picking up
> > old artifacts, and ensure that the build is
> > successful for somebody
> > starting from scratch with a fresh local Maven
> > repos. Thanks.
> >
> > I was able to reproduce the problem and will commit
> > a fix in a few
> > minutes. Thanks again for reporting this...
> >
> > --
> > Jean-Sebastien

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
daniel.kulp@iona.com