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

Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9

    XMLWordPrintableJSON

Details

    Description

      Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).

      This has been raised on the maven dev list in the following thread:
      http://markmail.org/message/tv37c37fjyzx6l6k

      I am attaching a simple pom.xml that reproduces this problem with the following command:
      mvn commons:jira-page

      (N.B. create either a "xdocs" or "src/xdoc" directory in the project)

      [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/

      Attachments

        1. pom.xml
          1 kB
          Niall Pemberton
        2. mvn-2.0.8-output.txt
          8 kB
          Niall Pemberton
        3. mvn-2.0.9-output.txt
          15 kB
          Niall Pemberton

        Activity

          People

            jdcasey John Dennis Casey
            niallp Niall Pemberton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: