Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-322

Dependencies Files Details should reuse installed jars instead of target/classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.8
    • dependencies
    • None

    Description

      in general, site is generated in a mvn run separate from initial build:

      mvn install
      mvn site

      what I expect is that the mvn site command reuse packaged artifacts from mvn install (or even mvn package)

      but that's not what happens, and I can't tell it's a bug: AFAIK, there is no feature in Maven for the site phase to reuse

      the result is unfortunate in multi-module builds with dependencies inside the reactor: Dependencies Files Details display xxx/target/classes instead of xxx-version.jar

      see real world example: http://maven.apache.org/wagon-archives/wagon-2.8/wagon-providers/wagon-file/dependencies.html#Dependency_File_Details wagon-provider-api/target/classes

      Attachments

        1. MPIR-322.zip
          10 kB
          Herve Boutemy

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: