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

	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>
	<groupId>org.genesys-pgr</groupId>
	<artifactId>application-blocks</artifactId>
21
	<version>3.0-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
22
23
24
	<packaging>pom</packaging>
	<name>Application Building Blocks</name>
	<description>This is the shared project pom.</description>
25
	<url>https://gitlab.croptrust.org/genesys-pgr/application-blocks</url>
Matija Obreza's avatar
Matija Obreza committed
26
27
28
29
30
31
32
33

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

34
35
36
37
38
39
40
41
42
	<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>

Matija Obreza's avatar
Matija Obreza committed
43
44
45
46
47
48
49
50
51
	<organization>
		<name>Global Crop Diversity Trust</name>
		<url>https://www.croptrust.org</url>
	</organization>

	<scm>
		<connection>scm:https://gitlab.croptrust.org/genesys-pgr/application-blocks</connection>
		<developerConnection>scm:git:git@gitlab.croptrust.org:genesys-pgr/application-blocks.git</developerConnection>
		<url>git@gitlab.croptrust.org:genesys-pgr/application-blocks.git</url>
52
		<tag>HEAD</tag>
Matija Obreza's avatar
Matija Obreza committed
53
54
55
56
57
58
59
	</scm>

	<issueManagement>
		<url>https://gitlab.croptrust.org/genesys-pgr/application-blocks/issues</url>
		<system>Gitlab</system>
	</issueManagement>

60
	<properties>
61
		<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
Maxym Borodenko's avatar
Java 11  
Maxym Borodenko committed
62
63
		<jdk.target>11</jdk.target>
		<jdk.source>11</jdk.source>
64
	</properties>
Matija Obreza's avatar
Matija Obreza committed
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

	<modules>
		<module>parent</module>
		<module>core</module>
		<module>security</module>
		<module>auditlog</module>
	</modules>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.3</version>
				<configuration>
					<pushChanges>false</pushChanges>
					<autoVersionSubmodules>true</autoVersionSubmodules>
					<tagNameFormat>application-blocks-@{project.version}</tagNameFormat>
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
85
86
87
88
89
90
91
92
93
94
95
96
97
98
			<!--maven-compiler-plugin -->
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.8.1</version>
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showWarnings>true</showWarnings>
					<showDeprecation>false</showDeprecation>
					<failOnWarning>true</failOnWarning>
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
99
100
		</plugins>
	</build>
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
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

	<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>
146
						<version>${maven-gpg-plugin.version}</version>
147
148
149
150
151
152
153
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
154
155
156
157
158
159
160
								<!-- gpg: signing failed: No such file or directory -->
								<configuration>
									<gpgArguments>
										<arg>--pinentry-mode</arg>
										<arg>loopback</arg>
									</gpgArguments>
								</configuration>
161
162
163
164
165
166
167
168
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

169
170
171
172
173
174
175
176
177
178
179
180
181
	<distributionManagement>
		<repository>
			<id>ossrh</id>
			<name>Sonatype Releases</name>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
		</repository>
		<snapshotRepository>
			<id>ossrh</id>
			<name>Sonatype Snapshots</name>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
			<uniqueVersion>true</uniqueVersion>
		</snapshotRepository>
	</distributionManagement>
Matija Obreza's avatar
Matija Obreza committed
182
</project>