You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Russell E Glaue (JIRA)" <ji...@apache.org> on 2011/06/10 16:58:58 UTC

[jira] [Created] (GERONIMO-6004) Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo

Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-6004
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6004
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Plugins
    Affects Versions: 3.0
         Environment: Linux x86, Red Hat Enterprise Linux Server release 5.4 (Tikanga)
            Reporter: Russell E Glaue
            Priority: Minor


When building geronimo server/trunk, a.k.a. Geronimo 3.0, with maven 2.2.1 or 3.0.3 for the first time, a user will get a WS related error.
-
[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
-

If the user manually downloads and installs the geronimo-jaxws_2.2_spec-1.0 artifact, then the build succeeds.
-
mvn install:install-file -DgroupId=org.apache.geronimo.specs
-DartifactId=geronimo-jaxws_2.2_spec -Dversion=1.0 -Dpackaging=jar
-Dfile=geronimo-jaxws_2.2_spec-1.0.jar
-


>From what I could discover, all of Geronimo 3.0 (trunk) depends on geronimo-jaxws_2.2_spec-1.1-SNAPSHOT except for the uddi (uddi-war-repackage) plugin. The 1.1-SNAPSHOT dependency is downloaded and installed correctly, but the 1.0 artifact is not - though I could tell through observation of some alternate maven processes the build is specifically looking for the 1.0 artifact.

The resolution is to either fix the maven dependency so that the geronimo-jaxws_2.2_spec-1.0 artifact is downloaded and installed automatically, or update the uddi plugin to support the geronimo-jaxws_2.2_spec-1.1-SNAPSHOT artifact.
-
[ger@linux7 asf-geronimo-server-trunk]# egrep -R geronimo-jaxws_2.2_spec * | grep -v ".svn" | grep -i "1.0" | grep DEPENDENCIES
plugins/uddi/uddi-war-repackage/target/classes/WEB-INF/classes/META-INF/DEPENDENCIES:  - Apache Geronimo JAX-WS 2.2 API (http://geronimo.apache.org/maven/specs/geronimo-jaxws_2.2_spec/1.0) org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:bundle:1.0
-
I assume it would be easier to setup the dependency to include the geronimo-jaxws_2.2_spec-1.0 artifact. And possibly there could be a good reason why the uddi plugin is the only part of G3.0 not updated to support the 1.1-SNAPSHOT (though unknown to me at this time).

It should also be noted, though not significant, that the LICENSE files of most all (if not all) of the components of Geronimo reference the geronimo-jaxws_2.2_spec-1.0 artifact.


The users who attempt to build G3.0 from trunk for the first time are going to experience this issue which causes the build to fail. However, I was able to successfully build G3.0 from trunk when doing the following three steps:
1. Follow the documentation for building: https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html
2. Set MAVEN_OPTS to the following: -Xmx968m -XX:MaxPermSize=700m -XX:ReservedCodeCacheSize=64m
3. Manually install the geronimo-jaxws_2.2_spec-1.0 artifact as I described above


-RG


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GERONIMO-6004) Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo

Posted by "Russell E Glaue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047235#comment-13047235 ] 

Russell E Glaue commented on GERONIMO-6004:
-------------------------------------------

I could be mistaken - perhaps it is not the uddi plugin that is the problem.

My build fails at this stage:
[INFO] Geronimo Plugins, J2EE :: Builder ................. FAILURE [18.237s]

The goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project geronimo-j2ee-builder fails.

Without the geronimo-jaxws_2.2_spec-1.0 artifact installed, when I ran 'mvn clean' 'mvn compile' and then 'mvn clean install', I then got a WSDL related error, and I am finding in the output the build process is specifically looking for the geronimo-jaxws_2.2_spec-1.0 artifact in my local maven repository.


> Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6004
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6004
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 3.0
>         Environment: Linux x86, Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>            Reporter: Russell E Glaue
>            Priority: Minor
>              Labels: geronimo
>
> When building geronimo server/trunk, a.k.a. Geronimo 3.0, with maven 2.2.1 or 3.0.3 for the first time, a user will get a WS related error.
> -
> [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
> -
> If the user manually downloads and installs the geronimo-jaxws_2.2_spec-1.0 artifact, then the build succeeds.
> -
> mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jaxws_2.2_spec -Dversion=1.0 -Dpackaging=jar
> -Dfile=geronimo-jaxws_2.2_spec-1.0.jar
> -
> From what I could discover, all of Geronimo 3.0 (trunk) depends on geronimo-jaxws_2.2_spec-1.1-SNAPSHOT except for the uddi (uddi-war-repackage) plugin. The 1.1-SNAPSHOT dependency is downloaded and installed correctly, but the 1.0 artifact is not - though I could tell through observation of some alternate maven processes the build is specifically looking for the 1.0 artifact.
> The resolution is to either fix the maven dependency so that the geronimo-jaxws_2.2_spec-1.0 artifact is downloaded and installed automatically, or update the uddi plugin to support the geronimo-jaxws_2.2_spec-1.1-SNAPSHOT artifact.
> -
> [ger@linux7 asf-geronimo-server-trunk]# egrep -R geronimo-jaxws_2.2_spec * | grep -v ".svn" | grep -i "1.0" | grep DEPENDENCIES
> plugins/uddi/uddi-war-repackage/target/classes/WEB-INF/classes/META-INF/DEPENDENCIES:  - Apache Geronimo JAX-WS 2.2 API (http://geronimo.apache.org/maven/specs/geronimo-jaxws_2.2_spec/1.0) org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:bundle:1.0
> -
> I assume it would be easier to setup the dependency to include the geronimo-jaxws_2.2_spec-1.0 artifact. And possibly there could be a good reason why the uddi plugin is the only part of G3.0 not updated to support the 1.1-SNAPSHOT (though unknown to me at this time).
> It should also be noted, though not significant, that the LICENSE files of most all (if not all) of the components of Geronimo reference the geronimo-jaxws_2.2_spec-1.0 artifact.
> The users who attempt to build G3.0 from trunk for the first time are going to experience this issue which causes the build to fail. However, I was able to successfully build G3.0 from trunk when doing the following three steps:
> 1. Follow the documentation for building: https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html
> 2. Set MAVEN_OPTS to the following: -Xmx968m -XX:MaxPermSize=700m -XX:ReservedCodeCacheSize=64m
> 3. Manually install the geronimo-jaxws_2.2_spec-1.0 artifact as I described above
> -RG

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (GERONIMO-6004) Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo

Posted by "Russell E Glaue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047280#comment-13047280 ] 

Russell E Glaue edited comment on GERONIMO-6004 at 6/10/11 4:39 PM:
--------------------------------------------------------------------

Okay, the build has the "does not exist" error I remember.

-
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, J2EE :: Builder 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geronimo-j2ee-builder ---
[INFO] Deleting file set:
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/target
(included: [**], excluded: [])
[INFO]
[INFO] --- genesis-maven-plugin:2.0:validate-configuration (default) @
geronimo-j2ee-builder ---
[INFO]
[INFO] --- geronimo-property-plugin:3.0-SNAPSHOT:set-property (set-property) @
geronimo-j2ee-builder ---
[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
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (default) @
geronimo-j2ee-builder ---
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @
geronimo-j2ee-builder ---
Time to build schema type system: 7.202 seconds
Time to generate code: 0.235 seconds
Time to compile code: 2.974 seconds
-

I think I may understand the issue, maybe.

The specific file
"trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java"
depends on the 1.0 artifact
I have not looked at the artifact source code, but the error message I reported
suggested the api has changed between versions 1.0 and 1.1

So the geronimo-j2ee-builder should have a specific dependency on the 1.0
artifact. But it doesn't, so maven assumes it can use the latest available which
is 1.1-SNAPSHOT.

The geronimo-property-plugin however sets (or keeps track of (not sure how that
works)) the dependency properties for the geronimo-j2ee-builder - which includes
the geronimo-jaxws_2.2_spec-1.0 artifact.

However, this 1.0 dependency is not kept track of in maven, so the artifact is not
downloaded.

The geronimo-j2ee-builder is compiled by maven, but fails dues to mismatched
version referencing changed API.


So it would seem the two resolutions are:
1. Update the
"trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java"
to support geronimo-jaxws_2.2_spec-1.1
2. Put in a specific dependency to the geronimo-jaxws_2.2_spec-1.0 artifact in
maven.


      was (Author: rglaue):
    Okay, the build has the "does not exist" error I remember.

-
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, J2EE :: Builder 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geronimo-j2ee-builder ---
[INFO] Deleting file set:
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/target
(included: [**], excluded: [])
[INFO]
[INFO] --- genesis-maven-plugin:2.0:validate-configuration (default) @
geronimo-j2ee-builder ---
[INFO]
[INFO] --- geronimo-property-plugin:3.0-SNAPSHOT:set-property (set-property) @
geronimo-j2ee-builder ---
[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
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (default) @
geronimo-j2ee-builder ---
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @
geronimo-j2ee-builder ---
Time to build schema type system: 7.202 seconds
Time to generate code: 0.235 seconds
Time to compile code: 2.974 seconds
-

I think I may understand the issue, maybe.

The specific file
"trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java"
depends on the 1.0 artifact
I have not looked at the artifact source code, but the error message I reported
suggested the api has changed between versions 1.0 and 1.1

So the geronimo-j2ee-builder should have a specific dependency on the 1.0
artifact. But it doesn't, so maven assumes it can use the latest available which
is 1.1-SNAPSHOT.

The geronimo-property-plugin however sets (or keeps track of (not sure how that
works)) the dependency properties for the geronimo-j2ee-builder - which includes
the geronimo-jaxws_2.2_spec-1.0 artifact.

However, this 1.0 dependency is kept track of in maven, so the artifact is not
downloaded.

The geronimo-j2ee-builder is compiled by maven, but fails dues to mismatched
version referencing changed API.


So it would seem the two resolutions are:
1. Update the
"trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java"
to support geronimo-jaxws_2.2_spec-1.1
2. Put in a specific dependency to the geronimo-jaxws_2.2_spec-1.0 artifact in
maven.

  
> Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6004
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6004
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 3.0
>         Environment: Linux x86, Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>            Reporter: Russell E Glaue
>            Priority: Minor
>              Labels: geronimo
>
> When building geronimo server/trunk, a.k.a. Geronimo 3.0, with maven 2.2.1 or 3.0.3 for the first time, a user will get a WS related error.
> -
> [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
> -
> If the user manually downloads and installs the geronimo-jaxws_2.2_spec-1.0 artifact, then the build succeeds.
> -
> mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jaxws_2.2_spec -Dversion=1.0 -Dpackaging=jar
> -Dfile=geronimo-jaxws_2.2_spec-1.0.jar
> -
> From what I could discover, all of Geronimo 3.0 (trunk) depends on geronimo-jaxws_2.2_spec-1.1-SNAPSHOT except for the uddi (uddi-war-repackage) plugin. The 1.1-SNAPSHOT dependency is downloaded and installed correctly, but the 1.0 artifact is not - though I could tell through observation of some alternate maven processes the build is specifically looking for the 1.0 artifact.
> The resolution is to either fix the maven dependency so that the geronimo-jaxws_2.2_spec-1.0 artifact is downloaded and installed automatically, or update the uddi plugin to support the geronimo-jaxws_2.2_spec-1.1-SNAPSHOT artifact.
> -
> [ger@linux7 asf-geronimo-server-trunk]# egrep -R geronimo-jaxws_2.2_spec * | grep -v ".svn" | grep -i "1.0" | grep DEPENDENCIES
> plugins/uddi/uddi-war-repackage/target/classes/WEB-INF/classes/META-INF/DEPENDENCIES:  - Apache Geronimo JAX-WS 2.2 API (http://geronimo.apache.org/maven/specs/geronimo-jaxws_2.2_spec/1.0) org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:bundle:1.0
> -
> I assume it would be easier to setup the dependency to include the geronimo-jaxws_2.2_spec-1.0 artifact. And possibly there could be a good reason why the uddi plugin is the only part of G3.0 not updated to support the 1.1-SNAPSHOT (though unknown to me at this time).
> It should also be noted, though not significant, that the LICENSE files of most all (if not all) of the components of Geronimo reference the geronimo-jaxws_2.2_spec-1.0 artifact.
> The users who attempt to build G3.0 from trunk for the first time are going to experience this issue which causes the build to fail. However, I was able to successfully build G3.0 from trunk when doing the following three steps:
> 1. Follow the documentation for building: https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html
> 2. Set MAVEN_OPTS to the following: -Xmx968m -XX:MaxPermSize=700m -XX:ReservedCodeCacheSize=64m
> 3. Manually install the geronimo-jaxws_2.2_spec-1.0 artifact as I described above
> -RG

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GERONIMO-6004) Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo

Posted by "Russell E Glaue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047280#comment-13047280 ] 

Russell E Glaue commented on GERONIMO-6004:
-------------------------------------------

Okay, the build has the "does not exist" error I remember.

-
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, J2EE :: Builder 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geronimo-j2ee-builder ---
[INFO] Deleting file set:
/data/geronimo/asf-geronimo-server-trunk/plugins/j2ee/geronimo-j2ee-builder/target
(included: [**], excluded: [])
[INFO]
[INFO] --- genesis-maven-plugin:2.0:validate-configuration (default) @
geronimo-j2ee-builder ---
[INFO]
[INFO] --- geronimo-property-plugin:3.0-SNAPSHOT:set-property (set-property) @
geronimo-j2ee-builder ---
[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
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (default) @
geronimo-j2ee-builder ---
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @
geronimo-j2ee-builder ---
Time to build schema type system: 7.202 seconds
Time to generate code: 0.235 seconds
Time to compile code: 2.974 seconds
-

I think I may understand the issue, maybe.

The specific file
"trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java"
depends on the 1.0 artifact
I have not looked at the artifact source code, but the error message I reported
suggested the api has changed between versions 1.0 and 1.1

So the geronimo-j2ee-builder should have a specific dependency on the 1.0
artifact. But it doesn't, so maven assumes it can use the latest available which
is 1.1-SNAPSHOT.

The geronimo-property-plugin however sets (or keeps track of (not sure how that
works)) the dependency properties for the geronimo-j2ee-builder - which includes
the geronimo-jaxws_2.2_spec-1.0 artifact.

However, this 1.0 dependency is kept track of in maven, so the artifact is not
downloaded.

The geronimo-j2ee-builder is compiled by maven, but fails dues to mismatched
version referencing changed API.


So it would seem the two resolutions are:
1. Update the
"trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java"
to support geronimo-jaxws_2.2_spec-1.1
2. Put in a specific dependency to the geronimo-jaxws_2.2_spec-1.0 artifact in
maven.


> Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6004
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6004
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 3.0
>         Environment: Linux x86, Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>            Reporter: Russell E Glaue
>            Priority: Minor
>              Labels: geronimo
>
> When building geronimo server/trunk, a.k.a. Geronimo 3.0, with maven 2.2.1 or 3.0.3 for the first time, a user will get a WS related error.
> -
> [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
> -
> If the user manually downloads and installs the geronimo-jaxws_2.2_spec-1.0 artifact, then the build succeeds.
> -
> mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jaxws_2.2_spec -Dversion=1.0 -Dpackaging=jar
> -Dfile=geronimo-jaxws_2.2_spec-1.0.jar
> -
> From what I could discover, all of Geronimo 3.0 (trunk) depends on geronimo-jaxws_2.2_spec-1.1-SNAPSHOT except for the uddi (uddi-war-repackage) plugin. The 1.1-SNAPSHOT dependency is downloaded and installed correctly, but the 1.0 artifact is not - though I could tell through observation of some alternate maven processes the build is specifically looking for the 1.0 artifact.
> The resolution is to either fix the maven dependency so that the geronimo-jaxws_2.2_spec-1.0 artifact is downloaded and installed automatically, or update the uddi plugin to support the geronimo-jaxws_2.2_spec-1.1-SNAPSHOT artifact.
> -
> [ger@linux7 asf-geronimo-server-trunk]# egrep -R geronimo-jaxws_2.2_spec * | grep -v ".svn" | grep -i "1.0" | grep DEPENDENCIES
> plugins/uddi/uddi-war-repackage/target/classes/WEB-INF/classes/META-INF/DEPENDENCIES:  - Apache Geronimo JAX-WS 2.2 API (http://geronimo.apache.org/maven/specs/geronimo-jaxws_2.2_spec/1.0) org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:bundle:1.0
> -
> I assume it would be easier to setup the dependency to include the geronimo-jaxws_2.2_spec-1.0 artifact. And possibly there could be a good reason why the uddi plugin is the only part of G3.0 not updated to support the 1.1-SNAPSHOT (though unknown to me at this time).
> It should also be noted, though not significant, that the LICENSE files of most all (if not all) of the components of Geronimo reference the geronimo-jaxws_2.2_spec-1.0 artifact.
> The users who attempt to build G3.0 from trunk for the first time are going to experience this issue which causes the build to fail. However, I was able to successfully build G3.0 from trunk when doing the following three steps:
> 1. Follow the documentation for building: https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html
> 2. Set MAVEN_OPTS to the following: -Xmx968m -XX:MaxPermSize=700m -XX:ReservedCodeCacheSize=64m
> 3. Manually install the geronimo-jaxws_2.2_spec-1.0 artifact as I described above
> -RG

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GERONIMO-6004) Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo

Posted by "Russell E Glaue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047439#comment-13047439 ] 

Russell E Glaue commented on GERONIMO-6004:
-------------------------------------------

revision 1133618 has resolved the build error I report
-
r1133618 | xuhaihong | 2011-06-08 20:42:31 -0400 (Wed, 08 Jun 2011) | 1 line
Changed paths:
   M /geronimo/server/trunk/plugins/pom.xml

Update JAX-WS spec version number in the compile property
-
Thanks to xuhaihong for fixing it.


> Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6004
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6004
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 3.0
>         Environment: Linux x86, Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>            Reporter: Russell E Glaue
>            Priority: Minor
>              Labels: geronimo
>
> When building geronimo server/trunk, a.k.a. Geronimo 3.0, with maven 2.2.1 or 3.0.3 for the first time, a user will get a WS related error.
> -
> [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
> -
> If the user manually downloads and installs the geronimo-jaxws_2.2_spec-1.0 artifact, then the build succeeds.
> -
> mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jaxws_2.2_spec -Dversion=1.0 -Dpackaging=jar
> -Dfile=geronimo-jaxws_2.2_spec-1.0.jar
> -
> From what I could discover, all of Geronimo 3.0 (trunk) depends on geronimo-jaxws_2.2_spec-1.1-SNAPSHOT except for the uddi (uddi-war-repackage) plugin. The 1.1-SNAPSHOT dependency is downloaded and installed correctly, but the 1.0 artifact is not - though I could tell through observation of some alternate maven processes the build is specifically looking for the 1.0 artifact.
> The resolution is to either fix the maven dependency so that the geronimo-jaxws_2.2_spec-1.0 artifact is downloaded and installed automatically, or update the uddi plugin to support the geronimo-jaxws_2.2_spec-1.1-SNAPSHOT artifact.
> -
> [ger@linux7 asf-geronimo-server-trunk]# egrep -R geronimo-jaxws_2.2_spec * | grep -v ".svn" | grep -i "1.0" | grep DEPENDENCIES
> plugins/uddi/uddi-war-repackage/target/classes/WEB-INF/classes/META-INF/DEPENDENCIES:  - Apache Geronimo JAX-WS 2.2 API (http://geronimo.apache.org/maven/specs/geronimo-jaxws_2.2_spec/1.0) org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:bundle:1.0
> -
> I assume it would be easier to setup the dependency to include the geronimo-jaxws_2.2_spec-1.0 artifact. And possibly there could be a good reason why the uddi plugin is the only part of G3.0 not updated to support the 1.1-SNAPSHOT (though unknown to me at this time).
> It should also be noted, though not significant, that the LICENSE files of most all (if not all) of the components of Geronimo reference the geronimo-jaxws_2.2_spec-1.0 artifact.
> The users who attempt to build G3.0 from trunk for the first time are going to experience this issue which causes the build to fail. However, I was able to successfully build G3.0 from trunk when doing the following three steps:
> 1. Follow the documentation for building: https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html
> 2. Set MAVEN_OPTS to the following: -Xmx968m -XX:MaxPermSize=700m -XX:ReservedCodeCacheSize=64m
> 3. Manually install the geronimo-jaxws_2.2_spec-1.0 artifact as I described above
> -RG

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (GERONIMO-6004) Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo

Posted by "Russell E Glaue (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell E Glaue resolved GERONIMO-6004.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

fixed by xuhaihong in svn revision 1133618

> Geronimo 3.0 trunk does not build unless you manually download and install geronimo-jaxws_2.2_spec-1.0.jar into your local maven repo
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6004
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6004
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 3.0
>         Environment: Linux x86, Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>            Reporter: Russell E Glaue
>            Priority: Minor
>              Labels: geronimo
>             Fix For: 3.0
>
>
> When building geronimo server/trunk, a.k.a. Geronimo 3.0, with maven 2.2.1 or 3.0.3 for the first time, a user will get a WS related error.
> -
> [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
> -
> If the user manually downloads and installs the geronimo-jaxws_2.2_spec-1.0 artifact, then the build succeeds.
> -
> mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jaxws_2.2_spec -Dversion=1.0 -Dpackaging=jar
> -Dfile=geronimo-jaxws_2.2_spec-1.0.jar
> -
> From what I could discover, all of Geronimo 3.0 (trunk) depends on geronimo-jaxws_2.2_spec-1.1-SNAPSHOT except for the uddi (uddi-war-repackage) plugin. The 1.1-SNAPSHOT dependency is downloaded and installed correctly, but the 1.0 artifact is not - though I could tell through observation of some alternate maven processes the build is specifically looking for the 1.0 artifact.
> The resolution is to either fix the maven dependency so that the geronimo-jaxws_2.2_spec-1.0 artifact is downloaded and installed automatically, or update the uddi plugin to support the geronimo-jaxws_2.2_spec-1.1-SNAPSHOT artifact.
> -
> [ger@linux7 asf-geronimo-server-trunk]# egrep -R geronimo-jaxws_2.2_spec * | grep -v ".svn" | grep -i "1.0" | grep DEPENDENCIES
> plugins/uddi/uddi-war-repackage/target/classes/WEB-INF/classes/META-INF/DEPENDENCIES:  - Apache Geronimo JAX-WS 2.2 API (http://geronimo.apache.org/maven/specs/geronimo-jaxws_2.2_spec/1.0) org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:bundle:1.0
> -
> I assume it would be easier to setup the dependency to include the geronimo-jaxws_2.2_spec-1.0 artifact. And possibly there could be a good reason why the uddi plugin is the only part of G3.0 not updated to support the 1.1-SNAPSHOT (though unknown to me at this time).
> It should also be noted, though not significant, that the LICENSE files of most all (if not all) of the components of Geronimo reference the geronimo-jaxws_2.2_spec-1.0 artifact.
> The users who attempt to build G3.0 from trunk for the first time are going to experience this issue which causes the build to fail. However, I was able to successfully build G3.0 from trunk when doing the following three steps:
> 1. Follow the documentation for building: https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html
> 2. Set MAVEN_OPTS to the following: -Xmx968m -XX:MaxPermSize=700m -XX:ReservedCodeCacheSize=64m
> 3. Manually install the geronimo-jaxws_2.2_spec-1.0 artifact as I described above
> -RG

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira