pom.xml 5.98 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
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">
3 4

	<modelVersion>4.0.0</modelVersion>
Matija Obreza's avatar
Matija Obreza committed
5
	<groupId>org.genesys-pgr</groupId>
6
	<artifactId>genesys-client-api</artifactId>
7
	<version>1.2-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
8
	<name>Genesys API client library</name>
9
	<packaging>jar</packaging>
Matija Obreza's avatar
Matija Obreza committed
10 11
	<url>https://bitbucket.org/genesys2/genesys-client-api</url>
	<description>Java client for Genesys PGR Server APIs</description>
Matija Obreza's avatar
Matija Obreza committed
12 13 14 15 16 17 18 19 20 21 22 23

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

	<scm>
		<connection>https://bitbucket.org/genesys2/genesys-client-api.git</connection>
		<developerConnection>scm:git:git@bitbucket.org:genesys2/genesys-client-api.git</developerConnection>
		<url>git@bitbucket.org:genesys2/genesys-client-api.git</url>
24
		<tag>HEAD</tag>
Matija Obreza's avatar
Matija Obreza committed
25
	</scm>
Matija Obreza's avatar
Matija Obreza committed
26 27 28 29 30 31 32 33 34 35

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

36
	<properties>
37
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Matija Obreza's avatar
CI  
Matija Obreza committed
38 39 40 41 42
		<jdk.target>1.8</jdk.target>
		<jdk.source>1.8</jdk.source>

		<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
		<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
Maxym Borodenko's avatar
Logging  
Maxym Borodenko committed
43
        <slf4j.version>1.7.21</slf4j.version>
Matija Obreza's avatar
CI  
Matija Obreza committed
44

45 46 47
		<show.deprecations>true</show.deprecations>
	</properties>

48 49 50 51

	<build>
		<plugins>
			<plugin>
Matija Obreza's avatar
CI  
Matija Obreza committed
52
				<inherited>true</inherited>
53
				<artifactId>maven-compiler-plugin</artifactId>
Matija Obreza's avatar
CI  
Matija Obreza committed
54
				<version>3.6.1</version>
55
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
56 57 58 59
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showWarnings>true</showWarnings>
Matija Obreza's avatar
CI  
Matija Obreza committed
60 61
					<showDeprecation>true</showDeprecation>
					<failOnWarning>true</failOnWarning>
62 63 64 65 66 67 68 69 70 71 72 73
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.17</version>
				<configuration>
					<forkMode>once</forkMode>
					<argLine>-Xms512m -Xmx1024m</argLine>
					<testFailureIgnore>false</testFailureIgnore>
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
74 75 76 77 78 79 80 81
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
82 83 84 85 86
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
				<version>2.2</version>
			</plugin>
87 88 89
		</plugins>
	</build>

90 91
	<dependencies>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
92 93 94
			<groupId>com.github.scribejava</groupId>
			<artifactId>scribejava-core</artifactId>
			<version>4.2.0</version>
95
		</dependency>
Maxym Borodenko's avatar
Logging  
Maxym Borodenko committed
96 97 98 99 100
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>${slf4j.version}</version>
        </dependency>
101
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
102 103 104
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
105 106
		</dependency>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
107
			<groupId>commons-io</groupId>
108
			<artifactId>commons-io</artifactId>
Matija Obreza's avatar
Matija Obreza committed
109
			<version>2.4</version>
110 111 112 113
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
Matija Obreza's avatar
Matija Obreza committed
114
			<version>2.6.4</version>
115
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<version>2.0.5-beta</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-integration</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>4.3.6</version>
Matija Obreza's avatar
Matija Obreza committed
138
			<scope>test</scope>
Matija Obreza's avatar
Matija Obreza committed
139
		</dependency>
140
	</dependencies>
Matija Obreza's avatar
CI  
Matija Obreza committed
141 142


Matija Obreza's avatar
Matija Obreza committed
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 168 169 170 171 172 173 174 175 176 177 178 179
	<profiles>
		<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.2.1</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.9.1</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>
Matija Obreza's avatar
CI  
Matija Obreza committed
180
						<version>${maven-gpg-plugin.version}</version>
Matija Obreza's avatar
Matija Obreza committed
181 182 183 184 185 186 187
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
Matija Obreza's avatar
Matija Obreza committed
188 189 190 191 192 193 194
								<!-- 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
195 196 197 198 199 200 201
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
Matija Obreza's avatar
CI  
Matija Obreza committed
202

Matija Obreza's avatar
Matija Obreza committed
203
	<distributionManagement>
Matija Obreza's avatar
CI  
Matija Obreza committed
204 205 206 207 208
		<repository>
			<id>ossrh</id>
			<name>Sonatype Releases</name>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
		</repository>
Matija Obreza's avatar
Matija Obreza committed
209 210
		<snapshotRepository>
			<id>ossrh</id>
Matija Obreza's avatar
CI  
Matija Obreza committed
211
			<name>Sonatype Snapshots</name>
Matija Obreza's avatar
Matija Obreza committed
212
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
Matija Obreza's avatar
CI  
Matija Obreza committed
213
			<uniqueVersion>true</uniqueVersion>
Matija Obreza's avatar
Matija Obreza committed
214 215
		</snapshotRepository>
	</distributionManagement>
Matija Obreza's avatar
CI  
Matija Obreza committed
216
</project>