pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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>2.3.1.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>cn.gov.customs</groupId>
  12. <artifactId>wxjy-data-serivce</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>wxjy-data-service</name>
  15. <description>Data Service project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-amqp</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-test</artifactId>
  31. <scope>test</scope>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>org.junit.vintage</groupId>
  35. <artifactId>junit-vintage-engine</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <!--lombok-->
  40. <dependency>
  41. <groupId>org.projectlombok</groupId>
  42. <artifactId>lombok</artifactId>
  43. </dependency>
  44. <!-- hibernate -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-data-jpa</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.hibernate</groupId>
  51. <artifactId>hibernate-core</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <!--升级hibernate-core的版本为5.6.11.Final,解决hibernate建表时采用默认设置,hibernate会把表名大写统一转换成下划线加小写,dm表名为大写-->
  56. <!--或者添加spring.jpa.hibernate.naming.physicalstrategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl-->
  57. <dependency>
  58. <groupId>org.hibernate</groupId>
  59. <artifactId>hibernate-core</artifactId>
  60. <version>5.6.11.Final</version>
  61. </dependency>
  62. <!-- oracle -->
  63. <dependency>
  64. <groupId>com.oracle.database.jdbc</groupId>
  65. <artifactId>ojdbc6</artifactId>
  66. <version>11.2.0.4</version>
  67. </dependency>
  68. <!-- dm -->
  69. <dependency>
  70. <groupId>com.dameng</groupId>
  71. <artifactId>DmJdbcDriver18</artifactId>
  72. <scope>system</scope>
  73. <systemPath>${pom.basedir}/src/main/resources/lib/DmJdbcDriver18-8.1.2.94.jar</systemPath>
  74. <version>8.1.2.94</version>
  75. </dependency>
  76. <!-- 引入本地 hibernate gbase8s JAR-->
  77. <dependency>
  78. <groupId>com.dameng</groupId>
  79. <artifactId>DmDialect-for-hibernate5.3</artifactId>
  80. <scope>system</scope>
  81. <systemPath>${pom.basedir}/src/main/resources/lib/DmDialect-for-hibernate5.3-8.1.2.141.jar</systemPath>
  82. <version>8.1.2.141</version>
  83. </dependency>
  84. <!-- gbase -->
  85. <dependency>
  86. <groupId>com.gbase.jdbc</groupId>
  87. <artifactId>gbase-connector-java</artifactId>
  88. <!--<artifactId>gbase-connector-java-8.3.81.53-build54.4.7-bin-cutlog</artifactId>-->
  89. <scope>system</scope>
  90. <systemPath>${pom.basedir}/src/main/resources/lib/gbase-connector-java-8.3.81.53-build54.4.7-bin-cutlog.jar</systemPath>
  91. <version>8.3.81.53</version>
  92. </dependency>
  93. <!-- 引入本地 hibernate gbase8s JAR-->
  94. <dependency>
  95. <groupId>com.gbasedbt.hibernate</groupId>
  96. <artifactId>ifxhibernate</artifactId>
  97. <!--<artifactId>GBaseHibernate4.3.1-Dialect</artifactId>-->
  98. <scope>system</scope>
  99. <systemPath>${pom.basedir}/src/main/resources/lib/GBaseHibernate4.3.1-Dialect-8.3.81.51.jar</systemPath>
  100. <version>8.3.81.51</version>
  101. </dependency>
  102. <!-- log4j -->
  103. <dependency>
  104. <groupId>log4j</groupId>
  105. <artifactId>log4j</artifactId>
  106. <version>1.2.16</version>
  107. <scope>compile</scope>
  108. </dependency>
  109. <!-- mp ���� -->
  110. <dependency>
  111. <groupId>com.baomidou</groupId>
  112. <artifactId>mybatis-plus</artifactId>
  113. <version>2.3</version>
  114. </dependency>
  115. <!--jasypt加密-->
  116. <dependency>
  117. <groupId>com.github.ulisesbocchio</groupId>
  118. <artifactId>jasypt-spring-boot-starter</artifactId>
  119. <version>3.0.3</version>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <!--<resources>
  124. <resource>
  125. <directory>src/main/resources/lib</directory>
  126. <targetPath>/BOOT-INF/lib</targetPath>
  127. </resource>
  128. </resources>-->
  129. <plugins>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. <configuration>
  134. <includeSystemScope>true</includeSystemScope>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>