Spring Cloud Alibaba 搭建工程项目 POM配置

<?xml version="1.0" encoding="UTF-8"?>
://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    >4.0.0>
    >
        >org.springframework.boot>
        >spring-boot-starter-parent>
        >2.2.5.RELEASE>
        > <!-- lookup parent from repository -->
    
    com.funtl
    hello-spring-cloud-alibaba
    0.0.1-SNAPSHOT
    
    pom

    >
        >1.8>
        <!--编译到源码的版本-->
        ${java.version}
        
        ${java.version}
        
        UTF-8
        UTF-8
    >

    <!--指定开源协议-->
    
        
            Apache 2.0
            http://www.apache.org/licenses/LICENSE-2.0.txt
        
    

    >
        >
            >tangwei>
            >tangwei>
            >[email protected]>
        >
    >

    <!--创建一个用于 绑定 依赖版本的模块-->
    
        
            
                com.funtl
                hello-spring-cloud-alibaba-dependencies
                ${project.version}
                pom
                import
            
        
    

    <!--多环境配置-->
    
        
            default
            
                true
            

            <!--环境工程-->
            
                0.0.12
            
            
                
                    
                        io.spring.javaformat

                        <!--格式化插件, 让代码风格更加像spring风格-->
                        spring-javaformat-maven-plugin
                        ${spring-javaformat.version}
                    >
                    >
                        >org.apache.maven.plugins>
                        >maven-surefire-plugin>
                        >
                            >
                                >**/*Tests.java>
                            >
                            >
                                >**/Abstract*.java>
                            >
                            >
                                >file:/dev/./urandom>
                                >true>
                            >
                        >
                    >
                    >
                        >org.apache.maven.plugins>
                        >maven-enforcer-plugin>
                        >
                            >
                                >enforce-rules>
                                >
                                    >enforce>
                                >
                                >
                                    >
                                        >
                                            >
                                                >commons-logging:*:*>
                                            >
                                            >true>
                                        >
                                    >
                                    >true>
                                >
                            >
                        >
                    >
                    >
                        >org.apache.maven.plugins>
                        >maven-install-plugin>
                        >
                            >true>
                        >
                    >
                    >
                        >org.apache.maven.plugins>
                        >maven-javadoc-plugin>
                        >
                            >true>
                        >
                        >true>
                    >
                >
            >
        >
    >

    <!--镜像服务器-->
    
        
            spring-milestone
            Spring Milestone
            https://repo.spring.io/milestone
            
                false
            
        
        
            spring-snapshot
            Spring Snapshot
            https://repo.spring.io/snapshot
            
                true
            
        
    

    >
        >
            >spring-milestone>
            >Spring Milestone>
            >https://repo.spring.io/milestone>
            >
                >false>
            >
        >
        >
            >spring-snapshot>
            >Spring Snapshot>
            >https://repo.spring.io/snapshot>
            >
                >true>
            >
        >
    >

>

你可能感兴趣的:(Spring Cloud Alibaba 搭建工程项目 POM配置)