Maven
  1. Maven
  2. MNG-4162

Removal of all reporting logic from the core of Maven

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-beta-1
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      1

      Description

      Any reporting implementation will be implemented as a plugin. Maven will provide any information, APIs, and extension points to make this possible. But the conflation of building with reporting in the core makes it almost impossible for anyone to understand the distinction, makes it impossible to have alternate implementations and couple many tools like Doxia directly to the core which is unacceptable for Maven 3.x.

        Issue Links

          Activity

          Hide
          Jason van Zyl added a comment -

          This is all done isn't it, the site plugin just doesn't work 100% right?

          Show
          Jason van Zyl added a comment - This is all done isn't it, the site plugin just doesn't work 100% right?
          Hide
          Olivier Lamy added a comment -

          I have to review the its and understand the failures. (https://grid.sonatype.org/ci/view/Maven%203.0.x/job/maven-site-plugin-3.x/).
          It looks something has changed (in classworld I think) and now some reporting plugins breaks.
          But I haven't yet investigated.

          Show
          Olivier Lamy added a comment - I have to review the its and understand the failures. ( https://grid.sonatype.org/ci/view/Maven%203.0.x/job/maven-site-plugin-3.x/ ). It looks something has changed (in classworld I think) and now some reporting plugins breaks. But I haven't yet investigated.
          Hide
          Benjamin Bentmann added a comment -

          The converter of the <reporting> section is finished and the new Site Plugin is flipped over to use its own configuration, ITs look good.

          Show
          Benjamin Bentmann added a comment - The converter of the <reporting> section is finished and the new Site Plugin is flipped over to use its own configuration, ITs look good.
          Hide
          Christopher Hunt added a comment -

          Am I correct in assuming that the 2.x reporting section of a pom file is completely incompatible with Maven 3? This has been my observation at least, and I suspect that it will impact on the uptake of Maven 3. I understand the motivation in factoring out the report plugin from core, but I would favour deprecation of the reporting section in the pom over removal in order to have Maven 3 become widely adopted.

          Show
          Christopher Hunt added a comment - Am I correct in assuming that the 2.x reporting section of a pom file is completely incompatible with Maven 3? This has been my observation at least, and I suspect that it will impact on the uptake of Maven 3. I understand the motivation in factoring out the report plugin from core, but I would favour deprecation of the reporting section in the pom over removal in order to have Maven 3 become widely adopted.
          Hide
          Dennis Lundberg added a comment -

          Christopher, the Site Plugin for Maven 3 has a built-in converter, that is able to read the <reporting> section of a POM and convert it into the new model used in Maven 3. So it is possible to use <reporting> with Maven 3. Read more on the Site Plugin 3.x site:
          http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html

          Show
          Dennis Lundberg added a comment - Christopher, the Site Plugin for Maven 3 has a built-in converter, that is able to read the <reporting> section of a POM and convert it into the new model used in Maven 3. So it is possible to use <reporting> with Maven 3. Read more on the Site Plugin 3.x site: http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Jason van Zyl
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: