pom.xml常用模版

父项目pom.xml模版



    4.0.0

    sunyu.parent
    sunyu-parent
    1.0-SNAPSHOT

    pom

    sunyu-parent
    http://maven.apache.org

    
    

    
    

    
        1.8
        UTF-8
        UTF-8
    

    
    
    

        
        
            jdk.tools
            jdk.tools
            1.8
            system
            ${JAVA_HOME}/lib/tools.jar
        

        
        
        
            javax
            javaee-web-api
            7.0
            provided
        

        
        
            org.springframework
            spring-webmvc
            4.3.5.RELEASE
        
        
        
            org.springframework
            spring-jdbc
            4.3.5.RELEASE
        
        
        
            org.springframework
            spring-context-support
            4.3.5.RELEASE
        
        
        
            org.springframework
            spring-jms
            4.3.5.RELEASE
        
        
        
            org.springframework
            spring-test
            4.3.5.RELEASE
        
        
        
            org.aspectj
            aspectjweaver
            1.8.10
        

        
        
            org.slf4j
            slf4j-api
            1.7.22
        
        
        
            org.apache.logging.log4j
            log4j-api
            2.7
        
        
            org.apache.logging.log4j
            log4j-core
            2.7
        
        
        
            org.apache.logging.log4j
            log4j-slf4j-impl
            2.7
        
        
        
            org.apache.logging.log4j
            log4j-jcl
            2.7
        
        
        
            org.apache.logging.log4j
            log4j-web
            2.7
        
        
        
            org.apache.logging.log4j
            log4j-1.2-api
            2.7
        

        
        
            junit
            junit
            4.12
            test
        
        
        
            org.hamcrest
            hamcrest-all
            1.3
            test
        

        
        
            com.fasterxml.jackson.dataformat
            jackson-dataformat-xml
            2.8.5
        

        
        
            org.nutz
            nutz
            1.r.59
        

        
        
            com.jfinal
            jfinal
            2.2
        

        
        
            de.ruedigermoeller
            fst
            2.48
        

        
        
            org.jodd
            jodd-core
            3.8.0
        

        
        
            org.apache.commons
            commons-lang3
            3.5
        

        
        
            commons-codec
            commons-codec
            1.10
        

        
        
            com.alibaba
            druid
            1.0.27
        

        
        
            mysql
            mysql-connector-java
            
            
            5.1.40
        

        
        
            org.mongodb
            mongodb-driver
            3.4.1
        

        
        
            redis.clients
            jedis
            2.9.0
        

        
        
            com.ibeetl
            beetl
            2.7.5
        

        
        
            net.bull.javamelody
            javamelody-core
            1.62.0
        

        
        
            org.apache.activemq
            activemq-pool
            5.14.3
        

        
        
            org.apache.solr
            solr-solrj
            6.3.0
        

        
        
            org.quartz-scheduler
            quartz
            2.2.3
        

        
        
            org.apache.mina
            mina-core
            2.0.16
        

        
        
            org.apache.hbase
            hbase-server
            1.2.4
            
                
                    org.slf4j
                    slf4j-log4j12
                
            
        

        
        
            org.apache.kafka
            kafka_2.12
            0.10.1.1
            
                
                    org.slf4j
                    slf4j-log4j12
                
            
        
        
        
            org.apache.kafka
            kafka-clients
            
            
            
            0.10.1.1
            
        

        
        
            org.apache.storm
            storm-core
            1.0.2
        
        
        
            org.apache.storm
            storm-kafka
            1.0.2
        

        
        
            org.mybatis
            mybatis
            3.4.1
        
        
        
            org.mybatis
            mybatis-spring
            1.3.0
        
        
        
            com.github.pagehelper
            pagehelper
            4.2.1
        

        
        
            org.apache.shiro
            shiro-spring
            1.3.2
        
        
        
            org.apache.shiro
            shiro-ehcache
            1.3.2
        

    

    
        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                
                    1.8
                    1.8
                    1.8
                    UTF-8
                
            

            
                org.apache.maven.plugins
                maven-surefire-plugin
                
                    
                    true
                    once
                    -Dfile.encoding=UTF-8
                
            

            
            
                com.juvenxu.portable-config-maven-plugin
                portable-config-maven-plugin
                
                    
                        
                            replace-package
                        
                    
                
                
            
        
    

    
        sunyu-config
        sunyu-mapper
        sunyu-kit
        sunyu-service
        sunyu-storm
        sunyu-controller
        sunyu-quartz
        sunyu-web
    


WEB项目常用pom.xml模版



    4.0.0
    
        sunyu.web
        sunyu-web
        1.0-SNAPSHOT
    
    sunyu.web.shiro
    sunyu-web-shiro
    1.0-SNAPSHOT
    war
    sunyu-web-shiro Maven Webapp
    http://maven.apache.org

    
        
            sunyu.controller.shiro
            sunyu-controller-shiro
            1.0-SNAPSHOT
        
    

    
        sunyu-web-shiro

        
            
            
                org.eclipse.jetty
                jetty-maven-plugin
                
                    
                    
                    
                    1
                    
                    automatic
                    
                    
                    
                    
                        /
                        
                        
                        
                    
                
            
        
    

WEB项目web.xml常用模版




    Shiro Web Application

    
        contextConfigLocation
        classpath*:spring-*.xml
    
    
        spring监听器
        org.springframework.web.context.ContextLoaderListener
    
    
        防止spring内存溢出监听器
        org.springframework.web.util.IntrospectorCleanupListener
    

    
        字符集过滤器
        encodingFilter
        org.springframework.web.filter.CharacterEncodingFilter
        
            字符集编码
            encoding
            UTF-8
        
    
    
        encodingFilter
        /*
    

    
    
        shiroFilter
        org.springframework.web.filter.DelegatingFilterProxy
        
            
            targetFilterLifecycle
            true
        
    
    
        shiroFilter
        /*
    

    
        spring mvc servlet
        springMvc
        org.springframework.web.servlet.DispatcherServlet
        
            spring mvc 配置文件
            contextConfigLocation
            classpath*:springMvc.xml
        
        1
    
    
        springMvc
        /
    

    
    
        monitoring
        net.bull.javamelody.MonitoringFilter
        
            monitoring-path
            
            /monitoring
        
    
    
        monitoring
        /*
    
    
    
        net.bull.javamelody.SessionListener
    

    
    
        druidWebStat
        com.alibaba.druid.support.http.WebStatFilter
    
    
        druidWebStat
        /*
    
    
    
        druidStatView
        com.alibaba.druid.support.http.StatViewServlet
    
    
        druidStatView
        /druid/*
    


你可能感兴趣的:(pom.xml常用模版)