Maven plugin for Tomcat 9

后端 未结 3 647
日久生厌
日久生厌 2021-02-01 15:56

I didn\'t find any tomcat-maven-plugin other than tomcat7-maven-plugin. Can I use it with apache-tomcat-9.0.0.M15?

3条回答
  •  广开言路
    2021-02-01 16:23

    I'm finding answer for same question long time. Now I found.

                
                    org.codehaus.cargo
                    cargo-maven2-plugin
                    1.8.3
                    
                        
                            tomcat9x
                            embedded
                        
                        
                            
                                war
                                ${project.build.directory}/${project.build.finalName}.war
                                
                                    /
                                
                            
                        
                    
                
    
    

    And run with

    mvn package cargo:run
    
    

提交回复
热议问题