Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit ba23bbc

Browse files
committed
adjusted pom for release
1 parent b50b100 commit ba23bbc

1 file changed

Lines changed: 99 additions & 55 deletions

File tree

pom.xml

Lines changed: 99 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>0.3.0-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

10-
<!-- <name>${project.artifactId}</name> -->
10+
<name>SANSA Stack - Query Layer - Parent</name>
1111
<description>SANSA Query Library</description>
1212
<inceptionYear>2015</inceptionYear>
1313

@@ -16,6 +16,11 @@
1616
<url>http://sda.tech</url>
1717
</organization>
1818

19+
<modules>
20+
<module>sansa-query-spark-parent</module>
21+
<module>sansa-query-flink-parent</module>
22+
</modules>
23+
1924
<properties>
2025
<maven.compiler.source>1.8</maven.compiler.source>
2126
<maven.compiler.target>1.8</maven.compiler.target>
@@ -41,23 +46,25 @@
4146
<httpcomponents.version>4.5.3</httpcomponents.version>
4247
</properties>
4348

44-
<modules>
45-
<module>sansa-query-spark-parent</module>
46-
<module>sansa-query-flink-parent</module>
47-
</modules>
48-
4949
<scm>
5050
<url>https://github.com/SANSA-Stack/SANSA-Query</url>
5151
<connection>scm:git:git://github.com/SANSA-Stack/SANSA-Query.git</connection>
5252
<developerConnection>scm:git:git@github.com:SANSA-Stack/SANSA-Query.git</developerConnection>
5353
</scm>
5454

55-
5655
<issueManagement>
5756
<system>GitHub</system>
58-
<url>https://github.com/SANSA-Stack/SANSA-Query</url>
57+
<url>https://github.com/SANSA-Stack/SANSA-Query/issues</url>
5958
</issueManagement>
6059

60+
<licenses>
61+
<license>
62+
<name>Apache License 2.0</name>
63+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
64+
<distribution>repo</distribution>
65+
</license>
66+
</licenses>
67+
6168
<developers>
6269
<developer>
6370
<id>Aklakan</id>
@@ -95,7 +102,6 @@
95102
<plugin>
96103
<groupId>org.apache.maven.plugins</groupId>
97104
<artifactId>maven-javadoc-plugin</artifactId>
98-
<version>2.9.1</version>
99105
<executions>
100106
<execution>
101107
<id>attach-javadocs</id>
@@ -343,18 +349,28 @@
343349
</plugin>
344350

345351
<plugin>
346-
<groupId>net.alchim31.maven</groupId>
347-
<artifactId>scala-maven-plugin</artifactId>
352+
<groupId>org.apache.maven.plugins</groupId>
353+
<artifactId>maven-surefire-plugin</artifactId>
348354
</plugin>
349355

350356
<plugin>
351-
<groupId>org.codehaus.mojo</groupId>
352-
<artifactId>build-helper-maven-plugin</artifactId>
357+
<groupId>org.apache.maven.plugins</groupId>
358+
<artifactId>maven-source-plugin</artifactId>
353359
</plugin>
354360

355361
<plugin>
356362
<groupId>org.apache.maven.plugins</groupId>
357-
<artifactId>maven-surefire-plugin</artifactId>
363+
<artifactId>maven-javadoc-plugin</artifactId>
364+
</plugin>
365+
366+
<plugin>
367+
<groupId>net.alchim31.maven</groupId>
368+
<artifactId>scala-maven-plugin</artifactId>
369+
</plugin>
370+
371+
<plugin>
372+
<groupId>org.apache.maven.plugins</groupId>
373+
<artifactId>maven-site-plugin</artifactId>
358374
</plugin>
359375

360376
<plugin>
@@ -366,27 +382,63 @@
366382
<pluginManagement>
367383
<plugins>
368384
<plugin>
369-
<groupId>com.amashchenko.maven.plugin</groupId>
370-
<artifactId>gitflow-maven-plugin</artifactId>
371-
<version>1.3.1</version>
385+
<groupId>org.apache.maven.plugins</groupId>
386+
<artifactId>maven-compiler-plugin</artifactId>
387+
<version>3.6.0</version>
372388
<configuration>
373-
<gitFlowConfig>
374-
<versionTagPrefix>v</versionTagPrefix>
375-
</gitFlowConfig>
376-
<pushRemote>false</pushRemote>
389+
<source>${maven.compiler.source}</source>
390+
<target>${maven.compiler.target}</target>
377391
</configuration>
378392
</plugin>
379393

380394
<plugin>
381395
<groupId>org.apache.maven.plugins</groupId>
382-
<artifactId>maven-compiler-plugin</artifactId>
383-
<version>3.6.0</version>
396+
<artifactId>maven-surefire-plugin</artifactId>
397+
<version>2.18.1</version>
384398
<configuration>
385-
<source>${maven.compiler.source}</source>
386-
<target>${maven.compiler.target}</target>
399+
<useFile>false</useFile>
400+
<disableXmlReport>true</disableXmlReport>
401+
<!-- If you have classpath issue like NoDefClassError,... -->
402+
<!-- useManifestOnlyJar>false</useManifestOnlyJar -->
403+
<includes>
404+
<include>**/*Test.*</include>
405+
<include>**/*Suite.*</include>
406+
</includes>
387407
</configuration>
388408
</plugin>
389409

410+
<plugin>
411+
<groupId>org.apache.maven.plugins</groupId>
412+
<artifactId>maven-source-plugin</artifactId>
413+
<version>3.0.1</version>
414+
<executions>
415+
<execution>
416+
<id>attach-sources</id>
417+
<phase>verify</phase>
418+
<goals>
419+
<goal>jar-no-fork</goal>
420+
</goals>
421+
</execution>
422+
</executions>
423+
</plugin>
424+
425+
<plugin>
426+
<groupId>org.apache.maven.plugins</groupId>
427+
<artifactId>maven-javadoc-plugin</artifactId>
428+
<version>2.10.4</version>
429+
<configuration>
430+
<failOnError>false</failOnError>
431+
</configuration>
432+
<executions>
433+
<execution>
434+
<id>attach-javadocs</id>
435+
<goals>
436+
<goal>jar</goal>
437+
</goals>
438+
</execution>
439+
</executions>
440+
</plugin>
441+
390442

391443
<!-- Scala Maven -->
392444
<plugin>
@@ -438,40 +490,31 @@
438490
</plugin>
439491

440492
<plugin>
441-
<groupId>org.codehaus.mojo</groupId>
442-
<artifactId>build-helper-maven-plugin</artifactId>
443-
<version>3.0.0</version>
444-
<executions>
445-
<execution>
446-
<id>add-source</id>
447-
<phase>generate-sources</phase>
448-
<goals>
449-
<goal>add-source</goal>
450-
</goals>
451-
<configuration>
452-
<sources>
453-
<source>src/main/scala</source>
454-
<!-- <source>src/main/scala_${scala.binary.version}</source> -->
455-
</sources>
456-
</configuration>
457-
</execution>
458-
</executions>
493+
<groupId>org.apache.maven.plugins</groupId>
494+
<artifactId>maven-site-plugin</artifactId>
495+
<version>3.6</version>
496+
<configuration>
497+
<reportPlugins>
498+
<plugin>
499+
<artifactId>maven-project-info-reports-plugin</artifactId>
500+
<version>2.9</version>
501+
</plugin>
502+
<plugin>
503+
<groupId>net.alchim31.maven</groupId>
504+
<artifactId>scala-maven-plugin</artifactId>
505+
</plugin>
506+
</reportPlugins>
507+
</configuration>
459508
</plugin>
460509

461-
462510
<plugin>
463-
<groupId>org.apache.maven.plugins</groupId>
464-
<artifactId>maven-surefire-plugin</artifactId>
465-
<version>2.18.1</version>
511+
<groupId>com.amashchenko.maven.plugin</groupId>
512+
<artifactId>gitflow-maven-plugin</artifactId>
513+
<version>1.8.0</version>
466514
<configuration>
467-
<useFile>false</useFile>
468-
<disableXmlReport>true</disableXmlReport>
469-
<!-- If you have classpath issue like NoDefClassError,... -->
470-
<!-- useManifestOnlyJar>false</useManifestOnlyJar -->
471-
<includes>
472-
<include>**/*Test.*</include>
473-
<include>**/*Suite.*</include>
474-
</includes>
515+
<gitFlowConfig>
516+
<versionTagPrefix>v</versionTagPrefix>
517+
</gitFlowConfig>
475518
</configuration>
476519
</plugin>
477520

@@ -530,6 +573,7 @@
530573
</execution>
531574
</executions>
532575
</plugin>
576+
533577
<plugin>
534578
<groupId>org.sonatype.plugins</groupId>
535579
<artifactId>nexus-staging-maven-plugin</artifactId>

0 commit comments

Comments
 (0)