Hello,
Check this plugin parameter configuration:
http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/run-mojo.html#ignorePackaging

HTH

2012/2/24 Nathan Schile <nathan.sch...@gmail.com>:
> I currently have a project that has a package type of "jar" that I
> would like to run the embedded Tomcat instance on.  Everything works
> fine if the package is "war", but does not work when it is "jar".
> My web.xml is located in src/test/webapp/WEB-INF/web.xml
>
> Anyone know if this is possible?
>
> Output:
> [INFO] --- tomcat7-maven-plugin:2.0-SNAPSHOT:run (default-cli) @ testJar ---
> [INFO] Skipping non-war project
>
> Plugin Configuration:
> <plugin>
>   <groupId>org.apache.tomcat.maven</groupId>
>       <artifactId>tomcat7-maven-plugin</artifactId>
>       <version>2.0-SNAPSHOT</version>
>       <configuration>
>           <useTestClasspath>true</useTestClasspath>
>           <warSourceDirectory>${basedir}/src/test/webapp</warSourceDirectory>
>     </configuration>
> </plugin>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
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