Extensions for Ant target dependency stopped working in Maven 2.0.5 Candidate build -----------------------------------------------------------------------------------
Key: MNG-2821 URL: http://jira.codehaus.org/browse/MNG-2821 Project: Maven 2 Issue Type: Bug Components: Ant tasks, Dependencies, POM Affects Versions: 2.0.5 Reporter: Stephen Duncan Jr I have a POM where I configure the XFire ws-gen Ant task, and I have specified the xfire jar containing that Ant task as a build extension. In Maven 2.0.4 this worked, it does not in the latest build of Maven 2.0.5. the following error occurs: [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: taskdef class org.codehaus.xfire.gen.WsGenTask cannot be found [INFO] ------------------------------------------------------------------------ The extensions section is: <extensions> <extension> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-generator</artifactId> <version>1.2.4</version> </extension> </extensions> And the Antrun plugin configuration: <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>run</goal> </goals> <configuration> <sourceRoot>${project.build.directory}/generated-sources/java</sourceRoot> <tasks> <taskdef name="wsgen" classname="org.codehaus.xfire.gen.WsGenTask" classpathref="maven.test.classpath"/> ....................... I'm not sure if this was 'supposed' to work before or if I was choosing the wrong mechanism, but it does break one of my builds when switching from Maven 2.0.4 to 2.0.5 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira