|
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 | <groupId>net.sansa-stack</groupId> |
6 | 6 | <artifactId>sansa-examples-parent_2.11</artifactId> |
7 | | - <version>2018-06</version> |
| 7 | + <version>2018-12</version> |
8 | 8 | <packaging>pom</packaging> |
9 | 9 | <name>SANSA-Examples - Parent</name> |
10 | 10 | <description>SANSA examples</description> |
|
58 | 58 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
59 | 59 | <scala.version>2.11.11</scala.version> |
60 | 60 | <scala.binary.version>2.11</scala.binary.version> |
61 | | - <spark.version>2.3.1</spark.version> |
62 | | - <flink.version>1.5.0</flink.version> |
| 61 | + <spark.version>2.4.0</spark.version> |
| 62 | + <flink.version>1.7.0</flink.version> |
63 | 63 | <hadoop.version>2.8.3</hadoop.version> |
64 | | - <jena.version>3.7.0</jena.version> |
65 | | - <sansa.version>0.4.0</sansa.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> |
66 | 71 | </properties> |
67 | 72 |
|
68 | 73 | <dependencyManagement> |
|
167 | 172 | <dependency> |
168 | 173 | <groupId>${project.groupId}</groupId> |
169 | 174 | <artifactId>sansa-rdf-spark_${scala.binary.version}</artifactId> |
170 | | - <version>${sansa.version}</version> |
| 175 | + <version>${sansa.rdf.version}</version> |
171 | 176 | </dependency> |
172 | 177 |
|
173 | 178 | <dependency> |
174 | 179 | <groupId>${project.groupId}</groupId> |
175 | 180 | <artifactId>sansa-rdf-flink_${scala.binary.version}</artifactId> |
176 | | - <version>${sansa.version}</version> |
| 181 | + <version>${sansa.rdf.version}</version> |
177 | 182 | </dependency> |
178 | 183 | <!-- OWL Layer --> |
179 | 184 | <dependency> |
180 | 185 | <groupId>${project.groupId}</groupId> |
181 | 186 | <artifactId>sansa-owl-spark_${scala.binary.version}</artifactId> |
182 | | - <version>${sansa.version}</version> |
| 187 | + <version>${sansa.owl.version}</version> |
183 | 188 | </dependency> |
184 | 189 | <dependency> |
185 | 190 | <groupId>${project.groupId}</groupId> |
186 | 191 | <artifactId>sansa-owl-flink_${scala.binary.version}</artifactId> |
187 | | - <version>${sansa.version}</version> |
| 192 | + <version>${sansa.owl.version}</version> |
188 | 193 | </dependency> |
189 | 194 |
|
190 | 195 | <!-- Query Layer --> |
191 | 196 | <dependency> |
192 | 197 | <groupId>${project.groupId}</groupId> |
193 | 198 | <artifactId>sansa-query-spark_${scala.binary.version}</artifactId> |
194 | | - <version>${sansa.version}</version> |
| 199 | + <version>${sansa.query.version}</version> |
195 | 200 | </dependency> |
196 | 201 |
|
197 | | - |
198 | 202 | <!-- Inference Layer --> |
199 | | - <dependency> |
200 | | - <groupId>${project.groupId}</groupId> |
201 | | - <artifactId>sansa-inference-parent_${scala.binary.version}</artifactId> |
202 | | - <version>${sansa.version}</version> |
203 | | - </dependency> |
204 | 203 | <dependency> |
205 | 204 | <groupId>${project.groupId}</groupId> |
206 | 205 | <artifactId>sansa-inference-spark_${scala.binary.version}</artifactId> |
207 | | - <version>${sansa.version}</version> |
| 206 | + <version>${sansa.inference.version}</version> |
208 | 207 | </dependency> |
209 | 208 | <dependency> |
210 | 209 | <groupId>${project.groupId}</groupId> |
211 | 210 | <artifactId>sansa-inference-flink_${scala.binary.version}</artifactId> |
212 | | - <version>${sansa.version}</version> |
| 211 | + <version>${sansa.inference.version}</version> |
213 | 212 | </dependency> |
214 | 213 |
|
215 | 214 | <!-- ML Layer --> |
216 | 215 | <dependency> |
217 | 216 | <groupId>${project.groupId}</groupId> |
218 | 217 | <artifactId>sansa-ml-spark_${scala.binary.version}</artifactId> |
219 | | - <version>${sansa.version}</version> |
| 218 | + <version>${sansa.ml.version}</version> |
220 | 219 | </dependency> |
221 | 220 | <dependency> |
222 | 221 | <groupId>${project.groupId}</groupId> |
223 | 222 | <artifactId>sansa-ml-flink_${scala.binary.version}</artifactId> |
224 | | - <version>${sansa.version}</version> |
| 223 | + <version>${sansa.ml.version}</version> |
225 | 224 | </dependency> |
226 | 225 |
|
227 | 226 | <dependency> |
|
231 | 230 | <scope>test</scope> |
232 | 231 | </dependency> |
233 | 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> |
| 251 | + </dependency> |
234 | 252 |
|
235 | 253 | </dependencies> |
236 | 254 | </dependencyManagement> |
|
281 | 299 | <version>2.19.1</version> |
282 | 300 | </plugin> |
283 | 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 | + |
284 | 328 | <!-- Scalatest --> |
285 | 329 | <plugin> |
286 | 330 | <groupId>org.scalatest</groupId> |
|
304 | 348 | </pluginManagement> |
305 | 349 | </build> |
306 | 350 |
|
| 351 | + <profiles> |
| 352 | + <profile> |
| 353 | + <id>root-dir</id> |
| 354 | + <activation> |
| 355 | + <file> |
| 356 | + <exists>${project.basedir}/../../scalastyle-config.xml</exists> |
| 357 | + </file> |
| 358 | + </activation> |
| 359 | + <properties> |
| 360 | + <scalastyle.config.path>${project.basedir}/../scalastyle-config.xml</scalastyle.config.path> |
| 361 | + </properties> |
| 362 | + </profile> |
| 363 | + </profiles> |
| 364 | + |
307 | 365 | <repositories> |
308 | 366 | <repository> |
309 | 367 | <id>oss-sonatype</id> |
|
0 commit comments