Am 2016-01-26 um 12:05 schrieb Adrien Rivard:
Hi,

My opinon on that is that you do not need to build actual wars(neither jar
btw)  at all when you are developping within Eclipse.
Jetty and tomcat can run on exploded was strucure, and most others servers
have some eclipse tooling.

With a combination of eclipse configuration mecanism,(launch configuration
...), external to war configuration, and simple custom java code, you
should be able to put a solution to your needs.

Can you explain a bit how you solved the problem for you?
I do not even use the explode feature. I simply use Eclipse's Tomcat support along with JRebel and the WAR project. m2e and m2e-wtp make it happen. No copying necessary.

Michael

On Mon, Jan 25, 2016 at 9:49 PM, Michael Osipov <micha...@apache.org> wrote:

Am 2016-01-25 um 20:51 schrieb Robert Scholte:

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?


Building WAR files are a constant problem. I do have them myself.

Consider you have a WAR project you are using to develop within Eclipse.
Now you need a different one for every deployment site/configuration. Only
few files are different but you need separate WAR files. How to solve this?

They are obviously several ways and all have issues. The reporter of
MWAR-350 tries to solve it.

We should probably create a documentation site which describes how to
solve this problem. I have currently three different ways and none of them
satisfy me.

Michael



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

Reply via email to