123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.mylib</groupId>
- <artifactId>GeoLib</artifactId>
- <version>1.0</version>
- <!-- 打包类型 -->
- <packaging>jar</packaging>
- <properties>
- <!-- 文件拷贝时的编码 -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <!-- 编译时的编码 -->
- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
- <!-- JAVA版本 -->
- <java.version>1.8</java.version>
- <geotools.version>28.1</geotools.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.geotools.jdbc</groupId>
- <artifactId>gt-jdbc-postgis</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <!-- geo-tools相关的依赖 -->
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-shapefile</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-swing</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <!-- geojson支持 -->
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-geojson</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <!-- 绘图 -->
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-render</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.geotools.ogc</groupId>
- <artifactId>net.opengis.wfs</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-wfs-ng</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.geotools.xsd</groupId>
- <artifactId>gt-xsd-wfs</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-epsg-hsql</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.geotools</groupId>
- <artifactId>gt-referencing</artifactId>
- <version>${geotools.version}</version>
- </dependency>
- <!--geotools使用 end-->
- <!--geoserver使用 end-->
- </dependencies>
- <repositories><repository>
- <id>osgeo</id>
- <name>OSGeo Release Repository</name>
- <url>https://repo.osgeo.org/repository/release/</url>
- <snapshots><enabled>false</enabled></snapshots>
- <releases><enabled>true</enabled></releases>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|