Maven 2 & 3
  1. Maven 2 & 3
  2. MNG-4396

[regression] Ant plugin fails with Maven-3

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-3
    • Fix Version/s: 3.0-alpha-3
    • Component/s: Plugins and Lifecycle
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      2

      Description

      Apache Commons has an ant plugin which is used to generate custom download and issue tracking pages for the 30+ components:

      This works fine with maven 2.x but when I tried to run the goals using maven-3 built from the latest source today it fails. I'm attaching the output (run with -X) . There is a small test project which can be used to show this problem here:

      There are two goals:

      • mvn commons:download-page
      • mvn commons:jira-page

      These should each create an xml document in the xdocs directory

      1. output.txt
        12 kB
        Niall Pemberton
      2. pom.xml
        2 kB
        Niall Pemberton

        Issue Links

          Activity

          Benjamin Bentmann made changes -
          Field Original Value New Value
          Link This issue depends upon PLX-439 [ PLX-439 ]
          Benjamin Bentmann made changes -
          Affects Version/s 3.0 [ 13142 ]
          Affects Version/s 3.0-alpha-3 [ 14719 ]
          Benjamin Bentmann made changes -
          Summary Ant plugin fails with Maven-3 [regression] Ant plugin fails with Maven-3
          Hide
          Benjamin Bentmann added a comment -

          Fixed by updating to classworlds 2.2.1+ and plexus 1.4.0+

          Show
          Benjamin Bentmann added a comment - Fixed by updating to classworlds 2.2.1+ and plexus 1.4.0+
          Benjamin Bentmann made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Benjamin Bentmann [ bentmann ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Resolution Fixed [ 1 ]
          Hide
          Niall Pemberton added a comment -

          Thanks, I just built maven from the latest source and tested it out on a proper commons components - looks good

          Show
          Niall Pemberton added a comment - Thanks, I just built maven from the latest source and tested it out on a proper commons components - looks good
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4786 [ MNG-4786 ]

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Niall Pemberton
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: