Versions of Maven Plugin in Eclipse

How to add Version-Maven-Plugin to my Eclipse projects?

I tried the menu option Add Plugins, but it did not seem to be able to find the plugin.

+5
source share
2 answers

You must add the maven plugin version to the reporting part of your pom in order to generate the appropriate dependency update reports.

<reporting>
  <plugins>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>versions-maven-plugin</artifactId>
      <version>1.3.1</version>
      <reportSets>
        <reportSet>
          <reports>
            <report>dependency-updates-report</report>
            <report>plugin-updates-report</report>
            <report>property-updates-report</report>
          </reports>
        </reportSet>
      </reportSets>
    </plugin>
  </plugins>
</reporting>

You cannot install version-maven-plugin in Eclipse because version-maven is a Maven plugin, not an Eclipse plugin. But not a bad idea.

+5
source

To check the maven plugin version in eclipse:

  • "" → "" → Maven → "". Maven.
+15

All Articles