pom.xml 7.29 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2014 Global Crop Diversity Trust
4

Matija Obreza's avatar
Matija Obreza committed
5
6
7
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
8

Matija Obreza's avatar
Matija Obreza committed
9
    http://www.apache.org/licenses/LICENSE-2.0
10

Matija Obreza's avatar
Matija Obreza committed
11
12
13
14
15
16
17
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

18
<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
19
20
21
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.genesys-pgr</groupId>
	<artifactId>file-repository</artifactId>
22
	<version>0.9-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
23
	<name>Genesys File Repository</name>
24
25
26
27
28
29
30
31
	<description>Parent project for the File Repository projects</description>
	<url>https://gitlab.croptrust.org/genesys-pgr/file-repository</url>
	<packaging>pom</packaging>

	<modules>
		<module>file-repository-core</module>
		<module>file-repository-ftpserver</module>
	</modules>
Matija Obreza's avatar
Matija Obreza committed
32
33
34
35
36
37
38
39
40

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

	<scm>
41
42
43
		<connection>https://gitlab.croptrust.org/genesys-pgr/file-repository.git</connection>
		<developerConnection>scm:git:git@gitlab.croptrust.org:genesys-pgr/file-repository.git</developerConnection>
		<url>git@gitlab.croptrust.org:genesys-pgr/file-repository.git</url>
44
		<tag>HEAD</tag>
45
	</scm>
Matija Obreza's avatar
Matija Obreza committed
46

47
48
49
50
51
52
53
54
55
56
57
58
59
60
	<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>
		<developer>
			<name>Aleksandr Sharaban</name>
			<email>a.sharaban@aimprosoft.com</email>
			<organization>AimProSoft ltd</organization>
			<organizationUrl>http://www.aimprosoft.com</organizationUrl>
		</developer>
	</developers>
Matija Obreza's avatar
Matija Obreza committed
61

Matija Obreza's avatar
Matija Obreza committed
62
63
64
65
66
67
	<organization>
		<name>Global Crop Diversity Trust</name>
		<url>https://www.croptrust.org</url>
	</organization>

	<issueManagement>
68
		<url>https://gitlab.croptrust.org/genesys-pgr/file-repository/issues</url>
Matija Obreza's avatar
Matija Obreza committed
69
70
	</issueManagement>

Matija Obreza's avatar
Matija Obreza committed
71
72
73
74
	<prerequisites>
		<maven>3.0</maven>
	</prerequisites>

Matija Obreza's avatar
Matija Obreza committed
75
76
77
78
79
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<jdk.target>1.8</jdk.target>
		<jdk.source>1.8</jdk.source>
		<show.deprecations>false</show.deprecations>
80

81
82
		<application.blocks.version>1.1-SNAPSHOT</application.blocks.version>

Matija Obreza's avatar
Matija Obreza committed
83
		<junit.version>4.12</junit.version>
84
85
		<org.hamcrest.version>1.3</org.hamcrest.version>
		<commons.io.version>2.4</commons.io.version>
86
87
88
		<spring.version>4.3.2.RELEASE</spring.version>
		<spring.data.version>1.10.4.RELEASE</spring.data.version>
		<querydsl.version>4.1.4</querydsl.version>
Matija Obreza's avatar
Matija Obreza committed
89
90
		<hibernate.version>4.3.11.Final</hibernate.version>
		<hsqldb.version>2.3.3</hsqldb.version>
Matija Obreza's avatar
Matija Obreza committed
91
	</properties>
Matija Obreza's avatar
Matija Obreza committed
92
93
94
95
96
97
98
99
100
101
102
	
	<repositories>
		<repository>
			<id>central</id>
			<url>https://repo.maven.apache.org/maven2</url>
		</repository>
		<repository>
			<id>snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</repository>
	</repositories>
Matija Obreza's avatar
Matija Obreza committed
103
104
105
106
107
108

	<dependencies>
		<!--Test dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
109
			<version>${junit.version}</version>
Matija Obreza's avatar
Matija Obreza committed
110
111
112
113
114
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
115
			<version>${org.hamcrest.version}</version>
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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
			<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.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
				<version>2.2</version>
			</plugin>
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<encoding>UTF-8</encoding>
					<detail>true</detail>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
				<version>1.3</version>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
209
					<!-- first check to see if you have locally modified files, and will
Matija Obreza's avatar
Matija Obreza committed
210
211
212
213
214
215
216
217
						fail if there are any. -->
					<doCheck>false</doCheck>
					<doUpdate>false</doUpdate>
				</configuration>
			</plugin>
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
218
				<version>3.6.1</version>
Matija Obreza's avatar
Matija Obreza committed
219
220
221
222
223
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showWarnings>true</showWarnings>
224
225
					<showDeprecation>true</showDeprecation>
					<failOnWarning>true</failOnWarning>
Matija Obreza's avatar
Matija Obreza committed
226
227
228
229
230
231
232
233
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.19.1</version>
				<configuration>
					<forkMode>once</forkMode>
Matija Obreza's avatar
Matija Obreza committed
234
					<argLine>-Djava.awt.headless=true -Xms512m -Xmx1024m</argLine>
Matija Obreza's avatar
Matija Obreza committed
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
					<testFailureIgnore>false</testFailureIgnore>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.3</version>
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
		</plugins>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>false</filtering>
			</resource>
			<resource>
				<directory>src/main/resources</directory>
				<includes>
					<include>application.properties</include>
				</includes>
				<filtering>true</filtering>
			</resource>
		</resources>
	</build>
261

262
</project>