-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
158 lines (135 loc) · 6.6 KB
/
pom.xml
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
<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>uk.ac.city</groupId>
<!-- Select one -->
<artifactId>logmap-melt</artifactId> <!-- Extends MatcherURL -->
<!--artifactId>logmap-melt-owlapi</artifactId--> <!-- Extends -MatcherYAAAOwlApi -->
<version>oaei-2021</version>
<packaging>jar</packaging>
<description>LogMap matcher with melt packaging (OAEI 2021).</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- mandatory: this class has to implement IOntologyMatchingToolBridge or subclasses-->
<!-- Select one -->
<oaei.mainClass>uk.ac.city.logmap.melt.LogMap_MELT</oaei.mainClass> <!-- Extends MatcherURL -->
<!--oaei.mainClass>uk.ac.city.logmap.melt.LogMap_MELT_OWLAPI</oaei.mainClass--> <!-- Extends -MatcherYAAAOwlApi -->
<maven.deploy.skip>true</maven.deploy.skip><!-- needed to call mvn deploy without having a distributionManagement -->
<!-- <matching.version>3.0</matching.version>-->
<matching.version>master-SNAPSHOT</matching.version> <!-- version for all matching related packages -->
<matching.versionA>3.0</matching.versionA>
<matching.groupId>com.github.dwslab.melt</matching.groupId>
<!--matching.groupId>de.uni-mannheim.informatik.dws.melt</matching.groupId-->
</properties>
<!-- Accessing the resources:
- all files in "oaei-resources" folder are stored in the current working directory and can be accessed with
Files.readAllLines(Paths.get("oaei-resources", "configuration_oaei.txt"));
- all files in "src/main/resources" folder are compiled to the resulting jar and can be accessed with
getClass().getClassLoader().getResourceAsStream("configuration_jar.txt");
-->
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!-- LogMap DEPENDENCY -->
<dependency>
<groupId>uk.ox.logmap</groupId>
<artifactId>logmap-matcher</artifactId>
<version>4.0</version>
</dependency>
<dependency>
<groupId>${matching.groupId}</groupId>
<artifactId>matching-base</artifactId>
<version>${matching.version}</version>
</dependency>
<!-- dependency for OWLAPI matchers - for other matchers you can replace it with artifactId: matching-base-->
<dependency>
<groupId>${matching.groupId}</groupId>
<artifactId>matching-owlapi</artifactId>
<version>${matching.version}</version>
</dependency>
<!-- This dependency is necessary for web submission. It contains the server wrapper. -->
<dependency>
<groupId>${matching.groupId}</groupId>
<artifactId>receiver-http</artifactId>
<version>${matching.version}</version>
</dependency>
<dependency>
<groupId>${matching.groupId}</groupId>
<artifactId>matching-eval</artifactId>
<version>${matching.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-core</artifactId>
<version>3.2.11</version><!--maybe update version-->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
<version>3.2.11</version><!--maybe update version-->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.31</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.31</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- the following plugin will generate a docker image and save it into the target folder -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.36.0</version>
<configuration>
<!-- further machine configuration options: https://dmp.fabric8.io/#docker-machine
Use the following line in case you have installed docker on windows or mac
<machine><name>default</name></machine>
-->
<images>
<image>
<name>%a-%v-web</name>
<build>
<from>openjdk:8-jre-alpine</from><!--change it to a docker base image you want - this is just a small image which contains java-->
<assembly><descriptorRef>web</descriptorRef></assembly>
<cmd><shell>java -cp "${project.build.finalName}.${project.packaging}:lib/*" de.uni_mannheim.informatik.dws.melt.receiver_http.Main</shell></cmd>
<workdir>/maven</workdir>
<ports><port>8080</port></ports><!--port exposure to specify on which port the server runs -->
</build>
</image>
</images>
</configuration>
<dependencies>
<dependency>
<groupId>de.uni-mannheim.informatik.dws.melt</groupId>
<artifactId>matching-assembly</artifactId>
<version>${matching.versionA}</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>build</goal>
<goal>save</goal>
</goals>
<!--execute build and save when calling "mvn install" -->
<phase>install</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>