Nestor Urquiza created MTOMCAT-307:
--------------------------------------

             Summary: tomcat7:run: root context path not working in v2.2 but 
works for v2.0 
                 Key: MTOMCAT-307
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-307
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat7
    Affects Versions: 2.2
            Reporter: Nestor Urquiza
            Assignee: Olivier Lamy (*$^¨%`£)


When using version 2.0 with the below configuration I am able to serve the 
application from the root context path (/), however  when using version 2.2 the 
application is still served in /${project.build.finalName}. Note that I need to 
use warSourceDirectory as otherwise *.properties, log4j.xml and other resources 
won't be found. While 2.0 is working just fine I thought it made sense to 
report this either as a bug for 2.2 or to clarify my miss understanding if any.
{code}
<plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <!-- <version>2.2</version> -->
                <version>2.0</version>
                <configuration>
                  <path>/</path>
                  <warSourceDirectory>
                    ${basedir}/target/${project.build.finalName}/
                  </warSourceDirectory>
                </configuration>
            </plugin>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to