You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2021/11/27 17:11:00 UTC

[jira] [Created] (MPLUGIN-382) To many dependencies in plugin descriptor

Slawomir Jaranowski created MPLUGIN-382:
-------------------------------------------

             Summary: To many dependencies in plugin descriptor
                 Key: MPLUGIN-382
                 URL: https://issues.apache.org/jira/browse/MPLUGIN-382
             Project: Maven Plugin Tools
          Issue Type: Bug
          Components: Plugin Plugin
    Affects Versions: 3.6.2
            Reporter: Slawomir Jaranowski


Plugin descriptor {{plugin.xml}} generated by {{maven-plugin-plugin}} in version {{*3.6.1*}} for simple mojo has only *one* dependencies as:

{code:xml}
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <type>jar</type>
      <version>1.7.32</version>
    </dependency>
  </dependencies>
{code}

but with version {{*3.6.2*}} for the same mojo we have, about *40* dependencies like:

{code:xml}
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <type>jar</type>
      <version>1.7.32</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <type>jar</type>
      <version>3.5.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>3.5.0</version>
    </dependency>
 ....
<dependencies>
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)