pom.xml 6.17 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<!--
	Copyright 2017 Global Crop Diversity Trust

	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

	http://www.apache.org/licenses/LICENSE-2.0

	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.
-->
<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>
	<parent>
		<groupId>org.genesys-pgr</groupId>
		<artifactId>genesys-catalog</artifactId>
22
		<version>1.6-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
23
24
25
26
27
28
29
30
31
32
33
	</parent>
	<artifactId>genesys-catalog-parent</artifactId>
	<packaging>pom</packaging>
	<name>Genesys Catalog parent pom</name>
	<description>This is the main project pom.</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<java.version>1.8</java.version>
		<jdk.target>1.8</jdk.target>
		<jdk.source>1.8</jdk.source>
Matija Obreza's avatar
Matija Obreza committed
34
35
36
37
38
39
40

		<show.deprecations>false</show.deprecations>
		<slf4j.version>1.7.21</slf4j.version>
		<log4j.version>1.2.17</log4j.version>
		<junit.version>4.12</junit.version>

		<aspectj.version>1.7.2</aspectj.version>
Andrey Lugovskiy's avatar
Andrey Lugovskiy committed
41
		<jackson.version>2.9.1-SNAPSHOT</jackson.version>
Matija Obreza's avatar
Matija Obreza committed
42
		<spring.version>4.3.2.RELEASE</spring.version>
Matija Obreza's avatar
Matija Obreza committed
43
		<spring.data.version>1.10.4.RELEASE</spring.data.version>
Valeriy Panov's avatar
Valeriy Panov committed
44
		<google.api.version>1.22.0</google.api.version>
Matija Obreza's avatar
Matija Obreza committed
45
		<querydsl.version>4.1.4</querydsl.version>
Matija Obreza's avatar
Matija Obreza committed
46
		<spring.security.version>4.1.3.RELEASE</spring.security.version>
Andrey Lugovskiy's avatar
Andrey Lugovskiy committed
47
		<oauth2.version>2.2.0.RELEASE</oauth2.version>
Matija Obreza's avatar
Matija Obreza committed
48
		<hibernate.version>4.3.11.Final</hibernate.version>
Matija Obreza's avatar
Matija Obreza committed
49
		<hsqldb.version>2.3.4</hsqldb.version>
Matija Obreza's avatar
Matija Obreza committed
50
		<ehcache.version>2.7.4</ehcache.version>
Matija Obreza's avatar
Matija Obreza committed
51
52
53
54
55
56
57
58
59
60
61
62
	</properties>

	<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>
63
64
65

	<build>
		<plugins>
66
			<!--buildnumber-maven-plugin-->
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
			<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>
					<!-- first check to see if you have locally modified files, and will
						fail if there are any. -->
					<doCheck>false</doCheck>
					<doUpdate>false</doUpdate>
				</configuration>
			</plugin>
86
			<!--maven-compiler-plugin-->
87
88
89
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
90
				<version>3.6.1</version>
91
92
93
94
95
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showWarnings>true</showWarnings>
96
97
					<showDeprecation>true</showDeprecation>
					<failOnWarning>true</failOnWarning>
98
99
				</configuration>
			</plugin>
100
			<!--maven-surefire-plugin-->
101
102
103
104
105
106
107
108
109
110
111
112
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.19.1</version>
				<configuration>
					<testFailureIgnore>false</testFailureIgnore>
					<includes>
						<include>**/*Test.java</include>
						<include>**/*Tests.java</include>
					</includes>
				</configuration>
			</plugin>
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<dependencies>
					<dependency>
						<groupId>ant</groupId>
						<artifactId>ant-jsch</artifactId>
						<version>1.6.5</version>
					</dependency>
					<dependency>
						<groupId>com.jcraft</groupId>
						<artifactId>jsch</artifactId>
						<version>0.1.51</version>
					</dependency>
				</dependencies>
				<executions>
					<execution>
						<id>generate-source</id>
						<phase>site</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<target>
137
								<mkdir dir="../target/site/${project.artifactId}" />
138
								<copy todir="../target/site/${project.artifactId}">
139
									<fileset dir="${project.build.directory}/site" includes="**/*" />
140
								</copy>
141
								<!-- <delete dir="${project.build.directory}/site" /> -->
142
143
144
145
146
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
147
148
		</plugins>
	</build>
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

	<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>
205
206
207
208
209
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>cobertura-maven-plugin</artifactId>
						<configuration>
							<skip>true</skip>
210
							<check />
211
212
						</configuration>
					</plugin>
213
214
215
216
				</plugins>
			</build>
		</profile>
	</profiles>
Matija Obreza's avatar
Matija Obreza committed
217
</project>