Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2
-
None
-
None
Description
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.
<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>