You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Daniel Kulp (JIRA)" <tu...@ws.apache.org> on 2006/05/18 17:50:07 UTC

[jira] Closed: (TUSCANY-403) Maven build issue with M1 RC3 src

     [ http://issues.apache.org/jira/browse/TUSCANY-403?page=all ]
     
Daniel Kulp closed TUSCANY-403:
-------------------------------

    Resolution: Fixed


Fixed by forcing the install of the artifacts into a later lifecycle.

> Maven build issue with M1 RC3 src
> ---------------------------------
>
>          Key: TUSCANY-403
>          URL: http://issues.apache.org/jira/browse/TUSCANY-403
>      Project: Tuscany
>         Type: Bug

>   Components: Build System
>     Versions: Java-M1
>  Environment: Wndows, m1-RC3-src
>     Reporter: Andrew Borley
>     Assignee: Daniel Kulp
>      Fix For: Java-M1
>  Attachments: Maven-trace.txt, output.txt
>
> From a completely clean maven (i deleted my .m2 directory) I always get a build error with any of the M1 release candidate src packages (see trace 1 below). This seems to be caused by the build system attempting to install the celtix-required Sun jars into maven before it has downloaded them (see trace 2 below). However, looking at sca/bindings/sunjars/pom.xml it appears to say (I'm not particularly familiar with Maven) that the celtix jars package should be downloaded before the ant file attempts to install them. 
> Re-running mvn after this failure succeeds as the jars have now been downloaded and unpacked, so can be installed into maven.
> ***********************
> Build trace 1:
> ***********************
> [INFO] ------------------------------------------------------------------------
> [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.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
> 3) 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
> 4) 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 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)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 minutes 7 seconds
> [INFO] Finished at: Thu May 18 11:53:06 BST 2006
> [INFO] Final Memory: 20M/45M
> [INFO] ------------------------------------------------------------------------
> ***********************
> Build trace 2:
> ***********************
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Project to install the Sun jars
> [INFO]    task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-antrun-plugin: checking for updates from central
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> 1K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> 11K downloaded
> [INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for updates from central
> Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/dependency-maven-plugin/1.0/dependency-maven-plugin-1.0.pom
> 2K downloaded
> Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/5/mojo-5.pom
> 4K downloaded
> Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/dependency-maven-plugin/1.0/dependency-maven-plugin-1.0.jar
> 15K downloaded
> Downloading: http://repo1.maven.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> 149b downloaded
> Downloading: http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
> 521b downloaded
> Downloading: http://repo1.maven.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> 8K downloaded
> Downloading: http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
> 1009K downloaded
> [INFO] [antrun:run {execution: install}]
> [INFO] Executing tasks
> checkinstalled:
> installJars:
>      [exec] [INFO] Scanning for projects...
>      [exec] [INFO] Searching repository for plugin with prefix: 'install'.
>      [exec] [INFO] org.apache.maven.plugins: checking for updates from central
>      [exec] [INFO] org.codehaus.mojo: checking for updates from central
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] Building Project to install the Sun jars
>      [exec] [INFO]    task-segment: [install:install-file] (aggregator-style)
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] [install:install-file]
>      [exec] [INFO] Installing D:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> \jsr250-api-2.0-JAXWS-2.0-EA3.jar to C:\Documents and Settings\ajborley\.m2\repository\javax\annotation\jsr250-api\2.0-J
> AXWS-2.0-EA3\jsr250-api-2.0-JAXWS-2.0-EA3.jar
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD ERROR
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Error installing artifact 'javax.annotation:jsr250-api:jar': Error installing artifact: File D:\tusca
> ny\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib\jsr250-api-2.0-JAXWS-2.0-EA3.jar does
>  not exist
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 8 seconds
>      [exec] [INFO] Finished at: Thu May 18 11:48:40 BST 2006
>      [exec] [INFO] Final Memory: 4M/13M
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Scanning for projects...
>      [exec] [INFO] Searching repository for plugin with prefix: 'install'.
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] Building Project to install the Sun jars
>      [exec] [INFO]    task-segment: [install:install-file] (aggregator-style)
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] [install:install-file]
>      [exec] [INFO] Installing D:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> \jsr181-api-2.0-JAXWS-2.0-EA3.jar to C:\Documents and Settings\ajborley\.m2\repository\javax\jws\jsr181-api\2.0-JAXWS-2.
> 0-EA3\jsr181-api-2.0-JAXWS-2.0-EA3.jar
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD ERROR
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Error installing artifact 'javax.jws:jsr181-api:jar': Error installing artifact: File D:\tuscany\tusc
> any-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib\jsr181-api-2.0-JAXWS-2.0-EA3.jar does not ex
> ist
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 4 seconds
>      [exec] [INFO] Finished at: Thu May 18 11:48:47 BST 2006
>      [exec] [INFO] Final Memory: 3M/10M
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Scanning for projects...
>      [exec] [INFO] Searching repository for plugin with prefix: 'install'.
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] Building Project to install the Sun jars
>      [exec] [INFO]    task-segment: [install:install-file] (aggregator-style)
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] [install:install-file]
>      [exec] [INFO] Installing D:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> \jaxws-api-2.0-JAXWS-2.0-EA3.jar to C:\Documents and Settings\ajborley\.m2\repository\javax\xml\jaxws-api\2.0-JAXWS-2.0-
> EA3\jaxws-api-2.0-JAXWS-2.0-EA3.jar
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD ERROR
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Error installing artifact 'javax.xml:jaxws-api:jar': Error installing artifact: File D:\tuscany\tusca
> ny-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib\jaxws-api-2.0-JAXWS-2.0-EA3.jar does not exis
> t
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 2 seconds
>      [exec] [INFO] Finished at: Thu May 18 11:48:51 BST 2006
>      [exec] [INFO] Final Memory: 3M/13M
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Scanning for projects...
>      [exec] [INFO] Searching repository for plugin with prefix: 'install'.
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] Building Project to install the Sun jars
>      [exec] [INFO]    task-segment: [install:install-file] (aggregator-style)
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] [install:install-file]
>      [exec] [INFO] Installing D:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> \saaj-api-1.3.jar to C:\Documents and Settings\ajborley\.m2\repository\javax\xml\saaj-api\1.3\saaj-api-1.3.jar
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD ERROR
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Error installing artifact 'javax.xml:saaj-api:jar': Error installing artifact: File D:\tuscany\tuscan
> y-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib\saaj-api-1.3.jar does not exist
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 2 seconds
>      [exec] [INFO] Finished at: Thu May 18 11:48:56 BST 2006
>      [exec] [INFO] Final Memory: 3M/12M
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Scanning for projects...
>      [exec] [INFO] Searching repository for plugin with prefix: 'install'.
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] Building Project to install the Sun jars
>      [exec] [INFO]    task-segment: [install:install-file] (aggregator-style)
>      [exec] [INFO] ----------------------------------------------------------------------------
>      [exec] [INFO] [install:install-file]
>      [exec] [INFO] Installing D:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib
> \saaj-impl-1.3.jar to C:\Documents and Settings\ajborley\.m2\repository\com\sun\xml\saaj-impl\1.3\saaj-impl-1.3.jar
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD ERROR
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Error installing artifact 'com.sun.xml:saaj-impl:jar': Error installing artifact: File D:\tuscany\tus
> cany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install\celtix\lib\saaj-impl-1.3.jar does not exist
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 2 seconds
>      [exec] [INFO] Finished at: Thu May 18 11:49:00 BST 2006
>      [exec] [INFO] Final Memory: 3M/9M
>      [exec] [INFO] ------------------------------------------------------------------------
> [INFO] Executed tasks
> [INFO] [dependency:unpack {execution: getdeps}]
> [INFO] Configured Artifact: org.objectweb.celtix:celtix-distribution:bin-epl:1.0:jar
> Downloading: http://maven.objectweb.org/maven2/org/objectweb/celtix/celtix-distribution/1.0/celtix-distribution-1.0-bin-
> epl.jar
> 17191K downloaded
> [INFO] Expanding: C:\Documents and Settings\ajborley\.m2\repository\org\objectweb\celtix\celtix-distribution\1.0\celtix-
> distribution-1.0-bin-epl.jar into d:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\target\celtix-install
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing d:\tuscany\tuscany-incubating-M1-src\sca\bindings\sunjars\pom.xml to C:\Documents and Settings\ajborle
> y\.m2\repository\org\apache\tuscany\sca\bindings\tuscany-sunjars\incubating-M1\tuscany-sunjars-incubating-M1.pom

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira