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.


On Mon, Jan 25, 2016 at 9:49 PM, Michael Osipov <[email protected]> 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)
>> <[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]
>
>


-- 
Adrien Rivard

Reply via email to