|
[
Permalink
| « Hide
]
Corporate Gadfly added a comment - 21/Nov/06 02:33 PM
Here are the 2 attached files (inline for easy perusal):
build.xml pom.xml This seems similar to my experience. I can't find any documentation or an issue that precisely captures my issue, but this entry is the closest. Adding my comment here rather than creating another issue.
I started prototyping delegation to an ant script by writing the ant tasks inline with the plugins configuration. Once that worked I extracted the ant code to a separate build.xml and delegated to it using the ant task as suggested in the plugin documentation: "...it's encouraged to move all your Ant tasks to a build.xml file and just call it from the POM using Ant's <ant/> task.". Wanting to use Maven as the source of configuration I made heavy use of the Maven properties (project.build.sourceDirectory, project.build.outputDirectory, etc). The Maven property reference worked fine when I was using the inlined task but failed once it was extracted to a build.xml file. I was hoping that the Maven properties would be passed to the ant build transparently, or as long as the inhertiAll attribute was true. It surprised me that they weren't and that I'd have to essentially alias each value I needed, causing a lot of extra work. Is it possible to correct this behavior? Am I just missing something? Pardon my ignorance, I missed
The need to pass all properties in covered in
This seems to be fixed now. Possibly as a result of
|
|||||||||||||||||||||||||||||||||||||||||||||||||