aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorFederico Igne <federico.igne@cs.ox.ac.uk>2022-05-10 18:17:06 +0100
committerFederico Igne <federico.igne@cs.ox.ac.uk>2022-05-11 12:34:47 +0100
commit17bd9beaf7f358a44e5bf36a5855fe6727d506dc (patch)
tree47e9310a0cff869d9ec017dcb2c81876407782c8 /pom.xml
parent8651164cd632a5db310b457ce32d4fbc97bdc41c (diff)
downloadACQuA-17bd9beaf7f358a44e5bf36a5855fe6727d506dc.tar.gz
ACQuA-17bd9beaf7f358a44e5bf36a5855fe6727d506dc.zip
[pagoda] Move project to Scala
This commit includes a few changes: - The repository still uses Maven to manage dependency but it is now a Scala project. - The code has been ported from OWLAPI 3.4.10 to 5.1.20 - A proof of concept program using both RSAComb and PAGOdA has been added.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml402
1 files changed, 279 insertions, 123 deletions
diff --git a/pom.xml b/pom.xml
index 466383a..63a853d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,16 +1,35 @@
1<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 1<?xml version="1.0" encoding="UTF-8"?>
2 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> 3<project
4 <groupId>uk.ac.ox.cs.pagoda</groupId> 4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 <artifactId>pagoda</artifactId> 5 xmlns="http://maven.apache.org/POM/4.0.0"
6 <version>2.1.2</version> 6 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
7>
8 <modelVersion>4.0.0</modelVersion>
9
10 <name>ACQuA</name>
11 <description>Answering Conjunctive Queries using Approximation</description>
12
13 <groupId>uk.ac.ox.cs.acqua</groupId>
14 <artifactId>acqua</artifactId>
15 <version>0.1.0</version>
16
7 <packaging>jar</packaging> 17 <packaging>jar</packaging>
8 <name>PAGOdA</name> 18
9 <properties> 19 <properties>
10 <skipTests>true</skipTests> 20 <maven.compiler.source>1.8</maven.compiler.source>
11 </properties> 21 <maven.compiler.target>1.8</maven.compiler.target>
22 <!-- <encoding>UTF-8</encoding> -->
23 <scala.version>2.13.6</scala.version>
24 <scala.compat.version>2.13</scala.compat.version>
25 <spec2.version>4.2.0</spec2.version>
26 <skipTests>true</skipTests>
27 </properties>
28
12 <repositories> 29 <repositories>
13 <!--other repositories if any--> 30 <!-- Old RDFox 1.0.0 dependency
31 To be eventually removed!
32 -->
14 <repository> 33 <repository>
15 <id>project.local</id> 34 <id>project.local</id>
16 <name>pagoda</name> 35 <name>pagoda</name>
@@ -18,119 +37,18 @@
18 </repository> 37 </repository>
19 </repositories> 38 </repositories>
20 39
21 <build>
22 <sourceDirectory>src</sourceDirectory>
23 <testSourceDirectory>test</testSourceDirectory>
24 <resources>
25 <resource>
26 <directory>src/resources</directory>
27 <excludes>
28 <exclude>pagoda.properties</exclude>
29 </excludes>
30 </resource>
31
32 </resources>
33 <testResources>
34 <testResource>
35 <directory>test/resources</directory>
36 </testResource>
37 </testResources>
38 <plugins>
39 <plugin>
40 <artifactId>maven-compiler-plugin</artifactId>
41 <version>3.1</version>
42 <configuration>
43 <source>1.8</source>
44 <target>1.8</target>
45 </configuration>
46 </plugin>
47 <plugin>
48 <artifactId>maven-project-info-reports-plugin</artifactId>
49 <version>2.7</version>
50 </plugin>
51 <plugin>
52 <artifactId>maven-assembly-plugin</artifactId>
53 <configuration>
54 <archive>
55 <manifest>
56 <mainClass>uk.ac.ox.cs.pagoda.Pagoda</mainClass>
57 </manifest>
58 </archive>
59 <descriptorRefs>
60 <descriptorRef>jar-with-dependencies</descriptorRef>
61 </descriptorRefs>
62 </configuration>
63 <executions>
64 <execution>
65 <id>make-assembly</id> <!-- this is used for inheritance merges -->
66 <phase>package</phase> <!-- bind to the packaging phase -->
67 <goals>
68 <goal>single</goal>
69 </goals>
70 </execution>
71 </executions>
72 </plugin>
73 </plugins>
74 </build>
75 <reporting>
76 <plugins>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-javadoc-plugin</artifactId>
80 <version>2.9.1</version>
81 <configuration>
82 <show>public</show>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>findbugs-maven-plugin</artifactId>
88 <version>3.0.0</version>
89 <configuration>
90 <xmlOutput>true</xmlOutput>
91 <!-- Optional directory to put findbugs xdoc xml report -->
92 <xmlOutputDirectory>target/site</xmlOutputDirectory>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-checkstyle-plugin</artifactId>
98 <version>2.5</version>
99 <configuration>
100 <configLocation>config/sun_checks.xml</configLocation><!-- default -->
101 <!-- <configLocation>config/maven_checks.xml</configLocation> -->
102 <!-- <configLocation>config/turbine_checks.xml</configLocation> -->
103 <!-- <configLocation>config/avalon_checks.xml</configLocation> -->
104 </configuration>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-jxr-plugin</artifactId>
109 <version>2.1</version>
110 </plugin>
111 <plugin>
112 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>dashboard-maven-plugin</artifactId>
114 <version>1.0.0-beta-1</version>
115 </plugin>
116 <!--<plugin>-->
117 <!--<groupId>org.apache.maven.plugins</groupId>-->
118 <!--<artifactId>maven-surefire-plugin</artifactId>-->
119 <!--<version>2.13</version>-->
120 <!--<configuration>-->
121 <!--<forkMode>always</forkMode>-->
122 <!--<systemPropertyVariables>-->
123 <!--<reporter.debug>false</reporter.debug>-->
124 <!--</systemPropertyVariables>-->
125 <!--<suiteXmlFiles>-->
126 <!--<suiteXmlFile>testResources/LightTests.xml</suiteXmlFile>-->
127 <!--</suiteXmlFiles>-->
128 <!--</configuration>-->
129 <!--</plugin>-->
130 </plugins>
131 </reporting>
132 <dependencies> 40 <dependencies>
133 <dependency> 41 <dependency>
42 <groupId>org.scala-lang</groupId>
43 <artifactId>scala-library</artifactId>
44 <version>${scala.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>com.lihaoyi</groupId>
48 <artifactId>os-lib_2.13</artifactId>
49 <version>0.8.1</version>
50 </dependency>
51 <dependency>
134 <groupId>commons-cli</groupId> 52 <groupId>commons-cli</groupId>
135 <artifactId>commons-cli</artifactId> 53 <artifactId>commons-cli</artifactId>
136 <version>1.3</version> 54 <version>1.3</version>
@@ -143,7 +61,8 @@
143 <dependency> 61 <dependency>
144 <groupId>net.sourceforge.owlapi</groupId> 62 <groupId>net.sourceforge.owlapi</groupId>
145 <artifactId>owlapi-distribution</artifactId> 63 <artifactId>owlapi-distribution</artifactId>
146 <version>3.4.10</version> 64 <version>5.1.20</version>
65 <!-- <version>3.4.10</version> -->
147 </dependency> 66 </dependency>
148 <dependency> 67 <dependency>
149 <groupId>org.openrdf.sesame</groupId> 68 <groupId>org.openrdf.sesame</groupId>
@@ -207,5 +126,242 @@
207 <!--<artifactId>plexus-utils</artifactId>--> 126 <!--<artifactId>plexus-utils</artifactId>-->
208 <!--<version>1.1</version>--> 127 <!--<version>1.1</version>-->
209 <!--</dependency>--> 128 <!--</dependency>-->
129 <dependency>
130 <groupId>org.scalatest</groupId>
131 <artifactId>scalatest_${scala.compat.version}</artifactId>
132 <version>3.2.10</version>
133 <scope>test</scope>
134 </dependency>
135 <dependency>
136 <groupId>uk.ox.ac.uk.rsacomb</groupId>
137 <artifactId>rsacomb</artifactId>
138 <version>1.0.0</version>
139 <scope>system</scope>
140 <systemPath>${project.basedir}/lib/RSAComb-1.0.0.jar</systemPath>
141 </dependency>
142 <dependency>
143 <groupId>tech.oxfordsemantic.jrdfox</groupId>
144 <artifactId>jrdfox</artifactId>
145 <version>5.4</version>
146 <scope>system</scope>
147 <systemPath>${project.basedir}/lib/JRDFox.jar</systemPath>
148 </dependency>
149
150
151
152
210 </dependencies> 153 </dependencies>
154
155 <build>
156 <pluginManagement>
157 <plugins>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-compiler-plugin</artifactId>
161 <version>3.8.1</version>
162 <configuration>
163 <source>1.8</source>
164 <target>1.8</target>
165 </configuration>
166 </plugin>
167 <plugin>
168 <groupId>net.alchim31.maven</groupId>
169 <artifactId>scala-maven-plugin</artifactId>
170 <version>4.5.6</version>
171 </plugin>
172 </plugins>
173 </pluginManagement>
174 <plugins>
175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-compiler-plugin</artifactId>
178 <configuration>
179 <source>1.8</source>
180 <target>1.8</target>
181 </configuration>
182 <executions>
183 <execution>
184 <phase>compile</phase>
185 <goals>
186 <goal>compile</goal>
187 </goals>
188 </execution>
189 </executions>
190 </plugin>
191 <plugin>
192 <groupId>net.alchim31.maven</groupId>
193 <artifactId>scala-maven-plugin</artifactId>
194 <executions>
195 <execution>
196 <!-- <id>scala-compile-first</id> -->
197 <phase>compile</phase>
198 <goals>
199 <goal>add-source</goal>
200 <goal>compile</goal>
201 </goals>
202 </execution>
203 <execution>
204 <id>scala-test-compile</id>
205 <phase>process-test-resources</phase>
206 <goals>
207 <goal>testCompile</goal>
208 </goals>
209 </execution>
210 </executions>
211 </plugin>
212 <plugin>
213 <artifactId>maven-assembly-plugin</artifactId>
214 <configuration>
215 <archive>
216 <manifest>
217 <mainClass>uk.ac.ox.cs.acqua.Acqua</mainClass>
218 </manifest>
219 </archive>
220 <descriptorRefs>
221 <descriptorRef>jar-with-dependencies</descriptorRef>
222 </descriptorRefs>
223 </configuration>
224 <executions>
225 <execution>
226 <id>make-assembly</id> <!-- this is used for inheritance merges -->
227 <phase>package</phase> <!-- bind to the packaging phase -->
228 <goals>
229 <goal>single</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234 </plugins>
235 </build>
236
237 <!-- <build>-->
238 <!-- <sourceDirectory>src/main/scala</sourceDirectory>-->
239 <!-- <testSourceDirectory>src/test/scala</testSourceDirectory>-->
240 <!--<resources>-->
241 <!--<resource>-->
242 <!--<directory>src/main/java/resources</directory>-->
243 <!--<excludes>-->
244 <!--<exclude>pagoda.properties</exclude>-->
245 <!--</excludes>-->
246 <!--</resource>-->
247
248 <!--</resources>-->
249 <!--<testResources>-->
250 <!--<testResource>-->
251 <!-- <directory>src/test/java/resources</directory>-->
252 <!--</testResource>-->
253 <!--</testResources>-->
254 <!--<plugins>-->
255 <!--<plugin>-->
256 <!--<artifactId>maven-compiler-plugin</artifactId>-->
257 <!--<version>3.1</version>-->
258 <!--<configuration>-->
259 <!--<source>1.8</source>-->
260 <!--<target>1.8</target>-->
261 <!--</configuration>-->
262 <!--</plugin>-->
263
264
265 <!--<plugin>-->
266 <!--<artifactId>maven-project-info-reports-plugin</artifactId>-->
267 <!--<version>2.7</version>-->
268 <!--</plugin>-->
269
270 <!-- <plugin>-->
271 <!-- <groupId>org.apache.maven.plugins</groupId>-->
272 <!-- <artifactId>maven-surefire-plugin</artifactId>-->
273 <!-- <version>2.21.0</version>-->
274 <!-- <configuration>-->
275 <!-- <!-1- Tests will be run with scalatest-maven-plugin instead -1->-->
276 <!-- <skipTests>true</skipTests>-->
277 <!-- </configuration>-->
278 <!-- </plugin>-->
279 <!-- <plugin>-->
280 <!-- <groupId>org.scalatest</groupId>-->
281 <!-- <artifactId>scalatest-maven-plugin</artifactId>-->
282 <!-- <version>2.0.0</version>-->
283 <!-- <configuration>-->
284 <!-- <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
285 <!-- <junitxml>.</junitxml>-->
286 <!-- <filereports>TestSuiteReport.txt</filereports>-->
287 <!-- <!-1- Comma separated list of JUnit test class names to execute -1->-->
288 <!-- <jUnitClasses>samples.AppTest</jUnitClasses>-->
289 <!-- </configuration>-->
290 <!-- <executions>-->
291 <!-- <execution>-->
292 <!-- <id>test</id>-->
293 <!-- <goals>-->
294 <!-- <goal>test</goal>-->
295 <!-- </goals>-->
296 <!-- </execution>-->
297 <!-- </executions>-->
298 <!-- </plugin>-->
299 <!--</plugins>-->
300 <!--</build>-->
301
302 <!--<reporting>-->
303 <!--<plugins>-->
304 <!--<plugin>-->
305 <!--<groupId>org.apache.maven.plugins</groupId>-->
306 <!--<artifactId>maven-javadoc-plugin</artifactId>-->
307 <!--<version>2.9.1</version>-->
308 <!--<configuration>-->
309 <!--<show>public</show>-->
310 <!--</configuration>-->
311 <!--</plugin>-->
312 <!--<plugin>-->
313 <!--<groupId>org.codehaus.mojo</groupId>-->
314 <!--<artifactId>findbugs-maven-plugin</artifactId>-->
315 <!--<version>3.0.0</version>-->
316 <!--<configuration>-->
317 <!--<xmlOutput>true</xmlOutput>-->
318 <!--<!-1- Optional directory to put findbugs xdoc xml report -1->-->
319 <!--<xmlOutputDirectory>target/site</xmlOutputDirectory>-->
320 <!--</configuration>-->
321 <!--</plugin>-->
322 <!--<plugin>-->
323 <!--<groupId>org.apache.maven.plugins</groupId>-->
324 <!--<artifactId>maven-checkstyle-plugin</artifactId>-->
325 <!--<version>2.5</version>-->
326 <!--<configuration>-->
327 <!--<configLocation>config/sun_checks.xml</configLocation><!-1- default -1->-->
328 <!--<!-1- <configLocation>config/maven_checks.xml</configLocation> -1->-->
329 <!--<!-1- <configLocation>config/turbine_checks.xml</configLocation> -1->-->
330 <!--<!-1- <configLocation>config/avalon_checks.xml</configLocation> -1->-->
331 <!--</configuration>-->
332 <!--</plugin>-->
333 <!--<plugin>-->
334 <!--<groupId>org.apache.maven.plugins</groupId>-->
335 <!--<artifactId>maven-jxr-plugin</artifactId>-->
336 <!--<version>2.1</version>-->
337 <!--</plugin>-->
338 <!--<plugin>-->
339 <!--<groupId>org.codehaus.mojo</groupId>-->
340 <!--<artifactId>dashboard-maven-plugin</artifactId>-->
341 <!--<version>1.0.0-beta-1</version>-->
342 <!--</plugin>-->
343 <!--<!-1-<plugin>-1->-->
344 <!--<!-1-<groupId>org.apache.maven.plugins</groupId>-1->-->
345 <!--<!-1-<artifactId>maven-surefire-plugin</artifactId>-1->-->
346 <!--<!-1-<version>2.13</version>-1->-->
347 <!--<!-1-<configuration>-1->-->
348 <!--<!-1-<forkMode>always</forkMode>-1->-->
349 <!--<!-1-<systemPropertyVariables>-1->-->
350 <!--<!-1-<reporter.debug>false</reporter.debug>-1->-->
351 <!--<!-1-</systemPropertyVariables>-1->-->
352 <!--<!-1-<suiteXmlFiles>-1->-->
353 <!--<!-1-<suiteXmlFile>testResources/LightTests.xml</suiteXmlFile>-1->-->
354 <!--<!-1-</suiteXmlFiles>-1->-->
355 <!--<!-1-</configuration>-1->-->
356 <!--<!-1-</plugin>-1->-->
357 <!--</plugins>-->
358 <!--</reporting>-->
359
360 <!--<dependencies>-->
361 <!-- <dependency>-->
362 <!-- <groupId>org.scala-lang</groupId>-->
363 <!-- <artifactId>scala-library</artifactId>-->
364 <!-- <version>${scala.version}</version>-->
365 <!-- </dependency>-->
366 <!--</dependencies>-->
211</project> 367</project>