I just found http://jira.codehaus.org/browse/MNG-1847 and http://jira.codehaus.org/browse/MNG-1701 This doesn't solve my problem, but answers my question, I think.
--Sven 2009/10/15 Sven Preßler <[email protected]> > Hi, > > I've got 2 antrun tasks: The first one should delete some files, the second > copies some files. > The copy-task is in a profile, since I don't need it every time. > However, if I need it, the configuration of the ant-tasks get merged. > Apart from the problem that the tasks get merged in the wrong order (copy > before delete, but delete is defined before copy in the pom), I want the > tasks to be executed in different phases -> so when the configuration gets > merged, both tasks get to be executed in either phase. > Is there a solution for maven 2.0.9? I remember reading some jira-Entry > that there was a problem with such kind of things, but don't remember > exactly. > And does the problem still exist in newer versions of maven? > > thanks, > Sven >
