geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell E Glaue <rgl...@cait.org>
Subject Re: Help with G3.0 building
Date Wed, 08 Jun 2011 19:04:11 GMT
On 06/07/2011 06:21 PM, Kevan Miller wrote:
>
> Can you post more of the build output near the failure? I don't have a clear
picture of where in the build process you're getting this failure.
>
> I'm mostly building with maven 3. I asked about your maven version only to try
and pin down the source of your failure...
>


I have deleted my local maven repository (i.e. ~/.m2/repository), and got a
fresh checkout of geronimo-trunk. I then executed the maven clean install in
both maven 3.0.3 and 2.2.1 using JDK1.6.0_25.
I attached the output from a maven 2.2.1 build.

I get the same error repeatedly. (see below)
I now actually remember getting this error message the very first time I tried
building G3.0. But these errors completely went away after the first time I
executed "mvn compile". So I had forgotten about it.

After the first time executing 'mvn compile', any subsequent 'mvn clean install'
execution successfully compiled G3.0. Even when compiling a fresh trunk. Just
the packaging was unsuccessful (in which the error messages are given previously
in this thread).

My only guess is that the 'mvn compile' target downloads and installs older or
newer bundle dependencies that do not cause these errors. The maven bundles are
the only things that do not change when you do as I did.

-
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile)
on project geronimo-j2ee-builder: Compilation failure: Compilation failure:
[ERROR]
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java:[178,39]
[deprecation] name() in javax.jws.HandlerChain has been deprecated
[ERROR]
[ERROR]
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java:[295,61]
cannot find symbol
[ERROR] symbol  : method lookup()
[ERROR] location: @interface javax.xml.ws.WebServiceRef
[ERROR]
[ERROR]
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java:[296,47]
cannot find symbol
[ERROR] symbol  : method lookup()
[ERROR] location: @interface javax.xml.ws.WebServiceRef
[ERROR]
[ERROR]
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java:[403,104]
cannot find symbol
[ERROR] symbol  : method responses()
[ERROR] location: @interface javax.xml.ws.soap.Addressing
[ERROR]
[ERROR]
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java:[413,108]
cannot find symbol
[ERROR] symbol  : method responses()
[ERROR] location: @interface javax.xml.ws.soap.Addressing
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :geronimo-j2ee-builder
-

I do see this, also repeatedly, further up in the output, complaining of the
missing geronimo-j2ee-schema 1.0 bundle:
-
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, System Database 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
...
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, System Database :: Derby 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
...
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, J2EE 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
...
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, J2EE :: Schema 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geronimo-j2ee-schema ---
[INFO] Deleting file set:
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-schema/target (included:
[**], excluded: [])
[INFO]
[INFO] --- genesis-maven-plugin:2.0:validate-configuration (default) @
geronimo-j2ee-schema ---
[INFO]
[INFO] --- geronimo-property-plugin:3.0-SNAPSHOT:set-property (set-property) @
geronimo-j2ee-schema ---
[WARNING] File
/home/ger/.m2/repository/org/apache/geronimo/specs/geronimo-jaxws_2.2_spec/1.0/geronimo-jaxws_2.2_spec-1.0.jar
does not exist
-
A check of that location reveals only a 1.1-SNAPSHOT bundle:
-
[ger@linux7 geronimo]# tree
/home/ger/.m2/repository/org/apache/geronimo/specs/geronimo-jaxws_2.2_spec/
/home/ger/.m2/repository/org/apache/geronimo/specs/geronimo-jaxws_2.2_spec/
`-- 1.1-SNAPSHOT
    |-- _maven.repositories
    |-- geronimo-jaxws_2.2_spec-1.1-20110608.123812-8.jar
    |-- geronimo-jaxws_2.2_spec-1.1-20110608.123812-8.jar.sha1
    |-- geronimo-jaxws_2.2_spec-1.1-20110608.123812-8.pom
    |-- geronimo-jaxws_2.2_spec-1.1-20110608.123812-8.pom.lastUpdated
    |-- geronimo-jaxws_2.2_spec-1.1-20110608.123812-8.pom.sha1
    |-- geronimo-jaxws_2.2_spec-1.1-SNAPSHOT.jar
    |-- geronimo-jaxws_2.2_spec-1.1-SNAPSHOT.pom
    |-- maven-metadata-apache.snapshots.xml
    |-- maven-metadata-apache.snapshots.xml.sha1
    `-- resolver-status.properties

1 directory, 11 file
-

Mime
View raw message