Maven自动发布到Tomcat

maven settings.xml


      
      nexus-releases  
      admin  
      admin123  
      
      
      nexus-snapshots  
      admin  
      admin123  
      
    
      local_tomcat7
      tomcat
      tomcat1@3
    
    
      local_tomcat8
      tomcat
      tomcat1@3
    
    
      test_server
      tomcat
      tomcat1@3
    
  

maven项目pom.xml


        install
        jxc   
        
            
                org.apache.maven.plugins
                maven-war-plugin
                2.3
            
            
                org.codehaus.mojo
                tomcat-maven-plugin
                1.1
                
                    UTF-8
                    http://192.168.1.88:8083/manager/text
                    /jxc
                    test_server
                    UTF-8
                
            
        
    

tomcat-users.xml

  
  
  
  
  
  
  

你可能感兴趣的:(Maven自动发布到Tomcat)