Slawomir Jaranowski created MINVOKER-304:
--------------------------------------------

             Summary: Use only common groovy modules - xml, json
                 Key: MINVOKER-304
                 URL: https://issues.apache.org/jira/browse/MINVOKER-304
             Project: Maven Invoker Plugin
          Issue Type: Improvement
            Reporter: Slawomir Jaranowski
             Fix For: 3.3.0


Currently on plugin dependencies we haveĀ 

{code}
+- org.codehaus.groovy:groovy-all:pom:3.0.10:runtime
|  +- org.codehaus.groovy:groovy:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-ant:jar:3.0.10:runtime
|  |  +- org.apache.ant:ant:jar:1.10.12:runtime
|  |  +- org.apache.ant:ant-junit:jar:1.10.12:runtime
|  |  |  \- com.sun:tools:jar:1.8.0:system
|  |  +- org.apache.ant:ant-launcher:jar:1.10.12:runtime
|  |  \- org.apache.ant:ant-antlr:jar:1.10.12:runtime
|  +- org.codehaus.groovy:groovy-astbuilder:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-cli-picocli:jar:3.0.10:runtime
|  |  \- info.picocli:picocli:jar:4.6.1:runtime
|  +- org.codehaus.groovy:groovy-console:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-datetime:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-docgenerator:jar:3.0.10:runtime
|  |  \- com.thoughtworks.qdox:qdox:jar:1.12.1:runtime
|  +- org.codehaus.groovy:groovy-groovydoc:jar:3.0.10:runtime
|  |  \- com.github.javaparser:javaparser-core:jar:3.24.0:runtime
|  +- org.codehaus.groovy:groovy-jmx:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-json:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-jsr223:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-macro:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-nio:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-servlet:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-sql:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-swing:jar:3.0.10:runtime
|  +- org.codehaus.groovy:groovy-templates:jar:3.0.10:runtime
|  \- org.codehaus.groovy:groovy-xml:jar:3.0.10:runtime
{code}

although we have many exclusions:

{code}
      <exclusions>
        <exclusion> <!-- pulls in jline with shaded org.fusesource.jansi.Ansi, 
causing invalid output for M3.5.0- -->
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-groovysh</artifactId>
        </exclusion>
        <!-- MINVOKER-285 - exclude additional tests frameworks -->
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-test</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-test-junit5</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-testng</artifactId>
        </exclusion>
        <!-- /MINVOKER-285 -->
      </exclusions>
{code}

Such many unused dependencies is not need.

We will use only common used ones:
- {{groovy-json}}
- {{groovy-xml}}

Other if needed by user can be add as plugin dependencies.





--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to