[ https://jira.codehaus.org/browse/MWAR-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308279#comment-308279 ]
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: https://jira.codehaus.org/browse/MWAR-286 > 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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira