Details
-
Type:
Task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
This is really important for several reasons:
- I don't like to clutter my main plugin package with POJO classes. For the Cargo m2 plugin I have 7-8 POJO classes and I'd like to move them to a different package
- I need to reuse existing POJOs from another jar and it's just too stupid to have to duplicate all the code or write wrapper classes with only getter/setters.
I think the best solution would be to accept @implementation javadoc tags that would map a parameter to an implementation. This would need to work not only for Mojo classes but also for POJO classes being used for configuration.
Activity
Brett Porter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Environment | ||
| Fix Version/s | 2.1 [ 11704 ] | |
| Description |
This is really important for several reasons: * I don't like to clutter my main plugin package with POJO classes. For the Cargo m2 plugin I have 7-8 POJO classes and I'd like to move them to a different package * I need to reuse existing POJOs from another jar and it's just too stupid to have to duplicate all the code or write wrapper classes with only getter/setters. I think the best solution would be to accept @implementation javadoc tags that would map a parameter to an implementation. This would need to work not only for Mojo classes but also for POJO classes being used for configuration. |
This is really important for several reasons: * I don't like to clutter my main plugin package with POJO classes. For the Cargo m2 plugin I have 7-8 POJO classes and I'd like to move them to a different package * I need to reuse existing POJOs from another jar and it's just too stupid to have to duplicate all the code or write wrapper classes with only getter/setters. I think the best solution would be to accept @implementation javadoc tags that would map a parameter to an implementation. This would need to work not only for Mojo classes but also for POJO classes being used for configuration. |
Vincent Massol
made changes -
| Workflow | Maven [ 41127 ] | Maven New [ 48087 ] |
Jason van Zyl
made changes -
| Fix Version/s | 2.1.x [ 13142 ] | |
| Fix Version/s | 2.1 [ 11704 ] |
Jason van Zyl
made changes -
| Fix Version/s | 3.x [ 13145 ] | |
| Fix Version/s | 3.0 [ 13142 ] |