Op Mon, 25 Jan 2016 20:54:20 +0100 schreef Aldrin Leal
<[email protected]>:
There are cases where one could use a profile to build a custom assembly
of
the war (say, like with jetty runner to run under a given paas), and
attaching just the relevant classes / assets, thus saving time.
Custom assembly profile, that sounds like abuse of profiles.
Be aware that we've decided some behavior of both the install and deploy
plugins, see MavenProject with only attachments must have packaging "pom"
[1][2].
It looks like here's an example which used to rely on that behavior.
Is the effect the same as 'mvn compile jetty:run'?
thanks,
Robert
[1] https://issues.apache.org/jira/browse/MINSTALL-118
[2] https://issues.apache.org/jira/browse/MDEPLOY-205
--
-- Aldrin Leal, <[email protected]> / http://about.me/aldrinleal
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]