pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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.zjugis</groupId>
  7. <artifactId>nature-gis</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>1.8</maven.compiler.source>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. <project.repository.host>http://60.191.110.204:8081/nexus/content/repositories</project.repository.host>
  15. <geotools.version>19.0</geotools.version>
  16. <lombok.version>1.18.24</lombok.version>
  17. </properties>
  18. <dependencies>
  19. <!-- 解析mdb -->
  20. <dependency>
  21. <groupId>com.healthmarketscience.jackcess</groupId>
  22. <artifactId>jackcess</artifactId>
  23. <version>3.5.1</version>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>commons-lang</groupId>
  27. <artifactId>commons-lang</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <!-- geotools -->
  32. <dependency>
  33. <groupId>org.geotools</groupId>
  34. <artifactId>gt-shapefile</artifactId>
  35. <version>${geotools.version}</version>
  36. </dependency>
  37. <!-- fastjson -->
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. <version>1.2.83</version>
  42. </dependency>
  43. <!-- gis相关依赖 -->
  44. <dependency>
  45. <groupId>com.zjugis</groupId>
  46. <artifactId>gis</artifactId>
  47. <scope>system</scope>
  48. <version>1.4.2-SNAPSHOT</version>
  49. <systemPath>${project.basedir}/src/lib/gis-1.4.2-SNAPSHOT.jar</systemPath>
  50. </dependency>
  51. <!-- https://mvnrepository.com/artifact/org.kabeja/kabeja -->
  52. <dependency>
  53. <groupId>org.kabeja</groupId>
  54. <artifactId>kabeja</artifactId>
  55. <version>0.4</version>
  56. <scope>system</scope>
  57. <systemPath>${project.basedir}/src/lib/kabeja-0.4.jar</systemPath>
  58. </dependency>
  59. <!-- 验证相关 -->
  60. <dependency>
  61. <groupId>org.hibernate.validator</groupId>
  62. <artifactId>hibernate-validator</artifactId>
  63. <version>6.0.7.Final</version>
  64. <scope>compile</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.tika</groupId>
  68. <artifactId>tika-core</artifactId>
  69. <version>2.8.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.tika</groupId>
  73. <artifactId>tika-parsers-standard-package</artifactId>
  74. <version>2.8.0</version>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/com.1spatial/dwg-lib -->
  77. <dependency>
  78. <groupId>com.1spatial</groupId>
  79. <artifactId>dwg-lib</artifactId>
  80. <version>0.8</version>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  85. <plugins>
  86. <plugin>
  87. <artifactId>maven-clean-plugin</artifactId>
  88. <version>3.0.0</version>
  89. </plugin>
  90. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  91. <plugin>
  92. <artifactId>maven-resources-plugin</artifactId>
  93. <version>3.0.2</version>
  94. </plugin>
  95. <plugin>
  96. <artifactId>maven-compiler-plugin</artifactId>
  97. <version>3.7.0</version>
  98. </plugin>
  99. <plugin>
  100. <artifactId>maven-surefire-plugin</artifactId>
  101. <version>2.20.1</version>
  102. </plugin>
  103. <plugin>
  104. <artifactId>maven-jar-plugin</artifactId>
  105. <version>3.0.2</version>
  106. </plugin>
  107. <plugin>
  108. <artifactId>maven-install-plugin</artifactId>
  109. <version>2.5.2</version>
  110. </plugin>
  111. <plugin>
  112. <artifactId>maven-deploy-plugin</artifactId>
  113. <version>2.8.2</version>
  114. </plugin>
  115. <!-- 要将源码放上去,需要加入这个插件 -->
  116. <plugin>
  117. <artifactId>maven-source-plugin</artifactId>
  118. <version>3.0.1</version>
  119. <configuration>
  120. <attach>true</attach>
  121. </configuration>
  122. <executions>
  123. <execution>
  124. <phase>compile</phase>
  125. <goals>
  126. <goal>jar</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. </pluginManagement>
  133. <plugins>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-compiler-plugin</artifactId>
  137. <configuration>
  138. <source>1.8</source>
  139. <target>1.8</target>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </project>