maven插件生成rpc client代码

个人专题目录


SpringBoot项目根据环境过滤配置文件

mybatis-generator

maven插件生成rpc client代码

Maven resource配制中include与exclude的关系

Maven仓库地址

maven添加非官方jar包到本地库

maven 打包可执行jar的方法

  • avro
  • protobuf
  • thrift

    UTF-8
    
    3.5.1
    0.9.3
    1.7.7



    
    
        org.apache.thrift
        libthrift
        ${thrift.version}
    
    
    
        junit
        junit
        4.12
        test
    
    
        commons-collections
        commons-collections
        3.2.2
    
    
        org.slf4j
        slf4j-simple
        
        1.7.12
        compile
    
    
        org.apache.avro
        avro
        ${avro.version}
    
    
        org.apache.avro
        avro-ipc
        ${avro.version}
    
    
    
        com.google.protobuf
        protobuf-java
        2.6.1
    




    
        
        
            org.apache.maven.plugins
            maven-compiler-plugin
            ${compiler-plugin.version}
            
                1.8
                1.8
                ${project.build.sourceEncoding}
                -Xlint:none
                
                    libs     
                
            
        

        
            org.apache.tomcat.maven
            tomcat7-maven-plugin
            2.2
            
                
                8080
                
                
            
        
        
        
            org.apache.maven.plugins
            maven-surefire-plugin
            2.19.1
            
                true
                true
                true
            
        
        
        
            org.apache.maven.plugins
            maven-jar-plugin
            3.0.2
            
                  
                    agent.properties
                
                
                    
                        true
                        
                        com.demo.HelloWorld
                    
                
            
        
        
        
            org.apache.maven.plugins
            maven-assembly-plugin
            2.6
            
                
                    jar-with-dependencies
                
            
        
        
        
            org.apache.maven.plugins
            maven-shade-plugin
            2.4.3
            
                
                    
                        com.xun.pf.sayHello.HelloWorld
                    
                
            
            
                
                    package
                    
                        shade
                    
                
            
        
        
        
            org.apache.maven.plugins
            maven-war-plugin
            2.6
            
                ${project.artifactId}
                
                         
                        libs/
                        WEB-INF/lib
                        
                            **/*.jar
                        
                    
                
            
        
        
        
            org.apache.maven.plugins
            maven-source-plugin
            3.0.1
            
                
                    attach-sources
                    verify
                    
                        jar-no-fork
                    
                
            
        
        
        
            org.codehaus.mojo
            exec-maven-plugin
            1.5.0
            
                
                    test
                    
                        java
                    
                
            
            
                com.demo.config.DocMapper
                
                    ${project.build.outputDirectory}\doc-path-map.txt
                    ${basedir}\src
                    **/resource/*.java
                
            
        
        
        
            org.apache.maven.plugins
            maven-dependency-plugin
            2.10
            
                ${project.build.directory}/lib
                false  
                true  
            
            
                
                    copy-dependencies
                    package
                    
                        copy-dependencies
                    
                
            
        
        
        
            org.apache.maven.plugins
            maven-idea-plugin
            2.2.1
            
                1.6
                6.0
                true
                true
                true
                false
                src/main/webapp/WEB-INF/web.xml
            
        
        
        
            org.mortbay.jetty
            maven-jetty-plugin
            6.1.26
            
                /
                3
                
                    
                        src/main/webapp/WEB-INF
                        
                            **/*.jsp
                        
                        
                            **/*.properties
                            **/*.xml
                        
                    
                
                
                    target/yyyy_mm_dd.request.log
                    90
                    true
                    false
                    GMT
                
                
                    
                        80
                        60000
                    
                
            
        
        
        
            org.mybatis.generator
            mybatis-generator-maven-plugin
            1.3.3
            
                true
                true
            
            
                
                    Generate MyBatis Artifacts
                    
                        generate
                    
                
            
        

        
            org.apache.maven.plugins
            maven-enforcer-plugin
            1.4.1
            
                
                    enforce-versions
                    
                        enforce
                    
                    
                        
                            
                                
                                WARN
                                
                                    org.apache.maven.plugins:maven-verifier-plugin
                                
                                Please consider using the maven-invoker-plugin
                                    (http://maven.apache.org/plugins/maven-invoker-plugin/)!
                                
                            
                            
                                2.0.6
                            
                            
                                1.5
                            
                            
                                unix
                            
                        
                    
                
            
        

        
            org.apache.maven.plugins
            maven-release-plugin
            2.5.3
        
        
        
            org.apache.thrift.tools
            maven-thrift-plugin
            0.1.11
            
                /usr/local/bin/thrift
            
            
                
                    thrift-sources
                    generate-sources
                    
                        compile
                    
                
                
                    thrift-test-sources
                    generate-test-sources
                    
                        testCompile
                    
                
            
        

        
        
            org.apache.avro
            avro-maven-plugin
            ${avro.version}
            
                
                    schemas
                    generate-sources
                    
                        schema
                        protocol
                        idl-protocol
                    
                
            
        

        
        
            com.github.igor-petruk.protobuf
            protobuf-maven-plugin
            0.6.5
            
                
                    
                        run
                    
                
            
            
                /usr/local/bin/protoc
            
        

        
        
            org.apache.maven.plugins
            maven-antrun-plugin
            1.8
            
                
                    compile-protoc
                    generate-sources
                    
                        
                            
                            
                                
                                    
                                
                            
                            
                            
                                
                                
                                
                            
                        
                        src/main/gen-java
                    
                    
                        run
                    
                
            
        

        
            org.apache.maven.plugins
            maven-clean-plugin
            3.0.0
            
                true
                
                    
                        src/main/gen-java
                    
                
            
        

        
        
            org.apache.maven.plugins
            maven-resources-plugin
            3.0.1
            
                UTF-8    
            
            
                
                    copy-xmls
                    process-sources
                    
                        copy-resources
                    
                    
                        ${basedir}/target/classes
                        
                            
                                ${basedir}/src/main/java
                                
                                    **/*.xml
                                
                            
                        
                    
                
            
        
    

    
        
            src/main/resources
            
                **/*.properties
                **/*.xml
            
            false
        
        
            src/main/java
            
                **/*.properties
                **/*.xml
            
            false
        
    

你可能感兴趣的:(maven插件生成rpc client代码)