Groovy Modules
  1. Groovy Modules
  2. GMOD-136

GroovyWS pom has way to many (non optional) dependencies declared.

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: GroovyWS-0.5.1
    • Fix Version/s: None
    • Component/s: GroovyWS
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The biggest problem other than the fact that most of the dependencies aren't necessary is that there are a lot of conflicting xml apis. Below is an example configuration for using GroovyWS with CXF just to illistrate how out of control the dependencies are.

      <dependencyManagement>
        <dependencies>
          <dependency>
      	  <groupId>org.codehaus.groovy.modules</groupId>
      	  <artifactId>groovyws</artifactId>
      	  <version>0.5.1</version>
      	  <exclusions>
      	      <exclusion>
      		  <groupId>org.slf4j</groupId>
      		  <artifactId>slf4j-api</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.slf4j</groupId>
      		  <artifactId>jcl-over-slf4j</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.slf4j</groupId>
      		  <artifactId>slf4j-log4j12</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.slf4j</groupId>
      		  <artifactId>slf4j-parent</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>com.sun.xml.bind</groupId>
      		  <artifactId>jaxb-xjc</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.codehaus.groovy</groupId>
      		  <artifactId>groovy-all</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>commons-logging</groupId>
      		  <artifactId>commons-logging</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.santuario</groupId>
      		  <artifactId>xmlsec</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.mortbay.jetty</groupId>
      		  <artifactId>jetty-util</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>xalan</groupId>
      		  <artifactId>serializer</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.ant</groupId>
      		  <artifactId>ant-javamail</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>com.sun.xml.messaging.saaj</groupId>
      		  <artifactId>saaj-impl</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>xml-resolver</groupId>
      		  <artifactId>xml-resolver</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.geronimo.specs</groupId>
      		  <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.geronimo.specs</groupId>
      		  <artifactId>geronimo-javamail_1.4_spec</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.geronimo.specs</groupId>
      		  <artifactId>geronimo-jaxws_2.1_spec</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.jdom</groupId>
      		  <artifactId>jdom</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.ant</groupId>
      		  <artifactId>ant</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.mortbay.jetty</groupId>
      		  <artifactId>jetty</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>com.sun.xml.fastinfoset</groupId>
      		  <artifactId>FastInfoset</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.ws.security</groupId>
      		  <artifactId>wss4j</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.geronimo.specs</groupId>
      		  <artifactId>geronimo-servlet_2.5_spec</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.bouncycastle</groupId>
      		  <artifactId>bcprov-jdk15</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>org.apache.neethi</groupId>
      		  <artifactId>neethi</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>junit</groupId>
      		  <artifactId>junit</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>xalan</groupId>
      		  <artifactId>xalan</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>com.sun.xml.bind</groupId>
      		  <artifactId>jaxb-impl</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>xerces</groupId>
      		  <artifactId>xercesImpl</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>xerces</groupId>
      		  <artifactId>xmlParserAPIs</artifactId>
      	      </exclusion>
      	      <exclusion>
      		  <groupId>xml-apis</groupId>
      		  <artifactId>xml-apis</artifactId>
      	      </exclusion>
      	  </exclusions>
            </dependency>
            <dependency>
      	  <groupId>xerces</groupId>
      	  <artifactId>xercesImpl</artifactId>
      	  <version>2.6.2</version>
            </dependency>
            <dependency>
      	  <groupId>xerces</groupId>
      	  <artifactId>xmlParserAPIs</artifactId>
      	  <version>2.6.2</version>
            </dependency>
            <dependency>
      	  <groupId>javax.xml.parsers</groupId>
      	  <artifactId>jaxp-api</artifactId>
      	  <version>1.4.2</version>
            </dependency>
            <dependency>
      	  <groupId>com.sun.xml.parsers</groupId>
      	  <artifactId>jaxp-ri</artifactId>
      	  <version>1.4.2</version>
            </dependency>
            <dependency>
      	  <groupId>jaxen</groupId>
      	  <artifactId>jaxen</artifactId>
      	  <version>1.1.1</version>
            </dependency>
            <dependency>
                  <groupId>org.apache.cxf</groupId>
                  <artifactId>cxf-api</artifactId>
                  <version>${cxf.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.apache.cxf</groupId>
                  <artifactId>cxf-rt-transports-http</artifactId>
                  <version>${cxf.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.apache.cxf</groupId>
                  <artifactId>cxf-rt-databinding-jaxb</artifactId>
                  <version>${cxf.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.apache.cxf</groupId>
                  <artifactId>cxf-rt-bindings-soap</artifactId>
                  <version>${cxf.version}</version>
              </dependency>
        </dependencies>
      </dependencyManagement>
      <dependencies>
        <dependency>
            <groupId>org.codehaus.groovy.modules</groupId>
            <artifactId>groovyws</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-transports-http</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-databinding-jaxb</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-bindings-soap</artifactId>
        </dependency>
      </dependencies>
      

      Also I couldn't find the source in the codehaus repository anywhere to have a look for myself. Anyone know where it is?

        Activity

        Hide
        Rick Reumann added a comment -

        In Tomcat6, Ben's exclusion list worked perfectly for me other than I needed this dependency that is excluded in Ben's list:

        <groupId>org.apache.neethi</groupId>
        <artifactId>neethi</artifactId>

        Show
        Rick Reumann added a comment - In Tomcat6, Ben's exclusion list worked perfectly for me other than I needed this dependency that is excluded in Ben's list: <groupId>org.apache.neethi</groupId> <artifactId>neethi</artifactId>
        Hide
        Joel Schneider added a comment - - edited

        Here are links to some locations containing GroovyWS code:

        http://repository.codehaus.org/org/codehaus/groovy/modules/groovyws/
        http://snapshots.repository.codehaus.org/org/codehaus/groovy/modules/groovyws/

        (Hmm, those appear to only contain JARs, POMs, etc.)

        This may work better:

        http://xircles.codehaus.org/projects/gmod/repo/primary/repo

        Show
        Joel Schneider added a comment - - edited Here are links to some locations containing GroovyWS code: http://repository.codehaus.org/org/codehaus/groovy/modules/groovyws/ http://snapshots.repository.codehaus.org/org/codehaus/groovy/modules/groovyws/ (Hmm, those appear to only contain JARs, POMs, etc.) This may work better: http://xircles.codehaus.org/projects/gmod/repo/primary/repo
        Hide
        Guillaume ALLEON added a comment -

        Sources are located here: http://svn.codehaus.org/gmod/groovyws/trunk/
        I am using gradle as a build systems ... poms are generated automatically by gradle !

        Show
        Guillaume ALLEON added a comment - Sources are located here: http://svn.codehaus.org/gmod/groovyws/trunk/ I am using gradle as a build systems ... poms are generated automatically by gradle !

          People

          • Assignee:
            Guillaume ALLEON
            Reporter:
            Ben Tilford
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: