geneontology / obographs

Basic and Advanced OBO Graphs: specification and reference implementation
64 stars 12 forks source link

running mvn package doesn't work on Java 11 #58

Closed balhoff closed 1 year ago

balhoff commented 4 years ago

Building obographs requires Java 8 at the moment. Running on Java 11 gives this error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-javadocs) on project obographs: MavenReportException: Error while creating archive: Unable to resolve artifact:groupId = 'ch.raffael.pegdown-doclet'
[ERROR] artifactId = 'pegdown-doclet'
[ERROR] version = '1.1': Missing:
[ERROR] ----------
[ERROR] 1) com.sun.tools:tools:jar:11.0.4
[ERROR] 
[ERROR]   Try downloading the file manually from the project website.
[ERROR] 
[ERROR]   Then, install it using the command: 
[ERROR]       mvn install:install-file -DgroupId=com.sun.tools -DartifactId=tools -Dversion=11.0.4 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR]   Alternatively, if you host your own repository you can deploy the file there: 
[ERROR]       mvn deploy:deploy-file -DgroupId=com.sun.tools -DartifactId=tools -Dversion=11.0.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR]     1) ch.raffael.pegdown-doclet:pegdown-doclet:jar:1.1
[ERROR]     2) com.sun.tools:tools:jar:11.0.4
[ERROR] 
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   ch.raffael.pegdown-doclet:pegdown-doclet:jar:1.1
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[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/MojoExecutionException
julesjacobsen commented 1 year ago

Builds on 11 - 17