pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.ozs</groupId>
  7. <artifactId>VehicleMonitor</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <description>机车系统</description>
  11. <properties>
  12. <base.version>1.0-SNAPSHOT</base.version>
  13. <vehicle.version>1.0-SNAPSHOT</vehicle.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <!-- 依赖声明 -->
  19. <dependencyManagement>
  20. <dependencies>
  21. <!-- SpringBoot的依赖配置-->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-dependencies</artifactId>
  25. <version>2.5.14</version>
  26. <type>pom</type>
  27. <scope>import</scope>
  28. </dependency>
  29. <!-- 通用工具-->
  30. <dependency>
  31. <groupId>com.ozs</groupId>
  32. <artifactId>base-common</artifactId>
  33. <version>${base.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.ozs</groupId>
  37. <artifactId>base-framework</artifactId>
  38. <version>${base.version}</version>
  39. </dependency>
  40. <!-- 定时任务-->
  41. <dependency>
  42. <groupId>com.ozs</groupId>
  43. <artifactId>base-quartz</artifactId>
  44. <version>${base.version}</version>
  45. </dependency>
  46. <!-- 代码生成-->
  47. <dependency>
  48. <groupId>com.ozs</groupId>
  49. <artifactId>base-generator</artifactId>
  50. <version>${base.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.ozs</groupId>
  54. <artifactId>business-service</artifactId>
  55. <version>${vehicle.version}</version>
  56. </dependency>
  57. <!--kingbase8.jdbc-->
  58. <!-- <dependency>-->
  59. <!-- <groupId>com.kingbase8.jdbc</groupId>-->
  60. <!-- <artifactId>kingbase8</artifactId>-->
  61. <!-- <version>8.6.0</version>-->
  62. <!-- <scope>system</scope>-->
  63. <!-- <systemPath>${pom.basedir}/libs/kingbase8-8.6.0.jar</systemPath>-->
  64. <!-- </dependency>-->
  65. </dependencies>
  66. </dependencyManagement>
  67. <modules>
  68. <module>vehicle-admin</module>
  69. <module>business-service</module>
  70. <module>vehicle-sdk</module>
  71. </modules>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-compiler-plugin</artifactId>
  77. <version>3.1</version>
  78. <configuration>
  79. <source>${java.version}</source>
  80. <target>${java.version}</target>
  81. <encoding>${project.build.sourceEncoding}</encoding>
  82. </configuration>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. <!-- <repositories>-->
  87. <!-- <repository>-->
  88. <!-- <id>public</id>-->
  89. <!-- <name>aliyun nexus</name>-->
  90. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  91. <!-- <releases>-->
  92. <!-- <enabled>true</enabled>-->
  93. <!-- </releases>-->
  94. <!-- </repository>-->
  95. <!-- </repositories>-->
  96. <!-- <pluginRepositories>-->
  97. <!-- <pluginRepository>-->
  98. <!-- <id>public</id>-->
  99. <!-- <name>aliyun nexus</name>-->
  100. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  101. <!-- <releases>-->
  102. <!-- <enabled>true</enabled>-->
  103. <!-- </releases>-->
  104. <!-- <snapshots>-->
  105. <!-- <enabled>false</enabled>-->
  106. <!-- </snapshots>-->
  107. <!-- </pluginRepository>-->
  108. <!-- </pluginRepositories>-->
  109. <repositories>
  110. <repository>
  111. <id>custom_group</id>
  112. <name>Nexus Repository</name>
  113. <url>http://124.71.171.71:18881/repository/custom_group/</url>
  114. <snapshots>
  115. <enabled>true</enabled>
  116. </snapshots>
  117. <releases>
  118. <enabled>true</enabled>
  119. </releases>
  120. </repository>
  121. </repositories>
  122. <pluginRepositories>
  123. <pluginRepository>
  124. <id>custom_group</id>
  125. <name>Nexus Plugin Repository</name>
  126. <url>http://124.71.171.71:18881/repository/custom_group/</url>
  127. <snapshots>
  128. <enabled>true</enabled>
  129. </snapshots>
  130. <releases>
  131. <enabled>true</enabled>
  132. </releases>
  133. </pluginRepository>
  134. </pluginRepositories>
  135. <!--项目分发信息,在执行mvn deploy后表示要发布的位置。有了这些信息就可以把网站部署到远程服务器或者把构件jar等部署到远程仓库。 -->
  136. <distributionManagement>
  137. <repository><!--部署项目产生的构件到远程仓库需要的信息 -->
  138. <id>custom_releases</id><!-- 此处id和settings.xml的id保持一致 -->
  139. <name>Nexus Release Repository</name>
  140. <url>http://124.71.171.71:18881/repository/custom_releases/</url>
  141. </repository>
  142. <snapshotRepository><!--构件的快照部署到哪里?如果没有配置该元素,默认部署到repository元素配置的仓库,参见distributionManagement/repository元素 -->
  143. <id>custom_snapshots</id><!-- 此处id和settings.xml的id保持一致 -->
  144. <name>Nexus Snapshot Repository</name>
  145. <url>http://124.71.171.71:18881/repository/custom_snapshots/</url>
  146. </snapshotRepository>
  147. </distributionManagement>
  148. </project>