Op Mon, 25 Jan 2016 21:05:58 +0100 schreef Romain Manni-Bucau <[email protected]>:

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.

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.

thanks,
Robert

Le 25 janv. 2016 20:58, "Robert Scholte" <[email protected]> a écrit :

Op Mon, 25 Jan 2016 20:55:09 +0100 schreef jieryn <[email protected]>:

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 <[email protected]>
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)
<[email protected]>:


     [

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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to