pom.xml 5.66 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">
2 3

	<modelVersion>4.0.0</modelVersion>
Matija Obreza's avatar
Matija Obreza committed
4
	<groupId>org.genesys-pgr</groupId>
5
	<artifactId>genesys-client-api</artifactId>
6
	<version>1.1-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
7
	<name>Genesys API client library</name>
8
	<packaging>jar</packaging>
Matija Obreza's avatar
Matija Obreza committed
9 10
	<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
11 12 13 14 15 16 17 18 19 20 21 22

	<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>
23
	  <tag>HEAD</tag>
24
  </scm>
Matija Obreza's avatar
Matija Obreza committed
25 26 27 28 29 30 31 32 33 34

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

35
	<properties>
36
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Matija Obreza's avatar
CI  
Matija Obreza committed
37 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>

43
		<show.deprecations>true</show.deprecations>
Matija Obreza's avatar
Matija Obreza committed
44
		<scribe.version>1.3.7</scribe.version>
45 46
	</properties>

47 48 49 50

	<build>
		<plugins>
			<plugin>
Matija Obreza's avatar
CI  
Matija Obreza committed
51
				<inherited>true</inherited>
52
				<artifactId>maven-compiler-plugin</artifactId>
Matija Obreza's avatar
CI  
Matija Obreza committed
53
				<version>3.6.1</version>
54
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
55 56 57 58
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showWarnings>true</showWarnings>
Matija Obreza's avatar
CI  
Matija Obreza committed
59 60
					<showDeprecation>true</showDeprecation>
					<failOnWarning>true</failOnWarning>
61 62 63 64 65 66 67 68 69 70 71 72
				</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
73 74 75 76 77 78 79 80
			<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
81 82 83 84 85
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
				<version>2.2</version>
			</plugin>
86 87 88
		</plugins>
	</build>

89 90 91 92 93 94 95 96 97 98 99 100
	<dependencies>
		<dependency>
			<groupId>org.scribe</groupId>
			<artifactId>scribe</artifactId>
			<version>${scribe.version}</version>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.17</version>
		</dependency>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
101 102 103
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
104 105
		</dependency>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
106
			<groupId>commons-io</groupId>
107
			<artifactId>commons-io</artifactId>
Matija Obreza's avatar
Matija Obreza committed
108
			<version>2.4</version>
109 110 111 112
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
Matija Obreza's avatar
Matija Obreza committed
113
			<version>2.6.4</version>
114
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
115 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>
		</dependency>
138
	</dependencies>
Matija Obreza's avatar
CI  
Matija Obreza committed
139 140


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

Matija Obreza's avatar
Matija Obreza committed
194
	<distributionManagement>
Matija Obreza's avatar
CI  
Matija Obreza committed
195 196 197 198 199
		<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
200 201
		<snapshotRepository>
			<id>ossrh</id>
Matija Obreza's avatar
CI  
Matija Obreza committed
202
			<name>Sonatype Snapshots</name>
Matija Obreza's avatar
Matija Obreza committed
203
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
Matija Obreza's avatar
CI  
Matija Obreza committed
204
			<uniqueVersion>true</uniqueVersion>
Matija Obreza's avatar
Matija Obreza committed
205 206
		</snapshotRepository>
	</distributionManagement>
Matija Obreza's avatar
CI  
Matija Obreza committed
207
</project>