You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jose María Zaragoza <de...@gmail.com> on 2013/02/28 00:05:39 UTC

[OT] tomcat7-maven-plugin

Hello:

How is it possible that tomcat7-maven-plugin has got a 'deploy' goal
but not 'undeploy' goal ?

Regards


2013/2/27 Olivier Lamy <ol...@apache.org>:
> 2013/2/27 Richard McAleer <rm...@caris.com>:
>> Hi,
>> We're using tomcat7-maven-plugin 2.1 to build an executable war using the
>> standalone-war-only goal.  The maven build still generates the normal war
>> file as well as the executable .war created by the plugin.  However, since
>> the standalone-war-only goal generates a war that is both executable and
>> deployable, we really don't need to generate the normal war file.
>>
>> Is there a good way of generating just the executable war's using the
>> plugin?  We could probably have maven delete the original .war file and
>> rename the executable .war to the normal webapp name, but that doesn't seem
>> like the best way of doing it.
> Currently no. As the generated executable war/jar contains this war
> (not an exploded war) so it's mandatory to have it.
> BTW what is your use case ?
>>
>> Thanks,
>> Richard
>>
>> --
>> Richard McAleer
>> Developer
>> Web Development Team
>>
>> *CARIS* <http://www.caris.com>
>> 115 Waggoners Lane
>> Fredericton, New Brunswick
>> Canada    E3B 2L4
>> Tel: +1.506.458.8533     Fax: +1.506.459.3849
>> www.caris.com <http://www.caris.com>
>>
>> *Connect with CARIS*
>> Twitter <http://www.twitter.com/CARIS_GIS> | LinkedIn
>> <http://www.linkedin.com/groups?mostPopular=&gid=3217878> | Facebook
>> <https://www.facebook.com/pages/CARIS-The-Marine-GIS-Experts/123907500987669?v=app_4949752878>
>> | Google+
>> <https://plus.google.com/b/114389770462919844434/114389770462919844434/posts>
>> | YouTube <http://www.youtube.com/user/CARISGIS>
>>
>> Download your free copy of CARIS Easy View today!
>> www.caris.com/easyview <http://www.caris.com/easyview>
>>
>> _________________________________________________________________________
>> This email and any files transmitted with it are confidential and intended
>> only for the addressee(s). If you are not the intended recipient(s) please
>> notify us by email reply. You should not use, disclose, distribute or copy
>> this communication if received in error.
>>
>> Any views or opinions expressed in this email are solely those of the author
>> and do not necessarily represent those of the company. No binding contract
>> will result from this email until such time as a written document is signed
>> on behalf of the company.
>>
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] tomcat7-maven-plugin

Posted by Olivier Lamy <ol...@apache.org>.
2013/2/28 Jose María Zaragoza <de...@gmail.com>:
> Hello:
>
> How is it possible that tomcat7-maven-plugin has got a 'deploy' goal
> but not 'undeploy' goal ?
sure ?
http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/undeploy-mojo.html
:-)
>
> Regards
>
>
> 2013/2/27 Olivier Lamy <ol...@apache.org>:
>> 2013/2/27 Richard McAleer <rm...@caris.com>:
>>> Hi,
>>> We're using tomcat7-maven-plugin 2.1 to build an executable war using the
>>> standalone-war-only goal.  The maven build still generates the normal war
>>> file as well as the executable .war created by the plugin.  However, since
>>> the standalone-war-only goal generates a war that is both executable and
>>> deployable, we really don't need to generate the normal war file.
>>>
>>> Is there a good way of generating just the executable war's using the
>>> plugin?  We could probably have maven delete the original .war file and
>>> rename the executable .war to the normal webapp name, but that doesn't seem
>>> like the best way of doing it.
>> Currently no. As the generated executable war/jar contains this war
>> (not an exploded war) so it's mandatory to have it.
>> BTW what is your use case ?
>>>
>>> Thanks,
>>> Richard
>>>
>>> --
>>> Richard McAleer
>>> Developer
>>> Web Development Team
>>>
>>> *CARIS* <http://www.caris.com>
>>> 115 Waggoners Lane
>>> Fredericton, New Brunswick
>>> Canada    E3B 2L4
>>> Tel: +1.506.458.8533     Fax: +1.506.459.3849
>>> www.caris.com <http://www.caris.com>
>>>
>>> *Connect with CARIS*
>>> Twitter <http://www.twitter.com/CARIS_GIS> | LinkedIn
>>> <http://www.linkedin.com/groups?mostPopular=&gid=3217878> | Facebook
>>> <https://www.facebook.com/pages/CARIS-The-Marine-GIS-Experts/123907500987669?v=app_4949752878>
>>> | Google+
>>> <https://plus.google.com/b/114389770462919844434/114389770462919844434/posts>
>>> | YouTube <http://www.youtube.com/user/CARISGIS>
>>>
>>> Download your free copy of CARIS Easy View today!
>>> www.caris.com/easyview <http://www.caris.com/easyview>
>>>
>>> _________________________________________________________________________
>>> This email and any files transmitted with it are confidential and intended
>>> only for the addressee(s). If you are not the intended recipient(s) please
>>> notify us by email reply. You should not use, disclose, distribute or copy
>>> this communication if received in error.
>>>
>>> Any views or opinions expressed in this email are solely those of the author
>>> and do not necessarily represent those of the company. No binding contract
>>> will result from this email until such time as a written document is signed
>>> on behalf of the company.
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org