Display duplicated artifact at plugin scope

Issue #262 resolved
Former user created an issue

please see the following image:

part of pom:

<packaging>maven-plugin</packaging>
<build>
  <plugins>
    <plugin>
      <artifactId>maven-plugin-plugin</artifactId>
    </plugin>
  </plugins>
</build>

part of parent pom:

<properties>
  <maven-plugin-plugin.version>3.4</maven-plugin-plugin.version>
</properties>
<build>
  <pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>${maven-plugin-plugin.version}</version>
      </plugin>
    </plugins>
  </pluginManagement>
</build>

Comments (1)

  1. Robert Reiz

    Our maven parser on the server is not perfect. If something can not be resolved please use the VersionEye Maven Plugin for that. That plugin is using the maven-core project to resolve dependencies and variables and it only sends the results as JSON to the VersionEye API.

    Just add the plugin to your pom or parent pom like this:

    <plugin>
        <groupId>com.versioneye</groupId>
        <artifactId>versioneye-maven-plugin</artifactId>
        <version>3.10.0</version>
        <configuration>
          <apiKey>MY_SECRET_API_KEY</apiKey>
        </configuration>
    </plugin>
    

    You can create a new VersionEye project with this command:

    mvn versioneye:create
    

    And you can update an existing project with this command:

    mvn versioneye:update
    

    The above command you can run on each build on Jenkins, TravisCI or any other CI server. Alternatively you can run this command, too:

    mvn versioneye:securityCheck
    

    That is just like update but it will check your dependencies for security vulnerabilities and if there are some it will break your build.

    Let me know if you have further questions to that.

  2. Log in to comment