pom.xml 5.71 KB
Newer Older
1
2
<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>
Matija Obreza's avatar
Matija Obreza committed
3
	<groupId>org.genesys-pgr</groupId>
4
	<artifactId>glis-client-project</artifactId>
5
	<version>1.0</version>
6
7
	<packaging>pom</packaging>
	<name>GLIS SDKs for Java</name>
Matija Obreza's avatar
Matija Obreza committed
8
	<url>https://gitlab.croptrust.org/genesys-pgr/glis-client</url>
9
10
	<description>API client for the Global Information System for plant genetic resources for food and agriculture (PGRFA)</description>

Matija Obreza's avatar
Matija Obreza committed
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
	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<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>

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

	<scm>
		<connection>scm:https://gitlab.croptrust.org/genesys-pgr/glis-client</connection>
		<developerConnection>scm:git:git@gitlab.croptrust.org:genesys-pgr/glis-client.git</developerConnection>
		<url>git@gitlab.croptrust.org:genesys-pgr/glis-client.git</url>
36
		<tag>glis-client-project-1.0</tag>
Matija Obreza's avatar
Matija Obreza committed
37
38
39
40
41
42
43
	</scm>

	<issueManagement>
		<url>https://gitlab.croptrust.org/genesys-pgr/glis-client/issues</url>
		<system>Gitlab</system>
	</issueManagement>

44
	<modules>
45
		<module>common</module>
46
47
		<module>okhttp-gson</module>
		<module>jersey2</module>
48
		<module>resteasy</module>
49
50
51
		<module>resttemplate</module>
	</modules>

52
53
54
55
56
57
58
	<properties>
		<skipTests>true</skipTests>

		<java.version>1.8</java.version>
		<maven.compiler.source>${java.version}</maven.compiler.source>
		<maven.compiler.target>${java.version}</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59
60
61
62
63

		<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
		<junit-version>4.12</junit-version>
		<jodatime-version>2.9.3</jodatime-version>

64
65
		<swagger-core.version>1.5.15</swagger-core.version>
		<swagger-codegen.version>2.3.0-SNAPSHOT</swagger-codegen.version>
66

67
68
69
70
		<generated-sources-path>${project.build.directory}/generated-sources/swagger</generated-sources-path>
		<generated-sources-java-path>src/main/java</generated-sources-java-path>
	</properties>

Matija Obreza's avatar
Matija Obreza committed
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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
	<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>${maven-gpg-plugin.version}</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
123
124
125
126
127
128
129
								<!-- gpg: signing failed: No such file or directory -->
								<configuration>
									<gpgArguments>
										<arg>--pinentry-mode</arg>
										<arg>loopback</arg>
									</gpgArguments>
								</configuration>
Matija Obreza's avatar
Matija Obreza committed
130
131
132
133
134
135
136
137
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

138
139
140
141
142
143
144
145
146
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.6.1</version>
				<configuration>
					<source>${java.version}</source>
					<target>${java.version}</target>
Matija Obreza's avatar
Matija Obreza committed
147
148
149
150
					<optimize>true</optimize>
					<showWarnings>true</showWarnings>
					<showDeprecation>true</showDeprecation>
					<failOnWarning>true</failOnWarning>
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.19.1</version>
				<configuration>
					<skipTests>${skipTests}</skipTests>
					<testFailureIgnore>false</testFailureIgnore>
					<includes>
						<include>**/*Test.java</include>
						<include>**/*Tests.java</include>
					</includes>
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
166
167
168
169
170
171
172
173
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.3</version>
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
174
175
176
		</plugins>
	</build>

Matija Obreza's avatar
Matija Obreza committed
177
178
179
180
	<repositories>
		<repository>
			<id>snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
181
182
183
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
Matija Obreza's avatar
Matija Obreza committed
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
		</repository>
	</repositories>

	<distributionManagement>
		<repository>
			<id>ossrh</id>
			<name>Sonatype Releases</name>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
		</repository>
		<snapshotRepository>
			<id>ossrh</id>
			<name>Sonatype Snapshots</name>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
			<uniqueVersion>true</uniqueVersion>
		</snapshotRepository>
	</distributionManagement>
200
</project>