Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven Ant xml task not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven Ant xml task not working" Watch "Maven Ant xml task not working" New topic

Maven Ant xml task not working

Anu Devarla

Joined: May 10, 2007
Posts: 2
Hi I am using maevn ant xml task for manipulating xml i.e replacing the attribute value. following is the pom.xml entries, not able to copy the file to destination folder and manipulate it .But build is successful

My xml entires are :
<repository url="http://mvnrepo.9090/nexus/content/repositories/releases">

pom.xml : I downloaded xmltask.jar and added to my local m2 repository.

<echo message="Using testing configuration" />
<taskdef name="xmltask"
<target name="default">
<replace path="/deployment/sources/@url" withText="http;//" />

Let me now wts wrong. Any help is appreciated.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30130

Are you saying there are no errors or warnings; it just doesn't copy?

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Maven Ant xml task not working
Similar Threads
Strange problem - works on maven glassfish but not on Tomcat
Plugins jboss-maven-plugin and cargo-maven2-plugin with JBoss 5
Richfaces + Spring + Maven Setup help
Filtering problem using maven-read-properties plugin in pom.xml file
Could not resolve dependencies for maven project