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

PluginDescriptor doesn't read since value of parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.9
    • Fix Version/s: 3.5.0-alpha-1, 3.5.0
    • Component/s: Plugin API
    • Labels:
      None

      Description

      This causes missing information for code manipulating plugins "normally" through PluginDescriptor read by Maven core from META-INF/maven/plugin.xml.
      For example MPLUGIN-319, which parses code to create PluginDescriptor then generate META-INF/maven/plugin.xml, but gets truncated info when getting back PluginDescriptor as read by Maven core...

        Issue Links

          Activity

          Hide
          rfscholte Robert Scholte added a comment -
          Show
          rfscholte Robert Scholte added a comment - Fixed in a277f6f43a9b52c17b6aa2af069554edd2b0e42e
          Hide
          hudson Hudson added a comment - - edited

          SUCCESS: Integrated in Jenkins build maven-3.x #1404 (See https://builds.apache.org/job/maven-3.x/1404/)
          MNG-6109 PluginDescriptor doesn't read since value of parameter (rfscholte: rev http://git-wip-us.apache.org/repos/asf/maven/commit/a277f6f43a9b52c17b6aa2af069554edd2b0e42e)

          • (edit) maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
          • (edit) maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
          • (edit) maven-plugin-api/src/test/resources/plugin.xml
          Show
          hudson Hudson added a comment - - edited SUCCESS: Integrated in Jenkins build maven-3.x #1404 (See https://builds.apache.org/job/maven-3.x/1404/ ) MNG-6109 PluginDescriptor doesn't read since value of parameter (rfscholte: rev http://git-wip-us.apache.org/repos/asf/maven/commit/a277f6f43a9b52c17b6aa2af069554edd2b0e42e ) (edit) maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java (edit) maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java (edit) maven-plugin-api/src/test/resources/plugin.xml
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-plugin-tools #272 (See https://builds.apache.org/job/maven-plugin-tools/272/)
          MPLUGIN-319 @since values ignored in report
          Only use plugin.xml for M3.4.0 and above due to MNG-6109 (rfscholte: http://svn.apache.org/viewvc/?view=rev&rev=1770562)

          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/invoker.properties
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/pom.xml
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main/java
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main/java/org
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main/java/org/MyMojo.java
          • (add) maven-plugin-plugin/src/it/mplugin-329_report-since/verify.groovy
          • (edit) maven-plugin-plugin/src/it/plugin-info-jdk/pom.xml
          • (edit) maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-plugin-tools #272 (See https://builds.apache.org/job/maven-plugin-tools/272/ ) MPLUGIN-319 @since values ignored in report Only use plugin.xml for M3.4.0 and above due to MNG-6109 (rfscholte: http://svn.apache.org/viewvc/?view=rev&rev=1770562 ) (add) maven-plugin-plugin/src/it/mplugin-329_report-since (add) maven-plugin-plugin/src/it/mplugin-329_report-since/invoker.properties (add) maven-plugin-plugin/src/it/mplugin-329_report-since/pom.xml (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main/java (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main/java/org (add) maven-plugin-plugin/src/it/mplugin-329_report-since/src/main/java/org/MyMojo.java (add) maven-plugin-plugin/src/it/mplugin-329_report-since/verify.groovy (edit) maven-plugin-plugin/src/it/plugin-info-jdk/pom.xml (edit) maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
          Hide
          stephenc Stephen Connolly added a comment -

          Maven 3.4.0 has been dropped. See this thread for more details.

          This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.

          Show
          stephenc Stephen Connolly added a comment - Maven 3.4.0 has been dropped. See this thread for more details. This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.
          Hide
          hboutemy Hervé Boutemy added a comment -
          Show
          hboutemy Hervé Boutemy added a comment - fixed in f4e07acbc2a496a8866b8270e7f7a9fd44085f71

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development