Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1
-
None
-
Operating System: other
Platform: Other
-
31526
Description
When the ant:attribute-compiler is used in ant, there is no way for maven to
pass a value for the attributepackages property.
It would be nice if it were possible to add a property in the project.properties
of the current project that specifies the attributepackages. E.g.
project.properties:
[...]
org.apache.commons.attributes.packages=my.package
[...]
which is then used in the maven plugin:
[...]
<ant:attribute-compiler inMaven="true" sourcepathref="maven.compile.src.set"
attributepackages="${org.apache.commons.attributes.packages}"
destdir="${maven.build.dir}/commons-attributes"/>
[...]