• 项目通用pom.xml文件模版


    pom.xml模版文件

        
        <project xmlns="http://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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
            <modelVersion>4.0.0modelVersion>
        
            
            <groupId>com.xiegroupId>
            <artifactId>StudentDemoXie12artifactId>
            <version>1.0-SNAPSHOTversion>
        
            
            <properties>
                <java.version>8java.version>
            properties>
        
            
            <parent>
                <groupId>org.springframework.bootgroupId>
                <artifactId>spring-boot-starter-parentartifactId>
                <version>2.1.6.RELEASEversion>
                <relativePath/>
            parent>
        
            
            <dependencies>
                <dependency>
                    <groupId>org.springframework.bootgroupId>
                    <artifactId>spring-boot-starter-thymeleafartifactId>
                dependency>
        
                
                <dependency>
                    <groupId>org.springframework.bootgroupId>
                    <artifactId>spring-boot-starter-data-jpaartifactId>
                dependency>
        
                
                <dependency>
                    <groupId>mysqlgroupId>
                    <artifactId>mysql-connector-javaartifactId>
                    <scope>runtimescope>
                dependency>
        
                
                <dependency>
                    <groupId>org.springframework.bootgroupId>
                    <artifactId>spring-boot-starterartifactId>
                dependency>
        
                
                <dependency>
                    <groupId>org.springframework.bootgroupId>
                    <artifactId>spring-boot-starter-testartifactId>
                    <scope>testscope>
                    <exclusions>
                        <exclusion>
                            <groupId>org.junit.vintagegroupId>
                            <artifactId>junit-vintage-engineartifactId>
                        exclusion>
                    exclusions>
                dependency>
        
                
                <dependency>
                    <groupId>org.springframework.bootgroupId>
                    <artifactId>spring-boot-starter-webartifactId>
                    <scope>compilescope>
                dependency>
        
                
                <dependency>
                    <groupId>org.projectlombokgroupId>
                    <artifactId>lombokartifactId>
                    <optional>trueoptional>
                dependency>
        
                
                <dependency>
                    <groupId>io.springfoxgroupId>
                    <artifactId>springfox-swagger2artifactId>
                    <version>2.9.2version>
                dependency>
                <dependency>
                    <groupId>io.springfoxgroupId>
                    <artifactId>springfox-swagger-uiartifactId>
                    <version>2.9.2version>
                dependency>
        
                
                <dependency>
                    <groupId>org.springframework.bootgroupId>
                    <artifactId>spring-boot-devtoolsartifactId>
                    <scope>runtimescope>
                    <optional>trueoptional>
                dependency>
            dependencies>
        
            
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.tomcat.mavengroupId>
                        <artifactId>tomcat7-maven-pluginartifactId>
                        <version>2.1version>
                        <configuration>
                            
                            <port>8080port>
                            
                            <path>/path>
                        configuration>
                    plugin>
                plugins>
            build>
        project>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
  • 相关阅读:
    【RNA structures】RNA-seq 分析: RNA转录的重构和前沿测序技术
    网络编程:socket的阻塞模式和非阻塞模式
    [激光原理与应用-36]:《光电检测技术-3》- 光学测量基础 - 光电效应与光电探测器的基本原理
    2. HarmonyOS工程结构
    童装CPC认证检测哪些内容?童装上架亚马逊美国站CPC认证办理
    【自动驾驶】开源仿真环境及项目资料汇总(持续更新)
    i18n在VUE3中使用插槽动态传入组件
    tidymodels绘制校准曲线
    SQL面试题之按照指定顺序进行多行转一列
    网络安全面试、实习、校招经验打包分享
  • 原文地址:https://blog.csdn.net/m0_69604107/article/details/133967751