mojohaus / versions

Versions Maven Plugin
https://www.mojohaus.org/versions/versions-maven-plugin/
Apache License 2.0
337 stars 267 forks source link

Disable all reports #1048

Open delanym opened 7 months ago

delanym commented 7 months ago

What does it take to disable any/all reports for this plugin?

I had it configured in the build section, but it popped up in site generation. So I tried adding configuration

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>versions-maven-plugin</artifactId>
        <version>2.16.2</version>
        <configuration>
          <reportMode>false</reportMode>
          <skip>true</skip>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

But still the plugins leaps into action

[INFO] org.apache.maven.plugins.site.render.SiteMojo - Generating "Dependency Updates Report" report --- versions-maven-plugin:2.16.2:dependency-updates-report
[INFO] org.apache.maven.plugins.site.render.SiteMojo - Generating "Plugin Updates Report" report --- versions-maven-plugin:2.16.2:plugin-updates-report
[INFO] org.apache.maven.plugins.site.render.SiteMojo - Generating "Property Updates Report" report --- versions-maven-plugin:2.16.2:property-updates-report