You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2015/12/29 18:40:42 UTC

Question concerning common code for plugins

Hi,

currently i have identified several code parts like:

handling of classifier (validation), creation of jar file names (related 
to classifier), includes/excludes handling...may be i find more...

which have identical implementations in in the following plugins (or 
could be replaced by common code instead of reimplementing it):


maven-ejb-plugin, maven-jar-plugin, maven-source-plugin, 
maven-rar-plugin, maven-war-plugin, ...


So the question is: Is there a good shared component where this kind of 
code belongs to?

Based on the description i have read it does not fit to any of the 
existing components...But starting a new component ?

WDYT ?

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Question concerning common code for plugins

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Hervé,

On 12/29/15 7:02 PM, Hervé BOUTEMY wrote:
> Hi,
>
> We have shared maven-project-utils that already contains some common code for
> project manipulations (and never had sufficient feedback to get a release).

yes but the name let presumes something different...apart from that it 
does not look like it's being used anywhere ....

My intention is more based on a plugin level..something like: 
maven-shared-plugin

But i would take the maven-project-utils shared component and put the 
code into this project...

Thanks for the feedback..

Kind regards
Karl Heinz Marbaise

>
> Regards,
>
> Hervé
>
> Le mardi 29 décembre 2015 18:40:42 Karl Heinz Marbaise a écrit :
>> Hi,
>>
>> currently i have identified several code parts like:
>>
>> handling of classifier (validation), creation of jar file names (related
>> to classifier), includes/excludes handling...may be i find more...
>>
>> which have identical implementations in in the following plugins (or
>> could be replaced by common code instead of reimplementing it):
>>
>>
>> maven-ejb-plugin, maven-jar-plugin, maven-source-plugin,
>> maven-rar-plugin, maven-war-plugin, ...
>>
>>
>> So the question is: Is there a good shared component where this kind of
>> code belongs to?
>>
>> Based on the description i have read it does not fit to any of the
>> existing components...But starting a new component ?
>>
>> WDYT ?
>>
>> Kind regards
>> Karl Heinz Marbaise
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Question concerning common code for plugins

Posted by Hervé BOUTEMY <he...@free.fr>.
Hi,

We have shared maven-project-utils that already contains some common code for 
project manipulations (and never had sufficient feedback to get a release).

Regards,

Hervé

Le mardi 29 décembre 2015 18:40:42 Karl Heinz Marbaise a écrit :
> Hi,
> 
> currently i have identified several code parts like:
> 
> handling of classifier (validation), creation of jar file names (related
> to classifier), includes/excludes handling...may be i find more...
> 
> which have identical implementations in in the following plugins (or
> could be replaced by common code instead of reimplementing it):
> 
> 
> maven-ejb-plugin, maven-jar-plugin, maven-source-plugin,
> maven-rar-plugin, maven-war-plugin, ...
> 
> 
> So the question is: Is there a good shared component where this kind of
> code belongs to?
> 
> Based on the description i have read it does not fit to any of the
> existing components...But starting a new component ?
> 
> WDYT ?
> 
> Kind regards
> Karl Heinz Marbaise
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Question concerning common code for plugins

Posted by Dennis Lundberg <de...@gmail.com>.
Hi,

Looking at the list of affected plugins, they are all packaging plugins.
How about maven-shared-packaging?
Den 29 dec 2015 18:40 skrev "Karl Heinz Marbaise" <kh...@gmx.de>:

> Hi,
>
> currently i have identified several code parts like:
>
> handling of classifier (validation), creation of jar file names (related
> to classifier), includes/excludes handling...may be i find more...
>
> which have identical implementations in in the following plugins (or could
> be replaced by common code instead of reimplementing it):
>
>
> maven-ejb-plugin, maven-jar-plugin, maven-source-plugin, maven-rar-plugin,
> maven-war-plugin, ...
>
>
> So the question is: Is there a good shared component where this kind of
> code belongs to?
>
> Based on the description i have read it does not fit to any of the
> existing components...But starting a new component ?
>
> WDYT ?
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>