2016-01-25 21:39 GMT+01:00 Robert Scholte <rfscho...@apache.org>: > Op Mon, 25 Jan 2016 21:05:58 +0100 schreef Romain Manni-Bucau < > rmannibu...@gmail.com>: > > Nothing prevents to build 2 or more wars with slightly different resources. >> Being able to skip one would be useful. >> > > That should mean different artifactIds (and groupIds or versions?), so > different projects/modules. And you always have the option to decide which > modules to build. > > having several modules for that is most of the time overkill or enforce to use overlays which are slow and can be avoided. Builderhelper plugin is a better approach most of the time.
> I think that for every example where people want to skip the packaging of > an artifact, we have (or should have) a better pattern to accomplish that. > > And if you consider maven-war-plugin as a real plugin and not the packaging of your pom - which is already doable today? > thanks, > Robert > > > Le 25 janv. 2016 20:58, "Robert Scholte" <rfscho...@apache.org> a écrit : >> >> Op Mon, 25 Jan 2016 20:55:09 +0100 schreef jieryn <jie...@gmail.com>: >>> >>> UAT module which is war for easy overlay of the main WAR module but >>> >>>> without double-pushing your (fat) war into the upstream repository? >>>> >>>> >>>> Both install:install and deploy:deploy have skip parameters for that >>> reason. AFAIK overlay still needs the war. >>> >>> Robert >>> >>> >>> On Mon, Jan 25, 2016 at 2:51 PM, Robert Scholte <rfscho...@apache.org> >>> >>>> wrote: >>>> >>>> Hi, >>>>> >>>>> I really wonder why it is useful to add a skip-parameter to the >>>>> packaging >>>>> plugin? The goal for every Maven project is to end up with some >>>>> (packaged) >>>>> artifact, right? >>>>> A skip-parameter because a lot of other plugins have it as well is IMHO >>>>> not >>>>> a good reason, so what would be a valid usecase here? >>>>> >>>>> thanks, >>>>> Robert >>>>> >>>>> Op Mon, 25 Jan 2016 20:28:39 +0100 schreef Karl Heinz Marbaise (JIRA) >>>>> <j...@apache.org>: >>>>> >>>>> >>>>> [ >>>>>> >>>>>> >>>>>> https://issues.apache.org/jira/browse/MWAR-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >>>>>> ] >>>>>> >>>>>> Karl Heinz Marbaise closed MWAR-350. >>>>>> ------------------------------------ >>>>>> Resolution: Fixed >>>>>> Assignee: Karl Heinz Marbaise >>>>>> >>>>>> Fixed in [r1726671|http://svn.apache.org/r1726671] >>>>>> >>>>>> Add Skip Parameter to Skip the process >>>>>> >>>>>>> -------------------------------------- >>>>>>> >>>>>>> Key: MWAR-350 >>>>>>> URL: https://issues.apache.org/jira/browse/MWAR-350 >>>>>>> Project: Maven WAR Plugin >>>>>>> Issue Type: New Feature >>>>>>> Affects Versions: 2.6 >>>>>>> Environment: Maven 3.3.3 >>>>>>> maven-war-plugin 2.6 >>>>>>> Reporter: Keshan De Silva >>>>>>> Assignee: Karl Heinz Marbaise >>>>>>> Priority: Trivial >>>>>>> Fix For: 3.0.0 >>>>>>> >>>>>>> Attachments: Maven_War_Skip.patch >>>>>>> >>>>>>> >>>>>>> * It will be usefull if maven-war plugin has a skip configuration as >>>>>>> in >>>>>>> most of the plugins have. >>>>>>> {code:xml} >>>>>>> <groupId>org.apache.maven.plugins</groupId> >>>>>>> <artifactId>maven-war-plugin</artifactId> >>>>>>> <version>2.6</version> >>>>>>> <configuration> >>>>>>> <skip>true</skip> >>>>>>> </configuration> >>>>>>> {code} >>>>>>> (I have attached a patch file) >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> This message was sent by Atlassian JIRA >>>>>> (v6.3.4#6332) >>>>>> >>>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>>>> For additional commands, e-mail: dev-h...@maven.apache.org >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>>> For additional commands, e-mail: dev-h...@maven.apache.org >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>> For additional commands, e-mail: dev-h...@maven.apache.org >>> >>> > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >