pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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.rongwei</groupId>
  7. <artifactId>QHSE</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <modules>
  10. <module>qhse-server</module>
  11. <module>qhse-common</module>
  12. <module>qhse-entity</module>
  13. </modules>
  14. <parent>
  15. <artifactId>InControl</artifactId>
  16. <groupId>com.rongwei</groupId>
  17. <version>1.1-SNAPSHOT</version>
  18. </parent>
  19. <properties>
  20. <mapper.version>3.4.0</mapper.version>
  21. <maven.compile.source>1.8</maven.compile.source>
  22. <maven.compile.target>1.8</maven.compile.target>
  23. <fastjson.version>1.2.83</fastjson.version>
  24. <tomcat.version>9.0.99</tomcat.version>
  25. </properties>
  26. <packaging>pom</packaging>
  27. <dependencies>
  28. <dependency>
  29. <groupId>com.dameng</groupId>
  30. <artifactId>DmJdbcDriver18</artifactId>
  31. <version>8.1.1.193</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.baomidou</groupId>
  35. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  36. <version>3.5.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. <version>1.16.14</version>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.alibaba</groupId>
  46. <artifactId>fastjson</artifactId>
  47. <version>${fastjson.version}</version>
  48. </dependency>
  49. </dependencies>
  50. <repositories>
  51. <repository>
  52. <id>oss</id>
  53. <name>oss</name>
  54. <url>https://oss.sonatype.org/content/groups/public</url>
  55. </repository>
  56. <repository>
  57. <id>spring-milestones</id>
  58. <name>Spring Milestones</name>
  59. <url>https://repo.spring.io/libs-milestone</url>
  60. <snapshots>
  61. <enabled>false</enabled>
  62. </snapshots>
  63. </repository>
  64. <repository>
  65. <id>sonatype-nexus-snapshots</id>
  66. <name>Sonatype Nexus Snapshots</name>
  67. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  68. </repository>
  69. </repositories>
  70. <!--依赖管理,用于管理spring-cloud的依赖,其中Camden.SR3是版本号-->
  71. <dependencyManagement>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-dependencies</artifactId>
  76. <version>Greenwich.RELEASE</version>
  77. <type>pom</type>
  78. <scope>import</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>fastjson</artifactId>
  83. <version>1.2.33</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.cloud</groupId>
  87. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  88. <version>0.2.1.RELEASE</version>
  89. <type>pom</type>
  90. <scope>import</scope>
  91. </dependency>
  92. </dependencies>
  93. </dependencyManagement>
  94. <distributionManagement>
  95. <snapshotRepository>
  96. <id>ossrh</id>
  97. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  98. </snapshotRepository>
  99. <repository>
  100. <id>ossrh</id>
  101. <name>Maven Central Staging Repository</name>
  102. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  103. </repository>
  104. </distributionManagement>
  105. <build>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.codehaus.mojo</groupId>
  109. <artifactId>versions-maven-plugin</artifactId>
  110. <version>2.7</version>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-compiler-plugin</artifactId>
  115. <version>${maven-compiler-plugin.version}</version>
  116. <configuration>
  117. <source>${maven.compile.source}</source>
  118. <target>${maven.compile.target}</target>
  119. <encoding>${project.build.sourceEncoding}</encoding>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-source-plugin</artifactId>
  125. <version>2.4</version>
  126. <executions>
  127. <execution>
  128. <id>attach-sources</id>
  129. <goals>
  130. <goal>jar-no-fork</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-deploy-plugin</artifactId>
  138. <version>2.8.2</version>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </project>