pom.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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>org.mylib</groupId>
  7. <artifactId>GeoLib</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <!-- 打包类型 -->
  10. <packaging>jar</packaging>
  11. <properties>
  12. <!-- 文件拷贝时的编码 -->
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <!-- 编译时的编码 -->
  16. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  17. <!-- JAVA版本 -->
  18. <java.version>1.8</java.version>
  19. <!-- FAST版本 -->
  20. <fast.version>2.2.1</fast.version>
  21. <geotools.version>27-SNAPSHOT</geotools.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.geotools.jdbc</groupId>
  26. <artifactId>gt-jdbc-postgis</artifactId>
  27. <version>${geotools.version}</version>
  28. </dependency>
  29. <!-- geo-tools相关的依赖 -->
  30. <dependency>
  31. <groupId>org.geotools</groupId>
  32. <artifactId>gt-shapefile</artifactId>
  33. <version>${geotools.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.geotools</groupId>
  37. <artifactId>gt-swing</artifactId>
  38. <version>${geotools.version}</version>
  39. </dependency>
  40. <!-- geojson支持 -->
  41. <dependency>
  42. <groupId>org.geotools</groupId>
  43. <artifactId>gt-geojson</artifactId>
  44. <version>${geotools.version}</version>
  45. </dependency>
  46. <!-- 绘图 -->
  47. <dependency>
  48. <groupId>org.geotools</groupId>
  49. <artifactId>gt-render</artifactId>
  50. <version>${geotools.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.geotools.ogc</groupId>
  54. <artifactId>net.opengis.wfs</artifactId>
  55. <version>${geotools.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.geotools</groupId>
  59. <artifactId>gt-wfs-ng</artifactId>
  60. <version>${geotools.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.geotools.xsd</groupId>
  64. <artifactId>gt-xsd-wfs</artifactId>
  65. <version>${geotools.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.geotools</groupId>
  69. <artifactId>gt-epsg-hsql</artifactId>
  70. <version>${geotools.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.geotools</groupId>
  74. <artifactId>gt-referencing</artifactId>
  75. <version>${geotools.version}</version>
  76. </dependency>
  77. <!--geotools使用 end-->
  78. </dependencies>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <configuration>
  85. <source>1.8</source>
  86. <target>1.8</target>
  87. <encoding>UTF-8</encoding>
  88. </configuration>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>