forked from Ontotext-AD/graphdb-proof-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
197 lines (173 loc) · 5.84 KB
/
pom.xml
File metadata and controls
197 lines (173 loc) · 5.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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
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
<?xml version="1.0"?>
<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>com.ontotext.graphdb.plugins</groupId>
<artifactId>proof-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Proof Plugin</name>
<description>Proof plugin for GraphDB</description>
<properties>
<graphdb.version>9.2.0-RC2</graphdb.version>
<java.level>1.8</java.level>
<internal.repo>http://maven.ontotext.com/content/repositories/owlim-releases</internal.repo>
<snapshots.repo>http://maven.ontotext.com/content/repositories/owlim-snapshots</snapshots.repo>
<!-- Empty defaults to keep things happy, argLine can be overridden on command line,
extraArgLine may be overridden by one of the profiles. -->
<argLine />
<extraArgLine />
</properties>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.level}</source>
<target>${java.level}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<argLine>${argLine} ${extraArgLine}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<finalName>${project.artifactId}</finalName>
<descriptors>
<descriptor>graphdb-plugin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>package-plugin</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!-- Repository needed for GraphDB artifacts and some support artifacts -->
<repository>
<id>owlim-releases</id>
<name>GraphDB Releases</name>
<url>http://maven.ontotext.com/repository/owlim-releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.ontotext.graphdb</groupId>
<artifactId>graphdb-sdk</artifactId>
<version>${graphdb.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.ontotext.graphdb</groupId>
<artifactId>graphdb-free-runtime</artifactId>
<version>${graphdb.version}</version>
</dependency>
<dependency>
<groupId>com.ontotext.graphdb</groupId>
<artifactId>graphdb-tests-base</artifactId>
<scope>test</scope>
<version>${graphdb.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13-beta-3</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<!--
If test.java is set then we run the tests with a different Java distribution.
The property test.java must point to a Java home directory.
The test Java is assumed to be version 9+ so the appropriate arguments are added to surefire.
-->
<id>test-java</id>
<activation>
<property>
<name>test.java</name>
</property>
</activation>
<properties>
<extraArgLine>--add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED</extraArgLine>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<jvm>${test.java}/bin/java</jvm>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<!-- Adds Java 9+ -add-exports option to surefire if building on Java 9+ -->
<id>java9plus-build</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<extraArgLine>--add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED</extraArgLine>
</properties>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>internal</id>
<name>GraphDB Releases repository</name>
<url>${internal.repo}</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>GraphDB Snapshots repository</name>
<url>${snapshots.repo}</url>
</snapshotRepository>
</distributionManagement>
<scm>
<connection>scm:git:git@github.com:Ontotext-AD/graphdb-proof-plugin.git</connection>
<developerConnection>scm:git:git@github.com:Ontotext-AD/graphdb-proof-plugin.git</developerConnection>
<url>https://github.com/Ontotext-AD/graphdb-proof-plugin</url>
<tag>HEAD</tag>
</scm>
</project>