NitorCreations / tomcat8-war-runner

Tomcat 8 compatible runner for exec-wars built using Tomcat 7 Maven plugin with enhanced server.xml support
18 stars 3 forks source link

How to get this to work using tomcat7:run? #1

Open alan-czajkowski opened 7 years ago

alan-czajkowski commented 7 years ago

please show a working example to get mvn tomcat7:run working with Apache Tomcat 8

mtommila commented 7 years ago

It does not work.

This is only a Tomcat war runner, i.e. a component to run an executable jar file with Tomcat 8.

The "run" goal of the Tomcat Maven Plugin uses different code to launch a Tomcat.

This tomcat8-war-runner only works with the Tomcat Maven Plugin building executable jar files but not e.g. with the tomcat7:run goal.

alan-czajkowski commented 7 years ago

are you interested in helping me create a maven tomcat8 and 9 plugin?

mtommila commented 7 years ago

It seems like this work is already ongoing: http://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk/ https://github.com/apache/tomcat-maven-plugin

Jira ticket: https://issues.apache.org/jira/browse/MTOMCAT-234