Web app version in Tomcat Manager

前端 未结 5 1244
猫巷女王i
猫巷女王i 2020-12-13 17:55

How can I configure my web application for deployment in Tomcat so that Tomcat Manager shows the version in the table that lists all applications installed (/manager/html/li

5条回答
  •  暖寄归人
    2020-12-13 18:08

    For maven, use the tomcat plugin configuration path :

    
        ...
        
            ...
            
                
                    org.apache.tomcat.maven
                    tomcat7-maven-plugin
                    2.2
                    
                        /${project.artifactId}##${project.version}
                    
                
            
            ...
        
        ...
    
    

    finalName trick didn't worked for me.

提交回复
热议问题