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

Henri Yandell made changes - 16/May/06 09:46 AM
Field Original Value New Value
issue.field.bugzillaimportkey 31526 12341771
Henri Yandell made changes - 16/May/06 10:59 AM
Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
Project Commons [ 12310458 ] Commons Attributes [ 12310459 ]
Component/s Attributes [ 12311100 ]
Key COM-1619 ATTRIBUTES-4
Affects Version/s 2.1 Final [ 12311659 ]
Henri Yandell made changes - 16/May/06 11:01 AM
Affects Version/s 2.1 Final [ 12311853 ]
Henri Yandell made changes - 10/Jul/06 12:09 PM
Fix Version/s 2.2 [ 12311978 ]
Henri Yandell made changes - 26/Dec/06 10:23 PM
Status Resolved [ 5 ] Closed [ 6 ]