Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-284

use maven-plugin-tools' java 5 annotations

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Issue Links

        Activity

        Hide
        Tony Chemit added a comment -

        Patch to fix this task.

        Note that ChangesMojo#filteredOutputDirectory

        * @parameter expression="${project.build.directory}/changes"
        * @required
        * @readonly
        

        is changed to

        @Parameter( defaultValue = "${project.build.directory}/changes", required = true, readonly = true )
        

        AnnouncementEmail#templateOutputDirectory

        * @parameter expression="${project.build.directory}/announcement"
        * @required
        

        to

        @Parameter( defaultValue = "${project.build.directory}/announcement", required = true )
        

        JiraMojo#jiraXmlPath

        * @parameter expression="${project.build.directory}/jira-results.xml"
        * @required
        * @readonly
        

        to

        @Parameter( defaultValue = "${project.build.directory}/jira-results.xml", required = true, readonly = true )
        

        AnnouncementMojo#outputDirectory

        * @parameter expression="${project.build.directory}/announcement"
        * @required
        

        to

        @Parameter( defaultValue = "${project.build.directory}/announcement" )
        

        AnnouncementMojo#xmlPath

        * @parameter expression="${basedir}/src/changes/changes.xml"
        * @required
        

        to

        @Parameter( defaultValue = "${basedir}/src/changes/changes.xml" )
        

        AnnouncementMojo#jiraXML

        * @parameter expression="${project.build.directory}/jira-announcement.xml"
        * @required
        * @readonly
        

        to

        @Parameter( defaultValue = "${project.build.directory}/jira-announcement.xml", required = true, readonly = true )
        
        Show
        Tony Chemit added a comment - Patch to fix this task. Note that ChangesMojo#filteredOutputDirectory * @parameter expression= "${project.build.directory}/changes" * @required * @readonly is changed to @Parameter( defaultValue = "${project.build.directory}/changes" , required = true , readonly = true ) AnnouncementEmail#templateOutputDirectory * @parameter expression= "${project.build.directory}/announcement" * @required to @Parameter( defaultValue = "${project.build.directory}/announcement" , required = true ) JiraMojo#jiraXmlPath * @parameter expression= "${project.build.directory}/jira-results.xml" * @required * @readonly to @Parameter( defaultValue = "${project.build.directory}/jira-results.xml" , required = true , readonly = true ) AnnouncementMojo#outputDirectory * @parameter expression= "${project.build.directory}/announcement" * @required to @Parameter( defaultValue = "${project.build.directory}/announcement" ) AnnouncementMojo#xmlPath * @parameter expression= "${basedir}/src/changes/changes.xml" * @required to @Parameter( defaultValue = "${basedir}/src/changes/changes.xml" ) AnnouncementMojo#jiraXML * @parameter expression= "${project.build.directory}/jira-announcement.xml" * @required * @readonly to @Parameter( defaultValue = "${project.build.directory}/jira-announcement.xml" , required = true , readonly = true )
        Hide
        Olivier Lamy added a comment -

        Applied.
        Thanks!

        Show
        Olivier Lamy added a comment - Applied. Thanks!

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            Tony Chemit
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: