Issue Details (XML | Word | Printable)

Key: ATTRIBUTES-4
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Gerald Benischke
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Attributes

[attributes] Ability to add attributepackages in maven

Created: 04/Oct/04 05:46 PM   Updated: 26/Dec/06 10:23 PM
Return to search
Component/s: None
Affects Version/s: 2.1
Fix Version/s: 2.2

Time Tracking:
Not Specified

Environment:
Operating System: other
Platform: Other

Bugzilla Id: 31526


 Description  « Hide
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"/>
[...]



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
leo.sutic added a comment - 31/Aug/05 09:26 PM
Oh God. I hope you haven't given up on C-A due to my one-year leave from the
project. If you did, then I guess that'll teach me to check bugzilla bit more
often. If not, then:

I think that's a great idea (and easily implementable as well ) and I'm
surprised I didn't implement it myself. I'll roll that into the 2.2 release
that I should get out the door soon-ish.

/LS


Sebastián Fiorentini added a comment - 25/Oct/05 07:41 AM
Just insert this line (at line 76)

attributepackages="${org.apache.commons.attributes.attributepackages}"

to the plugin/plugin.jelly.

Regards,Sebastian.


Flier Lu added a comment - 25/Oct/05 12:40 PM
All the goals (commons-attributes:compile and commons-attributes:test-compile)
need this attribute. thanks