Details

    • Type: Improvement Improvement
    • Status: Reopened Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: jira
    • Labels:
      None
    • Environment:
    • Number of attachments :
      1

      Description

      maven-changes-plugin is great and compiles a nice Jira report.
      We need an ability to skip the Jira report compilation. Jira instance may not always be available when on different network or completely disconnected from Jira.

      <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <version>2.6</version>
                <configuration>
                	<skip>true<skip>
                      ...
                </configuration>
      </plugin>          	
      

      Skip flag above can then be parameterized.
      I'm not sure if the plugin can be sensitive to --offline flag instead of <skip> flag.

      When Jira is unavailable, current behavior just times out during the build. But build takes forever to complete waiting for times outs and retries.

        Activity

        Hide
        cosmo added a comment -

        Attached is the fix for this issue MCHANGES-279.

        This fix checks for presence of --offline flag and accordingly skips the network operations expected for jira/trac reporting.

        Show
        cosmo added a comment - Attached is the fix for this issue MCHANGES-279 . This fix checks for presence of --offline flag and accordingly skips the network operations expected for jira/trac reporting.
        Hide
        cosmo added a comment -

        Fixed. See attachment and comments.

        Show
        cosmo added a comment - Fixed. See attachment and comments.
        Hide
        cosmo added a comment -

        Reopening this issue since the codepatch is not integrated. Code changes are missing from the sources. e.g. https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java

        Kindly integrate the patch with source and release.

        Show
        cosmo added a comment - Reopening this issue since the codepatch is not integrated. Code changes are missing from the sources. e.g. https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java Kindly integrate the patch with source and release.
        Hide
        Giacomo Boccardo added a comment -

        Why does it seem that this feature won't even be in 2.8 release?
        It would be very useful to skip the execution without using a profile.

        Show
        Giacomo Boccardo added a comment - Why does it seem that this feature won't even be in 2.8 release? It would be very useful to skip the execution without using a profile.
        Hide
        Dennis Lundberg added a comment -

        Does the solution in MCHANGES-267 solve this issue as well?

        Show
        Dennis Lundberg added a comment - Does the solution in MCHANGES-267 solve this issue as well?

          People

          • Assignee:
            Unassigned
            Reporter:
            cosmo
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: