|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <groupId>net.sansa-stack</groupId> |
6 | 5 | <artifactId>sansa-examples-parent_2.11</artifactId> |
7 | | - <version>2018-12</version> |
| 6 | + |
| 7 | + <parent> |
| 8 | + <groupId>net.sansa-stack</groupId> |
| 9 | + <artifactId>sansa-parent</artifactId> |
| 10 | + <version>0.6.0</version> |
| 11 | + </parent> |
| 12 | + |
8 | 13 | <packaging>pom</packaging> |
9 | 14 | <name>SANSA-Examples - Parent</name> |
10 | 15 | <description>SANSA examples</description> |
|
52 | 57 |
|
53 | 58 | </modules> |
54 | 59 |
|
55 | | - <properties> |
56 | | - <maven.compiler.source>1.8</maven.compiler.source> |
57 | | - <maven.compiler.target>1.8</maven.compiler.target> |
58 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
59 | | - <scala.version>2.11.11</scala.version> |
60 | | - <scala.binary.version>2.11</scala.binary.version> |
61 | | - <spark.version>2.4.0</spark.version> |
62 | | - <flink.version>1.7.0</flink.version> |
63 | | - <hadoop.version>2.8.3</hadoop.version> |
64 | | - <jena.version>3.9.0</jena.version> |
65 | | - <sansa.rdf.version>0.5.0</sansa.rdf.version> |
66 | | - <sansa.owl.version>0.4.1</sansa.owl.version> |
67 | | - <sansa.query.version>0.5.0</sansa.query.version> |
68 | | - <sansa.inference.version>0.5.0</sansa.inference.version> |
69 | | - <sansa.ml.version>0.5.0</sansa.ml.version> |
70 | | - <scalastyle.config.path>${project.basedir}/scalastyle-config.xml</scalastyle.config.path> |
71 | | - </properties> |
72 | | - |
73 | 60 | <dependencyManagement> |
74 | 61 | <dependencies> |
75 | | - <!-- Scala --> |
76 | | - <dependency> |
77 | | - <groupId>org.scala-lang</groupId> |
78 | | - <artifactId>scala-library</artifactId> |
79 | | - <version>${scala.version}</version> |
80 | | - </dependency> |
81 | | - |
82 | | - <!-- Apache Spark Core --> |
83 | | - <dependency> |
84 | | - <groupId>org.apache.spark</groupId> |
85 | | - <artifactId>spark-core_${scala.binary.version}</artifactId> |
86 | | - <version>${spark.version}</version> |
87 | | - </dependency> |
88 | | - <dependency> |
89 | | - <groupId>org.apache.spark</groupId> |
90 | | - <artifactId>spark-sql_${scala.binary.version}</artifactId> |
91 | | - <version>${spark.version}</version> |
92 | | - </dependency> |
93 | | - |
94 | | - <!-- Apache Flink --> |
95 | | - <dependency> |
96 | | - <groupId>org.apache.flink</groupId> |
97 | | - <artifactId>flink-scala_${scala.binary.version}</artifactId> |
98 | | - <version>${flink.version}</version> |
99 | | - </dependency> |
100 | | - <dependency> |
101 | | - <groupId>org.apache.flink</groupId> |
102 | | - <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId> |
103 | | - <version>${flink.version}</version> |
104 | | - </dependency> |
105 | | - <dependency> |
106 | | - <groupId>org.apache.flink</groupId> |
107 | | - <artifactId>flink-clients_${scala.binary.version}</artifactId> |
108 | | - <version>${flink.version}</version> |
109 | | - </dependency> |
110 | | - |
111 | | - <!-- Hadoop dependencies (mainly used for InputFormat definitions) --> |
112 | | - <dependency> |
113 | | - <groupId>org.apache.hadoop</groupId> |
114 | | - <artifactId>hadoop-mapreduce-client-core</artifactId> |
115 | | - <version>${hadoop.version}</version> |
116 | | - </dependency> |
117 | | - <dependency> |
118 | | - <groupId>org.apache.hadoop</groupId> |
119 | | - <artifactId>hadoop-common</artifactId> |
120 | | - <version>${hadoop.version}</version> |
121 | | - </dependency> |
122 | | - <dependency> |
123 | | - <groupId>org.apache.hadoop</groupId> |
124 | | - <artifactId>hadoop-streaming</artifactId> |
125 | | - <version>${hadoop.version}</version> |
126 | | - </dependency> |
127 | | - |
128 | | - <!-- Apache JENA 3.x --> |
129 | | - <dependency> |
130 | | - <groupId>org.apache.jena</groupId> |
131 | | - <artifactId>jena-core</artifactId> |
132 | | - <version>${jena.version}</version> |
133 | | - </dependency> |
134 | | - <dependency> |
135 | | - <groupId>org.apache.jena</groupId> |
136 | | - <artifactId>jena-arq</artifactId> |
137 | | - <version>${jena.version}</version> |
138 | | - </dependency> |
139 | | - |
140 | | - <!-- Test --> |
141 | | - <dependency> |
142 | | - <groupId>junit</groupId> |
143 | | - <artifactId>junit</artifactId> |
144 | | - <version>4.12</version> |
145 | | - <scope>test</scope> |
146 | | - </dependency> |
147 | | - <dependency> |
148 | | - <groupId>org.scalatest</groupId> |
149 | | - <artifactId>scalatest_${scala.binary.version}</artifactId> |
150 | | - <version>2.2.6</version> |
151 | | - <scope>test</scope> |
152 | | - </dependency> |
153 | | - |
154 | | - <!-- Logging --> |
155 | | - <dependency> |
156 | | - <groupId>com.typesafe.scala-logging</groupId> |
157 | | - <artifactId>scala-logging_${scala.binary.version}</artifactId> |
158 | | - <version>3.5.0</version> |
159 | | - </dependency> |
160 | | - <!-- Scopt --> |
161 | | - <dependency> |
162 | | - <groupId>com.github.scopt</groupId> |
163 | | - <artifactId>scopt_${scala.binary.version}</artifactId> |
164 | | - <version>3.5.0</version> |
165 | | - </dependency> |
166 | | - |
167 | | - <!-- Guava --> |
168 | | - <!-- <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> |
169 | | - <version>19.0</version> </dependency> --> |
170 | | - |
171 | 62 | <!-- RDF Layer --> |
172 | 63 | <dependency> |
173 | 64 | <groupId>${project.groupId}</groupId> |
174 | 65 | <artifactId>sansa-rdf-spark_${scala.binary.version}</artifactId> |
175 | | - <version>${sansa.rdf.version}</version> |
| 66 | + <version>${project.version}</version> |
176 | 67 | </dependency> |
177 | 68 |
|
178 | 69 | <dependency> |
179 | 70 | <groupId>${project.groupId}</groupId> |
180 | 71 | <artifactId>sansa-rdf-flink_${scala.binary.version}</artifactId> |
181 | | - <version>${sansa.rdf.version}</version> |
| 72 | + <version>${project.version}</version> |
182 | 73 | </dependency> |
183 | 74 | <!-- OWL Layer --> |
184 | 75 | <dependency> |
185 | 76 | <groupId>${project.groupId}</groupId> |
186 | 77 | <artifactId>sansa-owl-spark_${scala.binary.version}</artifactId> |
187 | | - <version>${sansa.owl.version}</version> |
| 78 | + <version>${project.version}</version> |
188 | 79 | </dependency> |
189 | 80 | <dependency> |
190 | 81 | <groupId>${project.groupId}</groupId> |
191 | 82 | <artifactId>sansa-owl-flink_${scala.binary.version}</artifactId> |
192 | | - <version>${sansa.owl.version}</version> |
| 83 | + <version>${project.version}</version> |
193 | 84 | </dependency> |
194 | 85 |
|
195 | 86 | <!-- Query Layer --> |
196 | 87 | <dependency> |
197 | 88 | <groupId>${project.groupId}</groupId> |
198 | 89 | <artifactId>sansa-query-spark_${scala.binary.version}</artifactId> |
199 | | - <version>${sansa.query.version}</version> |
| 90 | + <!-- <version>${project.parent.version}</version> --> |
| 91 | + <version>${project.version}</version> |
200 | 92 | </dependency> |
201 | 93 |
|
202 | 94 | <!-- Inference Layer --> |
203 | 95 | <dependency> |
204 | 96 | <groupId>${project.groupId}</groupId> |
205 | 97 | <artifactId>sansa-inference-spark_${scala.binary.version}</artifactId> |
206 | | - <version>${sansa.inference.version}</version> |
| 98 | + <version>${sansa.version}</version> |
207 | 99 | </dependency> |
208 | 100 | <dependency> |
209 | 101 | <groupId>${project.groupId}</groupId> |
210 | 102 | <artifactId>sansa-inference-flink_${scala.binary.version}</artifactId> |
211 | | - <version>${sansa.inference.version}</version> |
| 103 | + <version>${sansa.version}</version> |
212 | 104 | </dependency> |
213 | 105 |
|
214 | 106 | <!-- ML Layer --> |
215 | 107 | <dependency> |
216 | 108 | <groupId>${project.groupId}</groupId> |
217 | 109 | <artifactId>sansa-ml-spark_${scala.binary.version}</artifactId> |
218 | | - <version>${sansa.ml.version}</version> |
| 110 | + <version>${project.version}</version> |
219 | 111 | </dependency> |
220 | 112 | <dependency> |
221 | 113 | <groupId>${project.groupId}</groupId> |
222 | 114 | <artifactId>sansa-ml-flink_${scala.binary.version}</artifactId> |
223 | | - <version>${sansa.ml.version}</version> |
224 | | - </dependency> |
225 | | - |
226 | | - <dependency> |
227 | | - <groupId>com.holdenkarau</groupId> |
228 | | - <artifactId>spark-testing-base_${scala.binary.version}</artifactId> |
229 | | - <version>2.3.0_0.9.0</version> |
230 | | - <scope>test</scope> |
231 | | - </dependency> |
232 | | - |
233 | | - <dependency> |
234 | | - <groupId>org.glassfish.jersey</groupId> |
235 | | - <artifactId>jersey-bom</artifactId> |
236 | | - <version>2.26-b03</version> |
237 | | - <type>pom</type> |
238 | | - <scope>import</scope> |
239 | | - </dependency> |
240 | | - |
241 | | - <dependency> |
242 | | - <groupId>commons-codec</groupId> |
243 | | - <artifactId>commons-codec</artifactId> |
244 | | - <version>1.11</version> |
245 | | - </dependency> |
246 | | - |
247 | | - <dependency> |
248 | | - <groupId>org.apache.commons</groupId> |
249 | | - <artifactId>commons-compress</artifactId> |
250 | | - <version>1.18</version> |
| 115 | + <version>${project.version}</version> |
251 | 116 | </dependency> |
252 | 117 |
|
253 | 118 | </dependencies> |
254 | 119 | </dependencyManagement> |
255 | 120 |
|
256 | | - <build> |
257 | | - <pluginManagement> |
258 | | - <plugins> |
259 | | - <!-- Scala Maven --> |
260 | | - <plugin> |
261 | | - <groupId>net.alchim31.maven</groupId> |
262 | | - <artifactId>scala-maven-plugin</artifactId> |
263 | | - <version>3.2.1</version> |
264 | | - <executions> |
265 | | - <execution> |
266 | | - <goals> |
267 | | - <goal>compile</goal> |
268 | | - <goal>testCompile</goal> |
269 | | - </goals> |
270 | | - <configuration> |
271 | | - <args> |
272 | | - <!--<arg>-make:transitive</arg> --> |
273 | | - <arg>-dependencyfile</arg> |
274 | | - <arg>${project.build.directory}/.scala_dependencies</arg> |
275 | | - </args> |
276 | | - </configuration> |
277 | | - </execution> |
278 | | - </executions> |
279 | | - <configuration> |
280 | | - <scalaVersion>${scala.version}</scalaVersion> |
281 | | - <recompileMode>incremental</recompileMode> |
282 | | - </configuration> |
283 | | - </plugin> |
284 | | - |
285 | | - <plugin> |
286 | | - <artifactId>maven-compiler-plugin</artifactId> |
287 | | - <version>3.5.1</version> |
288 | | - <configuration> |
289 | | - <source>${maven.compiler.source}</source> |
290 | | - <target>${maven.compiler.target}</target> |
291 | | - <encoding>${project.build.sourceEncoding}</encoding> |
292 | | - </configuration> |
293 | | - </plugin> |
294 | | - |
295 | | - <!-- Surefire --> |
296 | | - <plugin> |
297 | | - <groupId>org.apache.maven.plugins</groupId> |
298 | | - <artifactId>maven-surefire-plugin</artifactId> |
299 | | - <version>2.19.1</version> |
300 | | - </plugin> |
301 | | - |
302 | | - <!-- Scalastyle --> |
303 | | - <plugin> |
304 | | - <groupId>org.scalastyle</groupId> |
305 | | - <artifactId>scalastyle-maven-plugin</artifactId> |
306 | | - <version>1.0.0</version> |
307 | | - <configuration> |
308 | | - <verbose>false</verbose> |
309 | | - <failOnViolation>true</failOnViolation> |
310 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
311 | | - <failOnWarning>false</failOnWarning> |
312 | | - <sourceDirectory>${project.basedir}/src/main/scala</sourceDirectory> |
313 | | - <testSourceDirectory>${project.basedir}/src/test/scala</testSourceDirectory> |
314 | | - <!-- we use a central config located in the root directory --> |
315 | | - <configLocation>${scalastyle.config.path}</configLocation> |
316 | | - <outputFile>${project.basedir}/scalastyle-output.xml</outputFile> |
317 | | - <outputEncoding>UTF-8</outputEncoding> |
318 | | - </configuration> |
319 | | - <executions> |
320 | | - <execution> |
321 | | - <goals> |
322 | | - <goal>check</goal> |
323 | | - </goals> |
324 | | - </execution> |
325 | | - </executions> |
326 | | - </plugin> |
327 | | - |
328 | | - <!-- Scalatest --> |
329 | | - <plugin> |
330 | | - <groupId>org.scalatest</groupId> |
331 | | - <artifactId>scalatest-maven-plugin</artifactId> |
332 | | - <version>1.0</version> |
333 | | - </plugin> |
334 | | - |
335 | | - <!-- Git Flow --> |
336 | | - <plugin> |
337 | | - <groupId>com.amashchenko.maven.plugin</groupId> |
338 | | - <artifactId>gitflow-maven-plugin</artifactId> |
339 | | - <version>1.8.0</version> |
340 | | - <configuration> |
341 | | - <gitFlowConfig> |
342 | | - <versionTagPrefix>v</versionTagPrefix> |
343 | | - </gitFlowConfig> |
344 | | - </configuration> |
345 | | - </plugin> |
346 | | - |
347 | | - </plugins> |
348 | | - </pluginManagement> |
349 | | - </build> |
350 | 121 |
|
351 | 122 | <profiles> |
352 | 123 | <profile> |
|
0 commit comments