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.amer...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to