Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5782

Provide better documentation for deprecations in Maven 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 3.0
    • None
    • Documentation: General
    • None

    Description

      Quite a few classes and methods in Maven core API have been marked as deprecated as of Maven 3. Unfortunately, there is no documentation in the code, which suggests what the valid alternatives might be. This creates a lot of uncertainty for independent plugin developers, who are not privy to the internal design and implementation decisions made by Maven core team.

      A few examples off the top of my head:

      • the entire ArtifactFactory interface
      • all but one of ArtifactResolver interface methods
      • MavenProject.getCompileArtifacts() method
      • MavenProject.getTestArtifacts() method

      I know that some functionality is now being implemented by Aether, but using Aether directly is not an option if a compatibility with Maven [3.0, 3.1) is required.

      Can you please provide javadoc for deprecated interfaces and methods, explaining in greater detail the alternatives and the suggested migration path.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sergei_ivanov@mail.ru Sergei S. Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: