• SpringBoot工程模板


    spring脚手架https://start.spring.io/

    1. "1.0" encoding="UTF-8"?>
    2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    4. <modelVersion>4.0.0modelVersion>
    5. <parent>
    6. <groupId>org.springframework.bootgroupId>
    7. <artifactId>spring-boot-starter-parentartifactId>
    8. <version>2.7.15version>
    9. <relativePath/>
    10. parent>
    11. <groupId>com.etoakgroupId>
    12. <artifactId>test-shardingsphereartifactId>
    13. <version>0.0.1-SNAPSHOTversion>
    14. <name>test-shardingspherename>
    15. <description>test-shardingspheredescription>
    16. <properties>
    17. <java.version>1.8java.version>
    18. properties>
    19. <dependencies>
    20. <dependency>
    21. <groupId>org.springframework.bootgroupId>
    22. <artifactId>spring-boot-starterartifactId>
    23. dependency>
    24. <dependency>
    25. <groupId>org.springframework.bootgroupId>
    26. <artifactId>spring-boot-starter-testartifactId>
    27. <scope>testscope>
    28. dependency>
    29. dependencies>
    30. <build>
    31. <plugins>
    32. <plugin>
    33. <groupId>org.springframework.bootgroupId>
    34. <artifactId>spring-boot-maven-pluginartifactId>
    35. plugin>
    36. plugins>
    37. build>
    38. project>

    aliyun脚手架:https://start.aliyun.com

    1. "1.0" encoding="UTF-8"?>
    2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    4. <modelVersion>4.0.0modelVersion>
    5. <groupId>com.examplegroupId>
    6. <artifactId>test-shardingjdbcartifactId>
    7. <version>0.0.1-SNAPSHOTversion>
    8. <name>test-shardingjdbcname>
    9. <description>test-shardingjdbcdescription>
    10. <properties>
    11. <java.version>1.8java.version>
    12. <project.build.sourceEncoding>UTF-8project.build.sourceEncoding>
    13. <project.reporting.outputEncoding>UTF-8project.reporting.outputEncoding>
    14. <spring-boot.version>2.7.6spring-boot.version>
    15. properties>
    16. <dependencies>
    17. <dependency>
    18. <groupId>org.springframework.bootgroupId>
    19. <artifactId>spring-boot-starterartifactId>
    20. dependency>
    21. <dependency>
    22. <groupId>org.springframework.bootgroupId>
    23. <artifactId>spring-boot-starter-testartifactId>
    24. <scope>testscope>
    25. dependency>
    26. dependencies>
    27. <dependencyManagement>
    28. <dependencies>
    29. <dependency>
    30. <groupId>org.springframework.bootgroupId>
    31. <artifactId>spring-boot-dependenciesartifactId>
    32. <version>${spring-boot.version}version>
    33. <type>pomtype>
    34. <scope>importscope>
    35. dependency>
    36. dependencies>
    37. dependencyManagement>
    38. <build>
    39. <plugins>
    40. <plugin>
    41. <groupId>org.apache.maven.pluginsgroupId>
    42. <artifactId>maven-compiler-pluginartifactId>
    43. <version>3.8.1version>
    44. <configuration>
    45. <source>1.8source>
    46. <target>1.8target>
    47. <encoding>UTF-8encoding>
    48. configuration>
    49. plugin>
    50. <plugin>
    51. <groupId>org.springframework.bootgroupId>
    52. <artifactId>spring-boot-maven-pluginartifactId>
    53. <version>${spring-boot.version}version>
    54. <configuration>
    55. <mainClass>com.example.testshardingjdbc.TestShardingjdbcApplicationmainClass>
    56. <skip>trueskip>
    57. configuration>
    58. <executions>
    59. <execution>
    60. <id>repackageid>
    61. <goals>
    62. <goal>repackagegoal>
    63. goals>
    64. execution>
    65. executions>
    66. plugin>
    67. plugins>
    68. build>
    69. project>

  • 相关阅读:
    sql函数coalesce和parse_url
    OpenCV之C++经典案例
    颜色的识别方法和探索 基于matlab
    C++ Qt 开发:ListWidget列表框组件
    Linux内核知识点---线程与锁
    01_SHELL编程之变量定义(一)
    毕业仅1年,干Python赚了50W!网友:不是吹的
    linux c++调试 CMakeLists编写
    十年开发老手,深度解析企业用人标准为何越来越高?!
    一个移动应用程序是如何让我被动地赚到 500 美元以上的?
  • 原文地址:https://blog.csdn.net/wsdhla/article/details/133127682