Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19667

Upgrade to ant-maven-assembly-plugin 2.0.6

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF12, 8.3
    • Component/s: Infrastructure
    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      The default filtering out of test and provided has changed with the ant-assembly-maven-plugin upgrade to 2.0.6 (see NXBT-992).
      Before AAMP 2.0.6: `<artifact scope="!test" />` meant `scope!=test && scope!=provided`
      As of AAMP 2.0.6: `<artifact scope="!test" />` means `scope!=test` as expected.
      A shortcut to the legacy default behavior is available with `<artifact scope="" />` meaning `scope!=test && scope!=provided`

      It is recommended to replace that common assembly pattern:
      <artifact:set>
      <includes>
      <artifact groupId="org.nuxeo*" scope="!test" type="!pom" />
      </includes>
      </artifact:set>
      with:
      <artifact:set>
      <includes>
      <artifact groupId="org.nuxeo*" />
      </includes>
      <excludes>
      <artifact scope="test" />
      <artifact scope="provided" />
      </excludes>
      </artifact:set>

      Show
      The default filtering out of test and provided has changed with the ant-assembly-maven-plugin upgrade to 2.0.6 (see NXBT-992 ). Before AAMP 2.0.6: `<artifact scope="!test" />` meant `scope!=test && scope!=provided` As of AAMP 2.0.6: `<artifact scope="!test" />` means `scope!=test` as expected. A shortcut to the legacy default behavior is available with `<artifact scope="" />` meaning `scope!=test && scope!=provided` It is recommended to replace that common assembly pattern: <artifact:set> <includes> <artifact groupId="org.nuxeo*" scope="!test" type="!pom" /> </includes> </artifact:set> with: <artifact:set> <includes> <artifact groupId="org.nuxeo*" /> </includes> <excludes> <artifact scope="test" /> <artifact scope="provided" /> </excludes> </artifact:set>
    • Sprint:
      DevOps-12
    • Story Points:
      1

      Description

      Upgrade to ant-maven-assembly-plugin 2.0.6

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 2 hours, 59 minutes
                  2h 59m
                  Logged:
                  Remaining Estimate - 2 hours, 59 minutes
                  1m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.