pom.xml 4.45 KB
Newer Older
1
<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">
Matija Obreza's avatar
Matija Obreza committed
2
3
4
5
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.genesys-pgr</groupId>
		<artifactId>geo-tools</artifactId>
6
		<version>3.0-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	</parent>
	<artifactId>genesys-geotools</artifactId>
	<name>Genesys Geo Tools library</name>

	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<organization>
		<name>Global Crop Diversity Trust</name>
		<url>https://www.croptrust.org</url>
	</organization>

	<developers>
		<developer>
			<name>Matija Obreza</name>
			<email>matija.obreza@croptrust.org</email>
			<organization>Global Crop Diversity Trust</organization>
			<organizationUrl>http://www.croptrust.org</organizationUrl>
		</developer>
	</developers>

	<scm>
		<connection>https://bitbucket.org/genesys2/genesys-geo-tools.git</connection>
		<developerConnection>scm:git:git@bitbucket.org:genesys2/genesys-geo-tools.git</developerConnection>
		<url>git@bitbucket.org:genesys2/genesys-geo-tools.git</url>
36
	  <tag>HEAD</tag>
37
  </scm>
Matija Obreza's avatar
Matija Obreza committed
38
39
40

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Maxym Borodenko's avatar
Java 11    
Maxym Borodenko committed
41
42
		<jdk.target>11</jdk.target>
		<jdk.source>11</jdk.source>
Matija Obreza's avatar
Matija Obreza committed
43
		<!-- use the latest snapshot -->
44
		<geotools.version>24.1</geotools.version>
Matija Obreza's avatar
Matija Obreza committed
45
46
47
48
49
50
51
		<jar.mainclass>org.genesys.geotools.cli.CLI</jar.mainclass>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
Maxym Borodenko's avatar
Maxym Borodenko committed
52
			<version>1.7.30</version>
Matija Obreza's avatar
Matija Obreza committed
53
54
55
56
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
Maxym Borodenko's avatar
Maxym Borodenko committed
57
			<version>3.11</version>
Matija Obreza's avatar
Matija Obreza committed
58
59
60
61
		</dependency>
		<dependency>
			<groupId>org.geotools</groupId>
			<artifactId>gt-shapefile</artifactId>
Matija Obreza's avatar
Matija Obreza committed
62
			<version>${geotools.version}</version>
Matija Obreza's avatar
Matija Obreza committed
63
64
65
66
		</dependency>
		<dependency>
			<groupId>org.geotools</groupId>
			<artifactId>gt-cql</artifactId>
Matija Obreza's avatar
Matija Obreza committed
67
			<version>${geotools.version}</version>
Matija Obreza's avatar
Matija Obreza committed
68
69
70
71
		</dependency>
		<dependency>
			<groupId>org.geotools</groupId>
			<artifactId>gt-epsg-wkt</artifactId>
Matija Obreza's avatar
Matija Obreza committed
72
			<version>${geotools.version}</version>
Matija Obreza's avatar
Matija Obreza committed
73
74
75
76
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
Maxym Borodenko's avatar
Maxym Borodenko committed
77
			<version>30.1-jre</version>
Matija Obreza's avatar
Matija Obreza committed
78
79
80
81
82
83
84
		</dependency>

		
		<!-- Test dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
Maxym Borodenko's avatar
Maxym Borodenko committed
85
			<version>4.13.1</version>
Matija Obreza's avatar
Matija Obreza committed
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
			<scope>test</scope>
		</dependency>
	</dependencies>
	
		<profiles>
		<profile>
			<id>normal</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
		</profile>
		<profile>
			<id>release</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>2.4</version>
						<executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.10.3</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.6</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.19.1</version>
				<configuration>
					<forkMode>once</forkMode>
					<argLine>-Djava.awt.headless=true</argLine>
					<testFailureIgnore>false</testFailureIgnore>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<repositories>
		<repository>
			<id>osgeo</id>
			<name>Open Source Geospatial Foundation Repository</name>
Matija Obreza's avatar
Matija Obreza committed
168
			<url>https://repo.osgeo.org/repository/release/</url>
Matija Obreza's avatar
Matija Obreza committed
169
170
171
		</repository>
	</repositories>
</project>