maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <>
Subject [jira] (MWAR-286) Please make test-jar also run for "war" packages
Date Tue, 11 Sep 2012 20:34:27 GMT


Robert Scholte commented on MWAR-286:

I understand your point, but it is weird to add the maven-jar-plugin when the packaging-type
is {{war}}. I expect this can be fixed with a small number of lines.
The result will be: one or two extra tag in the maven-war-plugin configuration instead of
the maven-jar-plugin + configuration + execution. 

> Please make test-jar also run for "war" packages
> ------------------------------------------------
>                 Key: MWAR-286
>                 URL:
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Wish
>    Affects Versions: 2.2
>            Reporter: Marco rietveld
>            Priority: Minor
> If you configure the jar plugin to also run the test-jar goal, it will only run that
if the package type in the pom of the project is "jar". 
> However, in the case of wars it's would also be handy to be able to make the test-jars
(by simply changing the configuration in one mother pom). 
> We realize that this is an edge-case. However, we (drools/jbpm) work with a project that
has _lots_ or submodules including a couple "war" submodules. Being able to simply have all
war submodules generate test-jars without having to modify each individual war submodule's
pom.xml would be nice. 
> Thanks!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message