fix issue when migrating to JDK9 as below

$ mvn process-resources
[INFO] Scanning for projects...
Downloading from sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/openrefine/openrefine/3.1-SNAPSHOT/maven-metadata.xml
Downloading from apache-snapshots: https://repository.apache.org/snapshots/org/openrefine/openrefine/3.1-SNAPSHOT/maven-metadata.xml
Downloading from sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/openrefine/openrefine/3.1-SNAPSHOT/openrefine-3.1-SNAPSHOT.pom
Downloading from apache-snapshots: https://repository.apache.org/snapshots/org/openrefine/openrefine/3.1-SNAPSHOT/openrefine-3.1-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.openrefine:packaging:3.0: Could not find artifact org.openrefine:openrefine:pom:3.1-SNAPSHOT in sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots/) and 'parent.relativePath' points at wrong local POM @ line 14, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.openrefine:packaging:3.0 (/home/travis/build/OpenRefine/OpenRefine/packaging/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.openrefine:packaging:3.0: Could not find artifact org.openrefine:openrefine:pom:3.1-SNAPSHOT in sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots/) and 'parent.relativePath' points at wrong local POM @ line 14, column 11 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The command "mvn process-resources" failed and exited with 1 during .
This commit is contained in:
Jacky 2018-12-08 16:48:24 -05:00 committed by GitHub
parent d1ed842f02
commit b796f63c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,11 +10,5 @@
<name>OpenRefine - dummy packaging</name> <name>OpenRefine - dummy packaging</name>
<description>Dummy packaging for travis</description> <description>Dummy packaging for travis</description>
<url>http://openrefine.org/</url> <url>http://openrefine.org/</url>
<parent>
<groupId>org.openrefine</groupId>
<artifactId>openrefine</artifactId>
<version>3.1-SNAPSHOT</version>
</parent>
</project> </project>