pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="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.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.2.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.ecnu</groupId>
  12. <artifactId>smart-port-platform</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>smart-port-platform</name>
  15. <description>smart port platform</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <spring-boot.version>3.2.5</spring-boot.version>
  19. </properties>
  20. <repositories>
  21. <repository>
  22. <id>aliyun</id>
  23. <name>aliyun</name>
  24. <url>https://maven.aliyun.com/repository/public</url>
  25. <releases>
  26. <enabled>true</enabled>
  27. </releases>
  28. <snapshots>
  29. <enabled>false</enabled>
  30. </snapshots>
  31. </repository>
  32. </repositories>
  33. <dependencies>
  34. <!-- <dependency>-->
  35. <!-- <groupId>org.springframework.boot</groupId>-->
  36. <!-- <artifactId>spring-boot-starter</artifactId>-->
  37. <!-- </dependency>-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. <version>3.2.5</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.mysql</groupId>
  45. <artifactId>mysql-connector-j</artifactId>
  46. <scope>runtime</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.projectlombok</groupId>
  50. <artifactId>lombok</artifactId>
  51. <optional>true</optional>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.mybatis.spring.boot</groupId>
  60. <artifactId>mybatis-spring-boot-starter</artifactId>
  61. <version>3.0.3</version>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.8.1</version>
  70. <configuration>
  71. <source>1.8</source>
  72. <target>1.8</target>
  73. <encoding>UTF-8</encoding>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-maven-plugin</artifactId>
  79. <version>${spring-boot.version}</version>
  80. <configuration>
  81. <mainClass>com.ecnu.platform.SmartPortPlatformApplication</mainClass>
  82. <layout>JAR</layout>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <id>repackage</id>
  87. <goals>
  88. <goal>repackage</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. <!-- <build>-->
  96. <!-- <plugins>-->
  97. <!-- <plugin>-->
  98. <!-- <groupId>org.springframework.boot</groupId>-->
  99. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  100. <!-- <configuration>-->
  101. <!-- <excludes>-->
  102. <!-- <exclude>-->
  103. <!-- <groupId>org.projectlombok</groupId>-->
  104. <!-- <artifactId>lombok</artifactId>-->
  105. <!-- </exclude>-->
  106. <!-- </excludes>-->
  107. <!-- </configuration>-->
  108. <!-- </plugin>-->
  109. <!-- </plugins>-->
  110. <!-- </build>-->
  111. </project>