|
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <groupId>net.sansa-stack</groupId> |
5 | 5 | <artifactId>sansa-inference-parent_2.11</artifactId> |
6 | | - <version>0.3.0</version> |
| 6 | + <version>0.4.0</version> |
7 | 7 | <packaging>pom</packaging> |
8 | 8 | <name>Inference API - Parent</name> |
9 | 9 |
|
|
66 | 66 | <!--<java.version>>=1.8</java.version>--> |
67 | 67 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
68 | 68 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
69 | | - <scala.version>2.11.11</scala.version> |
| 69 | + <scala.version>2.11.12</scala.version> |
70 | 70 | <scala.binary.version>2.11</scala.binary.version> |
71 | | - <spark.version>2.2.1</spark.version> |
72 | | - <flink.version>1.3.2</flink.version> |
73 | | - <jena.version>3.5.0</jena.version> |
74 | | - <sansa.stack.version>0.3.0</sansa.stack.version> |
| 71 | + <spark.version>2.3.1</spark.version> |
| 72 | + <flink.version>1.5.0</flink.version> |
| 73 | + <jena.version>3.7.0</jena.version> |
| 74 | + <sansa.stack.version>0.4.0</sansa.stack.version> |
75 | 75 | <sansa.rdf.version>${sansa.stack.version}</sansa.rdf.version> |
76 | 76 | <sansa.query.version>${sansa.stack.version}</sansa.query.version> |
77 | 77 | <sansa.owl.version>${sansa.stack.version}</sansa.owl.version> |
|
81 | 81 | <MaxPermGen>512m</MaxPermGen> |
82 | 82 | <CodeCacheSize>512m</CodeCacheSize> |
83 | 83 | <gpg.keyname>AKSW</gpg.keyname> |
84 | | - <owlapi.version>5.1.3</owlapi.version> |
| 84 | + <owlapi.version>5.1.5</owlapi.version> |
| 85 | + <scalastyle.config.path>${project.basedir}/scalastyle-config.xml</scalastyle.config.path> |
85 | 86 | </properties> |
86 | 87 |
|
87 | 88 | <prerequisites> |
|
93 | 94 | <!-- RDF Layer --> |
94 | 95 | <dependency> |
95 | 96 | <groupId>${project.groupId}</groupId> |
96 | | - <artifactId>sansa-rdf-spark-core</artifactId> |
| 97 | + <artifactId>sansa-rdf-spark_${scala.binary.version}</artifactId> |
97 | 98 | <version>${sansa.rdf.version}</version> |
| 99 | + <!-- we have to exclude an old version here transitively included by a Kafka dependency of Spark |
| 100 | + Don't know how Spark 2.3 is able to work with Kafka 0.10 right now ... |
| 101 | + --> |
| 102 | + <exclusions> |
| 103 | + <exclusion> |
| 104 | + <groupId>net.jpountz.lz4</groupId> |
| 105 | + <artifactId>lz4</artifactId> |
| 106 | + </exclusion> |
| 107 | + </exclusions> |
98 | 108 | </dependency> |
99 | 109 | <dependency> |
100 | 110 | <groupId>${project.groupId}</groupId> |
|
148 | 158 | <artifactId>spark-sql_${scala.binary.version}</artifactId> |
149 | 159 | <version>${spark.version}</version> |
150 | 160 | </dependency> |
| 161 | + <dependency> |
| 162 | + <groupId>org.apache.spark</groupId> |
| 163 | + <artifactId>spark-streaming_${scala.binary.version}</artifactId> |
| 164 | + <version>${spark.version}</version> |
| 165 | + </dependency> |
| 166 | + <dependency> |
| 167 | + <groupId>org.apache.spark</groupId> |
| 168 | + <artifactId>spark-streaming-kafka-0-10_${scala.binary.version}</artifactId> |
| 169 | + <version>${spark.version}</version> |
| 170 | + </dependency> |
151 | 171 |
|
152 | 172 | <!-- Apache Flink --> |
153 | 173 | <dependency> |
|
177 | 197 | <artifactId>jena-arq</artifactId> |
178 | 198 | <version>${jena.version}</version> |
179 | 199 | </dependency> |
| 200 | + <dependency> |
| 201 | + <groupId>org.apache.jena</groupId> |
| 202 | + <artifactId>jena-tdb</artifactId> |
| 203 | + <version>${jena.version}</version> |
| 204 | + </dependency> |
| 205 | + <dependency> |
| 206 | + <groupId>org.apache.jena</groupId> |
| 207 | + <artifactId>jena-cmds</artifactId> |
| 208 | + <version>${jena.version}</version> |
| 209 | + </dependency> |
180 | 210 |
|
181 | 211 | <!-- OWL API --> |
182 | 212 | <dependency> |
|
202 | 232 |
|
203 | 233 | <!-- Graph API --> |
204 | 234 | <dependency> |
205 | | - <groupId>com.assembla.scala-incubator</groupId> |
| 235 | + <groupId>org.scala-graph</groupId> |
206 | 236 | <artifactId>graph-core_${scala.binary.version}</artifactId> |
207 | | - <version>1.10.0</version> |
| 237 | + <version>1.12.5</version> |
208 | 238 | </dependency> |
209 | 239 | <dependency> |
210 | | - <groupId>com.assembla.scala-incubator</groupId> |
| 240 | + <groupId>org.scala-graph</groupId> |
211 | 241 | <artifactId>graph-dot_${scala.binary.version}</artifactId> |
212 | | - <version>1.9.0</version> |
| 242 | + <version>1.11.5</version> |
213 | 243 | </dependency> |
214 | 244 | <dependency> |
215 | 245 | <groupId>org.jgrapht</groupId> |
216 | 246 | <artifactId>jgrapht-core</artifactId> |
217 | | - <version>1.1.0</version> |
| 247 | + <version>1.2.0</version> |
| 248 | + </dependency> |
| 249 | + <dependency> |
| 250 | + <groupId>org.jgrapht</groupId> |
| 251 | + <artifactId>jgrapht-io</artifactId> |
| 252 | + <version>1.2.0</version> |
218 | 253 | </dependency> |
219 | 254 | <dependency> |
220 | 255 | <groupId>org.jgrapht</groupId> |
221 | 256 | <artifactId>jgrapht-ext</artifactId> |
222 | | - <version>1.1.0</version> |
| 257 | + <version>1.2.0</version> |
223 | 258 | </dependency> |
224 | 259 | <dependency> |
225 | 260 | <groupId>org.gephi</groupId> |
|
231 | 266 | <dependency> |
232 | 267 | <groupId>org.apache.calcite</groupId> |
233 | 268 | <artifactId>calcite-core</artifactId> |
234 | | - <version>1.13.0</version> |
| 269 | + <version>1.16.0</version> |
235 | 270 | </dependency> |
236 | 271 |
|
237 | 272 | <!-- Test --> |
|
250 | 285 | <dependency> |
251 | 286 | <groupId>org.specs2</groupId> |
252 | 287 | <artifactId>specs2-core_${scala.binary.version}</artifactId> |
253 | | - <version>4.0.2</version> |
| 288 | + <version>4.2.0</version> |
254 | 289 | <scope>test</scope> |
255 | 290 | </dependency> |
256 | 291 | <dependency> |
257 | 292 | <groupId>org.specs2</groupId> |
258 | 293 | <artifactId>specs2-junit_${scala.binary.version}</artifactId> |
259 | | - <version>4.0.2</version> |
| 294 | + <version>4.2.0</version> |
260 | 295 | <scope>test</scope> |
261 | 296 | </dependency> |
262 | 297 |
|
263 | 298 | <!-- Logging --> |
264 | 299 | <dependency> |
265 | 300 | <groupId>com.typesafe.scala-logging</groupId> |
266 | 301 | <artifactId>scala-logging_${scala.binary.version}</artifactId> |
267 | | - <version>3.7.2</version> |
| 302 | + <version>3.9.0</version> |
268 | 303 | </dependency> |
269 | 304 |
|
270 | 305 | <!-- Guava --> |
|
278 | 313 | <dependency> |
279 | 314 | <groupId>com.chuusai</groupId> |
280 | 315 | <artifactId>shapeless_${scala.binary.version}</artifactId> |
281 | | - <version>2.3.2</version> |
| 316 | + <version>2.3.3</version> |
282 | 317 | </dependency> |
283 | 318 |
|
284 | 319 | <!-- Scopt --> |
|
292 | 327 | <dependency> |
293 | 328 | <groupId>com.typesafe</groupId> |
294 | 329 | <artifactId>config</artifactId> |
295 | | - <version>1.3.2</version> |
| 330 | + <version>1.3.3</version> |
296 | 331 | </dependency> |
297 | 332 |
|
298 | 333 |
|
|
520 | 555 | <groupId>com.versioneye</groupId> |
521 | 556 | <artifactId>versioneye-maven-plugin</artifactId> |
522 | 557 | </plugin> |
523 | | - <!--<plugin>--> |
524 | | - <!--<groupId>org.scalastyle</groupId>--> |
525 | | - <!--<artifactId>scalastyle-maven-plugin</artifactId>--> |
526 | | - <!--<version>0.8.0</version>--> |
527 | | - <!--<configuration>--> |
528 | | - <!--<verbose>false</verbose>--> |
529 | | - <!--<failOnViolation>false</failOnViolation>--> |
530 | | - <!--<includeTestSourceDirectory>false</includeTestSourceDirectory>--> |
531 | | - <!--<failOnWarning>false</failOnWarning>--> |
532 | | - <!--<sourceDirectory>${basedir}/src/main/scala</sourceDirectory>--> |
533 | | - <!--<testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>--> |
534 | | - <!--<configLocation>scalastyle-config.xml</configLocation>--> |
535 | | - <!--<outputFile>${basedir}/target/scalastyle-output.xml</outputFile>--> |
536 | | - <!--<inputEncoding>${project.build.sourceEncoding}</inputEncoding>--> |
537 | | - <!--<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>--> |
538 | | - <!--</configuration>--> |
539 | | - <!--<executions>--> |
540 | | - <!--<execution>--> |
541 | | - <!--<goals>--> |
542 | | - <!--<goal>check</goal>--> |
543 | | - <!--</goals>--> |
544 | | - <!--</execution>--> |
545 | | - <!--</executions>--> |
546 | | - <!--</plugin>--> |
| 558 | + |
| 559 | + <!-- Scalastyle --> |
| 560 | + <plugin> |
| 561 | + <groupId>org.scalastyle</groupId> |
| 562 | + <artifactId>scalastyle-maven-plugin</artifactId> |
| 563 | + <version>1.0.0</version> |
| 564 | + <configuration> |
| 565 | + <verbose>false</verbose> |
| 566 | + <failOnViolation>true</failOnViolation> |
| 567 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 568 | + <failOnWarning>false</failOnWarning> |
| 569 | + <sourceDirectory>${project.basedir}/src/main/scala</sourceDirectory> |
| 570 | + <testSourceDirectory>${project.basedir}/src/test/scala</testSourceDirectory> |
| 571 | + <!-- we use a central config located in the root directory --> |
| 572 | + <configLocation>${scalastyle.config.path}</configLocation> |
| 573 | + <outputFile>${project.basedir}/scalastyle-output.xml</outputFile> |
| 574 | + <outputEncoding>UTF-8</outputEncoding> |
| 575 | + </configuration> |
| 576 | + <executions> |
| 577 | + <execution> |
| 578 | + <goals> |
| 579 | + <goal>check</goal> |
| 580 | + </goals> |
| 581 | + </execution> |
| 582 | + </executions> |
| 583 | + </plugin> |
| 584 | + |
547 | 585 | </plugins> |
548 | 586 | </build> |
549 | 587 |
|
|
668 | 706 |
|
669 | 707 | <!-- the profile used for deployment to Sonatype Maven repository --> |
670 | 708 | <profile> |
671 | | - <id>ossrh</id> |
| 709 | + <!-- for Maven Central deployment --> |
| 710 | + <id>release</id> |
672 | 711 | <distributionManagement> |
673 | 712 | <repository> |
674 | 713 | <id>ossrh</id> |
|
786 | 825 | </plugins> |
787 | 826 | </build> |
788 | 827 | </profile> |
| 828 | + |
| 829 | + <!-- for Scalastyle plugin --> |
| 830 | + <profile> |
| 831 | + <id>root-dir</id> |
| 832 | + <activation> |
| 833 | + <file> |
| 834 | + <exists>${project.basedir}/../../scalastyle-config.xml</exists> |
| 835 | + </file> |
| 836 | + </activation> |
| 837 | + <properties> |
| 838 | + <scalastyle.config.path>${project.basedir}/../scalastyle-config.xml</scalastyle.config.path> |
| 839 | + </properties> |
| 840 | + </profile> |
789 | 841 | </profiles> |
790 | 842 | </project> |
0 commit comments