On Oct 8, 2013, at 9:37 PM, Phuoc Nguyen <nhph...@mytrax.co.jp> wrote:
> > Dear tomcat experts, > I am using Tomcat 7. In the manager html interface, there is a column named > version in the list of applications table. I read the document here > http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming to find > the way to set version for my web application. I deploy my web application > by tomcat-maven-plugin > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>tomcat-maven-plugin</artifactId> > > <version>1.1</version> > > <configuration> > > > <warFile>${project.build.directory}/${project.build.finalName}.war</warFile> > > <url>http://myhostname.com:8080/manager/text</url> > > <path>/</path> > > <tag>##${project.version}</tag> > > <username>tomcat</username> > > <password>xxx</password> > > </configuration> > > </plugin> > > Please help me how can I set the version for my web app. > If I manually deploy I just rename the war to ROOT#version.war. Are you using "ROOT#version.war"? Cause it should be "ROOT##version.war". Using one "#" means something different. Dan > Thanks & best regards > Phuoc Nguyen > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org