Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added link to https://builds.apache.org/job/dist-tool-plugin/site/dist-tool-prerequisites.html report

...

  1. Set the Maven prerequisite to 3.0, which might cause one or more of the following issues:
    1. Unknown dependencies in the pom.xml, e.g. the maven-project artifact doesn't exist anymore:its content is now part of maven-core 
    2. CNFE. Some classes have been moved to maven-compat. You could add it temporarily to get it all working again, later you'll get the instructions how to get rid of it.
  2. Set both the maven.compiler.source and maven.compiler.target properties to 1.6
  3. If the project depends on maven-plugin-testing-harness, use version 2.1, newer versions depend on newer version of Maven dependencies. Ensure to exclude the maven-2.x dependencies which don't exist anymore, e.g. maven-project
  4. Remove maven-compat (or give it the test-scope if it is required by the maven-plugin-testing-harness)
    Maven compat mainly contains business logic which has been moved to Aether. However, we need to support the implementations of both Sonatype (M3.0.x) and Eclipse (M3.1+). The shared component maven-artifact-transfer can select the proper implementation.
  5. Transitive dependencies can still refer to Maven-2.x artifacts, since they don't exist for Maven 3.x anymore. Ensure these are excluded. You can enforce this by adding the requireSameVersions enforcer rule to your project.
  6. Reporting plugins should include org.apache.maven.reporting:maven-reporting-api:3.0

There is a report generated daily with plugins prerequisites.

The following plugins already use successfully without maven-compat and with maven-artifact-transfer:

...