tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Deploying war from dependency with tomcat7-maven-plugin
Date Tue, 10 Sep 2013 06:19:59 GMT
for 1) your jars must be in the plugin dependencies section (see jdbc
driver here http://tomcat.apache.org/maven-plugin-trunk/run-mojo-features.html
)
for 2) I understand you simply want to run a war (and maybe run unit
tests) so unpacking with the dependency looks to be the solution.

HTH

Olivier

On 9 September 2013 13:18, Greg Amerson <gregory.amerson@liferay.com> wrote:
> Hello all,
>
> I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn
> tomcat7:run* command.
>
> However, in my case I have two requirements that are different than the
> documentation provides for and I'm wondering if it is possible with the
> current tomcat7-maven-plugin.
>
> 1. need to deploy several jars to the global tomcat classpath (i.e. same as
> copying them into <tomcat.home>/lib/ext/ folder in a standalone install).
> 2. need to deploy a war to the ROOT context but instead of packaging the
> current project from source, I just need to point to an existing WAR as a
> dependency.
>
> So in my project there will be no webapp source.  I simply want to run a
> tomcat with some extra jars in /lib/ext/ directory and also deploy a war
> that is obtained via a <dependency> with war type instead of packaged from
> source.
>
> Thanks in advance for any help!
>
> --
> Greg Amerson
> Liferay Developer Tools
> Liferay, Inc. www.liferay.com



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
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


Mime
View raw message