Maven Ant Tasks
  1. Maven Ant Tasks
  2. MANTTASKS-178

artifact:pom task not working with Ant 1.8.0

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      $ ant -version && ant -f build-tests.xml
      Apache Ant version 1.8.0 compiled on February 1 2010
      Buildfile: /home/herve/projet/maven/ant-tasks/trunk/build-tests.xml
      
      initClassloader:
      [test:classloader] context classloader stored in classloader
      
      initTaskDefs:
      [test:classloader] context classloader classloader correctly switched back
      
      test-pom:
           [echo] Artifact ID = ${my.maven.project.artifactId}
           [echo] Parent Artifact ID = ${my.maven.project.parent.artifactId}
      
      BUILD FAILED
      /home/herve/projet/maven/ant-tasks/trunk/build-tests.xml:108: failed to get pom info ${my.maven.project.artifactId}
      
      Total time: 2 seconds
      

        Issue Links

          Activity

          Hide
          Benjamin Bentmann added a comment -

          This also kills the Maven bootstrap

          Show
          Benjamin Bentmann added a comment - This also kills the Maven bootstrap
          Hide
          Herve Boutemy added a comment -

          from Ant's frontpage explaining what's new in Ant 1.8.0:

          The way developers can extend Ant's property expansion algorithm has been rewritten (breaking the older API) to be easier to use and be more powerful.

          I need to investigate the new API, and how tasks can work both with old and new API.

          If anybody has pointers...

          Show
          Herve Boutemy added a comment - from Ant's frontpage explaining what's new in Ant 1.8.0: The way developers can extend Ant's property expansion algorithm has been rewritten (breaking the older API) to be easier to use and be more powerful. I need to investigate the new API, and how tasks can work both with old and new API. If anybody has pointers...
          Hide
          Herve Boutemy added a comment -

          fixed in r917149

          Show
          Herve Boutemy added a comment - fixed in r917149

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Herve Boutemy
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: