-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
173 lines (150 loc) · 7.14 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<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>de.uni-mannheim.informatik.dws</groupId>
<artifactId>ALOD2VecMatcher</artifactId>
<version>1.0-SNAPSHOT</version><!-- description appearing in descriptor file of seals package and system.ttl file in hobbit -->
<packaging>jar</packaging>
<description>ALOD2Vec Matcher uses RDF2Vec embeddings of the WebIsALOD dataset for ontology matching.</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 -->
<oaei.mainClass>de.uni_mannheim.informatik.dws.Alod2vecMatcher.Matcher</oaei.mainClass>
<maven.deploy.skip>true
</maven.deploy.skip><!-- needed to call mvn deploy without having a distributionManagement -->
<matching.version>3.1</matching.version> <!-- version for all matching related packages -->
</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");
-->
<dependencies>
<!-- dependency for jena matchers - for other matchers you can replace it with artifactId: matching-base -->
<dependency>
<groupId>de.uni-mannheim.informatik.dws.melt</groupId>
<artifactId>matching-jena</artifactId>
<version>${matching.version}</version>
</dependency>
<!-- dependency for kgvec2go -->
<dependency>
<groupId>de.uni-mannheim.informatik.dws.melt</groupId>
<artifactId>matching-ml</artifactId>
<version>${matching.version}</version>
</dependency>
<!-- dependency for kgvec2go -->
<dependency>
<groupId>de.uni-mannheim.informatik.dws.melt</groupId>
<artifactId>matching-jena-matchers</artifactId>
<version>${matching.version}</version>
<exclusions>
<exclusion>
<groupId>org.gradoop.famer</groupId>
<artifactId>famer-clustering</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- This dependency is necessary for web submission. It contains the server wrapper. -->
<dependency>
<groupId>de.uni-mannheim.informatik.dws.melt</groupId>
<artifactId>receiver-http</artifactId>
<version>${matching.version}</version>
</dependency>
<dependency>
<groupId>de.uni-mannheim.informatik.dws.melt</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.7</version><!--maybe update version-->
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
<version>3.2.7</version><!--maybe update version-->
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.0-M1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.3.0-M1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.mpkorstanje</groupId>
<artifactId>simmetrics-core</artifactId>
<version>4.1.1</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>alod2vecmatcher-1.0-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.version}</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>