Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31492

Clean up unused dependencies from root POM

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0
    • Component/s: CI/CD
    • Release Notes Summary:
      Unused dependencies have been cleaned up from the root POM.
    • Upgrade notes:
      Hide

      The following Maven dependencies were removed from the root POM, as unused:

      <dependencies>
        <dependency>
          <groupId>com.github.olivergondza</groupId>
          <artifactId>maven-jdk-tools-wrapper</artifactId>
          <type>pom</type>
        </dependency>
        <dependency>
          <groupId>org.jvnet.staxex</groupId>
          <artifactId>stax-ex</artifactId>
        </dependency>
        <dependency>
          <groupId>commons-betwixt</groupId>
          <artifactId>commons-betwixt</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.httpcomponents</groupId>
          <artifactId>httpclient-cache</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.httpcomponents</groupId>
          <artifactId>fluent-hc</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.directory.server</groupId>
          <artifactId>apacheds-core-shared</artifactId>
        </dependency>
        <dependency>
          <groupId>org.tukaani</groupId>
          <artifactId>xz</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss</groupId>
          <artifactId>jboss-vfs</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss.microcontainer</groupId>
          <artifactId>jboss-dependency</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss.microcontainer</groupId>
          <artifactId>jboss-kernel</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss.remoting</groupId>
          <artifactId>jboss-remoting</artifactId>
        </dependency>
        <dependency>
          <groupId>jboss</groupId>
          <artifactId>jboss-serialization</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss.security</groupId>
          <artifactId>jbosssx</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss.naming</groupId>
          <artifactId>jnp-client</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging-spi</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jboss</groupId>
          <artifactId>jboss-common-core</artifactId>
        </dependency>
        <dependency>
          <groupId>backport-util-concurrent</groupId>
          <artifactId>backport-util-concurrent</artifactId>
        </dependency>
        <dependency>
          <groupId>org.fusesource.jansi</groupId>
          <artifactId>jansi</artifactId>
        </dependency>
        <dependency>
          <groupId>org.hamcrest</groupId>
          <artifactId>hamcrest-all</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>oro</groupId>
          <artifactId>oro</artifactId>
        </dependency>
        <dependency>
          <groupId>bsh</groupId>
          <artifactId>bsh</artifactId>
        </dependency>
        <dependency>
          <groupId>net.sourceforge.jtds</groupId>
          <artifactId>jtds</artifactId>
        </dependency>
        <dependency>
          <groupId>javax.script</groupId>
          <artifactId>jexl-engine</artifactId>
        </dependency>
        <dependency>
          <groupId>javax.script</groupId>
          <artifactId>js-engine</artifactId>
        </dependency>
        <dependency>
          <groupId>javax.script</groupId>
          <artifactId>bsh-engine</artifactId>
        </dependency>
        <dependency>
          <groupId>imagej</groupId>
          <artifactId>imagej</artifactId>
        </dependency>
        <dependency>
          <groupId>com.google.inject.extensions</groupId>
          <artifactId>guice-servlet</artifactId>
        </dependency>
        <dependency>
          <groupId>com.google.inject.extensions</groupId>
          <artifactId>guice-assistedinject</artifactId>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>jline</groupId>
          <artifactId>jline</artifactId>
        </dependency>
        <dependency>
          <groupId>rome</groupId>
          <artifactId>rome</artifactId>
        </dependency>
        <dependency>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </dependency>
        <dependency>
          <groupId>jotm</groupId>
          <artifactId>jotm</artifactId>
        </dependency>
        <dependency>
          <groupId>net.sourceforge.nekohtml</groupId>
          <artifactId>nekohtml</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jsecurity</groupId>
          <artifactId>jsecurity</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.shindig</groupId>
          <artifactId>shindig-gadgets</artifactId>
        </dependency>
        <dependency>
          <groupId>com.google.code.guice</groupId>
          <artifactId>guice-internal</artifactId>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.shindig</groupId>
          <artifactId>shindig-common</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.shindig</groupId>
          <artifactId>shindig-social-api</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.shindig</groupId>
          <artifactId>shindig-features</artifactId>
        </dependency>
        <dependency>
          <groupId>com.google.inject.extensions</groupId>
          <artifactId>guice-jmx</artifactId>
        </dependency>
        <dependency>
          <groupId>caja</groupId>
          <artifactId>caja</artifactId>
        </dependency>
        <dependency>
          <groupId>com.googlecode.json-simple</groupId>
          <artifactId>json-simple</artifactId>
        </dependency>
        <dependency>
          <groupId>de.odysseus.juel</groupId>
          <artifactId>juel-impl</artifactId>
        </dependency>
        <dependency>
          <groupId>aopalliance</groupId>
          <artifactId>aopalliance</artifactId>
        </dependency>
        <dependency>
          <groupId>org.seleniumhq.selenium</groupId>
          <artifactId>selenium-java</artifactId>
        </dependency>
        <dependency>
          <groupId>org.dts</groupId>
          <artifactId>jmyspell-core</artifactId>
        </dependency>
        <dependency>
          <groupId>org.opensaml</groupId>
          <artifactId>openws</artifactId>
          <version>1.5.6</version>
        </dependency>
        <dependency>
          <groupId>org.apache.shindig</groupId>
          <artifactId>shindig-gadgets</artifactId>
          <classifier>tests</classifier>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.easymock</groupId>
          <artifactId>easymockclassextension</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.objectweb.howl</groupId>
          <artifactId>howl</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.ws.commons.axiom</groupId>
          <artifactId>axiom-api</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.ws.commons.axiom</groupId>
          <artifactId>axiom-impl</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.xmlgraphics</groupId>
          <artifactId>batik-css</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.xmlgraphics</groupId>
          <artifactId>batik-util</artifactId>
        </dependency>
        <dependency>
          <groupId>net.sf.jtidy</groupId>
          <artifactId>jtidy</artifactId>
        </dependency>
        <dependency>
          <groupId>net.oauth.core</groupId>
          <artifactId>oauth-consumer</artifactId>
        </dependency>
        <dependency>
          <groupId>net.oauth.core</groupId>
          <artifactId>oauth-httpclient3</artifactId>
        </dependency>
        <dependency>
          <groupId>com.ericdaugherty.mail</groupId>
          <artifactId>jes</artifactId>
        </dependency>
        <dependency>
          <groupId>dnsjava</groupId>
          <artifactId>dnsjava</artifactId>
        </dependency>
        <dependency>
          <groupId>org.glassfish.embedded</groupId>
          <artifactId>glassfish-embedded-all</artifactId>
        </dependency>
        <dependency>
          <groupId>org.knallgrau.utils</groupId>
          <artifactId>textcat</artifactId>
        </dependency>
        <dependency>
          <groupId>de.schlichtherle.io</groupId>
          <artifactId>truezip</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.felix</groupId>
          <artifactId>org.apache.felix.framework</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.octo.captcha</groupId>
          <artifactId>jcaptcha</artifactId>
        </dependency>
        <dependency>
          <groupId>com.github.segmentio</groupId>
          <artifactId>analytics</artifactId>
        </dependency>
        <dependency>
          <groupId>ro.isdc.wro4j</groupId>
          <artifactId>wro4j-extensions</artifactId>
        </dependency>
        <dependency>
          <groupId>org.jolokia</groupId>
          <artifactId>jolokia-core</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.kafka</groupId>
          <artifactId>kafka_2.12</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.kafka</groupId>
          <artifactId>kafka_2.12</artifactId>
          <classifier>test</classifier>
          <scope>test</scope>
        </dependency>
      </dependencies>
      
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jboss-packaging-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-ejb-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-rar-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
            <artifactId>maven-antrun-extended-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-pmd-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.jacoco</groupId>
            <artifactId>jacoco-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>xml-maven-plugin</artifactId>
            <version>1.0.2</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.eclipse.m2e</groupId>
            <artifactId>lifecycle-mapping</artifactId>
          </plugin>
          <plugin>
            <groupId>org.sonarsource.scanner.maven</groupId>
            <artifactId>sonar-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.codehaus.sonar-plugins</groupId>
            <artifactId>maven-report</artifactId>
          </plugin>
          <plugin>
            <groupId>io.repaint.maven</groupId>
            <artifactId>tiles-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>com.versioneye</groupId>
            <artifactId>versioneye-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>com.github.eirslett</groupId>
            <artifactId>frontend-maven-plugin</artifactId>
          </plugin>
        </plugins>
      </build>
      
      Show
      The following Maven dependencies were removed from the root POM, as unused: <dependencies> <dependency> <groupId>com.github.olivergondza</groupId> <artifactId>maven-jdk-tools-wrapper</artifactId> <type>pom</type> </dependency> <dependency> <groupId>org.jvnet.staxex</groupId> <artifactId>stax-ex</artifactId> </dependency> <dependency> <groupId>commons-betwixt</groupId> <artifactId>commons-betwixt</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-cache</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>fluent-hc</artifactId> </dependency> <dependency> <groupId>org.apache.directory.server</groupId> <artifactId>apacheds-core-shared</artifactId> </dependency> <dependency> <groupId>org.tukaani</groupId> <artifactId>xz</artifactId> </dependency> <dependency> <groupId>org.jboss</groupId> <artifactId>jboss-vfs</artifactId> </dependency> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>jboss-dependency</artifactId> </dependency> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>jboss-kernel</artifactId> </dependency> <dependency> <groupId>org.jboss.remoting</groupId> <artifactId>jboss-remoting</artifactId> </dependency> <dependency> <groupId>jboss</groupId> <artifactId>jboss-serialization</artifactId> </dependency> <dependency> <groupId>org.jboss.security</groupId> <artifactId>jbosssx</artifactId> </dependency> <dependency> <groupId>org.jboss.naming</groupId> <artifactId>jnp-client</artifactId> </dependency> <dependency> <groupId>org.jboss.logging</groupId> <artifactId>jboss-logging-spi</artifactId> </dependency> <dependency> <groupId>org.jboss</groupId> <artifactId>jboss-common-core</artifactId> </dependency> <dependency> <groupId>backport-util-concurrent</groupId> <artifactId>backport-util-concurrent</artifactId> </dependency> <dependency> <groupId>org.fusesource.jansi</groupId> <artifactId>jansi</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>oro</groupId> <artifactId>oro</artifactId> </dependency> <dependency> <groupId>bsh</groupId> <artifactId>bsh</artifactId> </dependency> <dependency> <groupId>net.sourceforge.jtds</groupId> <artifactId>jtds</artifactId> </dependency> <dependency> <groupId>javax.script</groupId> <artifactId>jexl-engine</artifactId> </dependency> <dependency> <groupId>javax.script</groupId> <artifactId>js-engine</artifactId> </dependency> <dependency> <groupId>javax.script</groupId> <artifactId>bsh-engine</artifactId> </dependency> <dependency> <groupId>imagej</groupId> <artifactId>imagej</artifactId> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-servlet</artifactId> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-assistedinject</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> </dependency> <dependency> <groupId>rome</groupId> <artifactId>rome</artifactId> </dependency> <dependency> <groupId>jdom</groupId> <artifactId>jdom</artifactId> </dependency> <dependency> <groupId>jotm</groupId> <artifactId>jotm</artifactId> </dependency> <dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> </dependency> <dependency> <groupId>org.jsecurity</groupId> <artifactId>jsecurity</artifactId> </dependency> <dependency> <groupId>org.apache.shindig</groupId> <artifactId>shindig-gadgets</artifactId> </dependency> <dependency> <groupId>com.google.code.guice</groupId> <artifactId>guice-internal</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.shindig</groupId> <artifactId>shindig-common</artifactId> </dependency> <dependency> <groupId>org.apache.shindig</groupId> <artifactId>shindig-social-api</artifactId> </dependency> <dependency> <groupId>org.apache.shindig</groupId> <artifactId>shindig-features</artifactId> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-jmx</artifactId> </dependency> <dependency> <groupId>caja</groupId> <artifactId>caja</artifactId> </dependency> <dependency> <groupId>com.googlecode.json-simple</groupId> <artifactId>json-simple</artifactId> </dependency> <dependency> <groupId>de.odysseus.juel</groupId> <artifactId>juel-impl</artifactId> </dependency> <dependency> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> </dependency> <dependency> <groupId>org.dts</groupId> <artifactId>jmyspell-core</artifactId> </dependency> <dependency> <groupId>org.opensaml</groupId> <artifactId>openws</artifactId> <version>1.5.6</version> </dependency> <dependency> <groupId>org.apache.shindig</groupId> <artifactId>shindig-gadgets</artifactId> <classifier>tests</classifier> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymockclassextension</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.objectweb.howl</groupId> <artifactId>howl</artifactId> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-api</artifactId> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-impl</artifactId> </dependency> <dependency> <groupId>org.apache.xmlgraphics</groupId> <artifactId>batik-css</artifactId> </dependency> <dependency> <groupId>org.apache.xmlgraphics</groupId> <artifactId>batik-util</artifactId> </dependency> <dependency> <groupId>net.sf.jtidy</groupId> <artifactId>jtidy</artifactId> </dependency> <dependency> <groupId>net.oauth.core</groupId> <artifactId>oauth-consumer</artifactId> </dependency> <dependency> <groupId>net.oauth.core</groupId> <artifactId>oauth-httpclient3</artifactId> </dependency> <dependency> <groupId>com.ericdaugherty.mail</groupId> <artifactId>jes</artifactId> </dependency> <dependency> <groupId>dnsjava</groupId> <artifactId>dnsjava</artifactId> </dependency> <dependency> <groupId>org.glassfish.embedded</groupId> <artifactId>glassfish-embedded-all</artifactId> </dependency> <dependency> <groupId>org.knallgrau.utils</groupId> <artifactId>textcat</artifactId> </dependency> <dependency> <groupId>de.schlichtherle.io</groupId> <artifactId>truezip</artifactId> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.framework</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.octo.captcha</groupId> <artifactId>jcaptcha</artifactId> </dependency> <dependency> <groupId>com.github.segmentio</groupId> <artifactId>analytics</artifactId> </dependency> <dependency> <groupId>ro.isdc.wro4j</groupId> <artifactId>wro4j-extensions</artifactId> </dependency> <dependency> <groupId>org.jolokia</groupId> <artifactId>jolokia-core</artifactId> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.12</artifactId> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.12</artifactId> <classifier>test</classifier> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jboss-packaging-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-rar-plugin</artifactId> </plugin> <plugin> <groupId>org.jvnet.maven-antrun-extended-plugin</groupId> <artifactId>maven-antrun-extended-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> <version>1.0.2</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.sonar-plugins</groupId> <artifactId>maven-report</artifactId> </plugin> <plugin> <groupId>io.repaint.maven</groupId> <artifactId>tiles-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> </plugin> <plugin> <groupId>com.versioneye</groupId> <artifactId>versioneye-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> </plugin> </plugins> </build>
    • Sprint:
      nxplatform #80, nxplatform #81, nxplatform #82, nxplatform #83
    • Story Points:
      8

      Description

      A lots of dependencies seem unused, such as the JBoss, Glassfish related ones for instance.
      This can be an issue as it makes the dependency graph even bigger, then for Dependabot:

      • It makes the dependency check longer.
      • Some PRs are opened to update the version of an unused dependency, which wastes some time/resources on the CI.
         

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: