pom.xml 5.21 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>0.0.6-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>
37 38 39 40 41 42
		<jdk.target>1.6</jdk.target>
		<jdk.source>1.6</jdk.source>
		<show.deprecations>true</show.deprecations>
		<scribe.version>1.3.5</scribe.version>
	</properties>

43 44 45 46 47 48 49

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
50 51 52 53 54
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<!--<showDeprecation>${show.deprecations}</showDeprecation> -->
					<showWarnings>true</showWarnings>
55 56 57 58 59 60 61 62 63 64 65 66
				</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
67 68 69 70 71 72 73 74
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
75 76 77
		</plugins>
	</build>

78 79 80 81 82 83 84 85 86 87 88 89
	<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
90 91 92
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
93 94
		</dependency>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
95
			<groupId>commons-io</groupId>
96 97 98 99 100 101 102 103
			<artifactId>commons-io</artifactId>
			<version>1.3.2</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>2.2.3</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
		<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>
127
	</dependencies>
Matija Obreza's avatar
Matija Obreza committed
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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
	
	
	<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>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	
	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>
Matija Obreza's avatar
Matija Obreza committed
193
</project>