-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
243 lines (231 loc) · 10.1 KB
/
Copy pathpom.xml
File metadata and controls
243 lines (231 loc) · 10.1 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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<?xml version="1.0" encoding="UTF-8"?>
<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>ai.tegmentum.jena</groupId>
<artifactId>webfunction</artifactId>
<version>0.1.0-SNAPSHOT</version>
<developers>
<developer>
<id>zcw100</id>
<name>Zachary Whitley</name>
<email>zachary.whitley@tegmentum.ai</email>
<timezone>America/New_York</timezone>
<organization>Tegmentum</organization>
<organizationUrl>https://tegmentum.ai</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/tegmentum/jena-webfunction-plugin</url>
<tag>HEAD</tag>
<connection>scm:git:https://github.com/tegmentum/jena-webfunction-plugin.git</connection>
<developerConnection>scm:git:git@github.com:tegmentum/jena-webfunction-plugin.git</developerConnection>
</scm>
<licenses>
<license>
<name>APL2</name>
<url>https://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>Tegmentum</name>
<url>https://tegmentum.ai</url>
</organization>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jena.version>6.1.0</jena.version>
<webassembly4j.version>2.1.0</webassembly4j.version>
<wasmtime4j.version>46.0.1-1.3.0</wasmtime4j.version>
<junit.version>4.13.2</junit.version>
<assertj.version>3.24.2</assertj.version>
<testcontainers.version>2.0.5</testcontainers.version>
<slf4j.version>2.0.13</slf4j.version>
<sqlite.jdbc.version>3.46.1.3</sqlite.jdbc.version>
<postgresql.jdbc.version>42.7.4</postgresql.jdbc.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>ai.tegmentum.webassembly4j</groupId>
<artifactId>webassembly4j-api</artifactId>
<version>${webassembly4j.version}</version>
</dependency>
<dependency>
<groupId>ai.tegmentum.webassembly4j</groupId>
<artifactId>webassembly4j-runtime</artifactId>
<version>${webassembly4j.version}</version>
</dependency>
<dependency>
<groupId>ai.tegmentum.webassembly4j</groupId>
<artifactId>wasmtime4j-provider</artifactId>
<version>${webassembly4j.version}</version>
</dependency>
<dependency>
<groupId>ai.tegmentum</groupId>
<artifactId>wasmtime4j-jni</artifactId>
<version>${wasmtime4j.version}</version>
</dependency>
<dependency>
<groupId>ai.tegmentum</groupId>
<artifactId>wasmtime4j-native</artifactId>
<version>${wasmtime4j.version}</version>
</dependency>
<!--
Explicitly pull the linux-x86_64 classifier so the shaded plugin jar
carries natives/linux-x86_64/libwasmtime4j.so. FusekiWasmIT boots in
a linux/amd64 Docker container and hard-skips unless that native is
present in the plugin jar, regardless of the dev workstation's arch.
-->
<dependency>
<groupId>ai.tegmentum</groupId>
<artifactId>wasmtime4j-native</artifactId>
<version>${wasmtime4j.version}</version>
<classifier>linux-x86_64</classifier>
</dependency>
<!--
v0.5 sink-* host imports: JDBC driver for the SQLite backend.
Shaded into the plugin jar so guests using sink-open("sqlite://…")
don't have to arrange a driver on Fuseki's classpath.
-->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${sqlite.jdbc.version}</version>
</dependency>
<!--
wf_relational v0.1 backend: PostgreSQL JDBC driver for the
postgres:// sink URL scheme. Shaded into the plugin jar so
guests don't have to arrange a driver on Fuseki's classpath.
-->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.jdbc.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>tegmentum-jena-${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<!--
Declare a Main-Class so the
cross-engine conformance suite
can invoke the runner without
needing to spell it out on the
java command line each time.
-->
<mainClass>ai.tegmentum.jena.webfunctions.conformance.ConformanceMain</mainClass>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<!-- Fuseki provides Jena + SLF4J at runtime; do not bundle. -->
<excludes>
<exclude>org.apache.jena:*</exclude>
<exclude>org.slf4j:*</exclude>
<exclude>junit:junit</exclude>
<exclude>org.hamcrest:*</exclude>
<exclude>org.assertj:assertj-core</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<excludes>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<environmentVariables>
<DOCKER_HOST>${env.DOCKER_HOST}</DOCKER_HOST>
<DOCKER_DEFAULT_PLATFORM>${env.DOCKER_DEFAULT_PLATFORM}</DOCKER_DEFAULT_PLATFORM>
</environmentVariables>
<includes>
<include>**/*IT.java</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>