对老项目的maven描述

阅读更多
找到jetty的jar包,在web-app下copy出webdefault.xml文件到test/config/目录下,并修改 useFileMappedBuffer初始化参数为false。



    4.0.0

    com.xxx.实际项目
    实际项目-项目模块
    1.0.0-SNAPSHOT
    war



    
        ROOT
        
        src
        ${project.build.directory}/classes
        
        src/test
        
            ${project.build.directory}/test-classes
        
        
        
            
                src
                
                    **/*.java
                
            
        
        
        
            
                test
                
                    **/*.java
                
            
        

        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                
                    1.7
                    1.7
                    UTF-8
                    
                        ${project.basedir}/WebContent/WEB-INF/lib
                    
                
            

            
            
                org.apache.maven.plugins
                maven-war-plugin
                
                    
                    ${basedir}/WebContent
                    ${basedir}/WebContent
                
            
            
            
                org.apache.maven.plugins
                maven-jar-plugin
                
                    
                        
                            true
                            ${project.build.directory}/lib/
                        
                    
                
            
            
            
             
                org.eclipse.jetty
                jetty-maven-plugin
                9.0.0.v20130308
                
                    WebContent
                    10
                    
                        /
                        test/config/webdefault.xml
                    
                    stop
                    9999
                
            
        
    


你可能感兴趣的:(maven,jetty)