Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F96A408A for ; Fri, 10 Jun 2011 20:47:21 +0000 (UTC) Received: (qmail 44164 invoked by uid 500); 10 Jun 2011 20:47:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 44092 invoked by uid 500); 10 Jun 2011 20:47:20 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 44085 invoked by uid 99); 10 Jun 2011 20:47:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 20:47:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 20:47:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4E27610D54C for ; Fri, 10 Jun 2011 20:46:59 +0000 (UTC) Date: Fri, 10 Jun 2011 20:46:59 +0000 (UTC) From: "Russell E Glaue (JIRA)" To: dev@geronimo.apache.org Message-ID: <1444715500.12143.1307738819317.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1291796810.10819.1307717938938.JavaMail.tomcat@hel.zones.apache.org> Subject: [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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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