You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I checked out master and attempted to build it on Debian 8, and received the following error:
debian-8% ./mvnw
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-core:jar:9.2.1.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin @ org.jruby:jruby-parent:9.2.1.0-SNAPSHOT, /home/vagrant/jruby/pom.xml, line 338, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-stdlib:jar:9.2.1.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin @ org.jruby:jruby-parent:9.2.1.0-SNAPSHOT, /home/vagrant/jruby/pom.xml, line 338, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-parent:pom:9.2.1.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] JRuby
[INFO] JRuby Core
[INFO] JRuby Lib Setup
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby 9.2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ jruby-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ jruby-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ jruby-parent ---
[INFO] Installing /home/vagrant/jruby/.polyglot.pom.rb to /home/vagrant/.m2/repository/org/jruby/jruby-parent/9.2.1.0-SNAPSHOT/jruby-parent-9.2.1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby Core 9.2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ jruby-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ jruby-core ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default) @ jruby-core ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (jruby-revision) @ jruby-core ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd /home/vagrant/jruby/core && git rev-parse --verify --short=7 HEAD
[INFO] Working directory: /home/vagrant/jruby/core
[INFO] Storing buildNumber: 7026bae at timestamp: 1531430917098
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd /home/vagrant/jruby/core && git rev-parse --verify --short=7 HEAD
[INFO] Working directory: /home/vagrant/jruby/core
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jruby-core ---
[INFO] Using 'utf-8' encoding to copy filtered resources.
[INFO] Copying 41 resources
[INFO] Copying 2 resources
[INFO] Copying 1 resource to /home/vagrant/jruby/core/src/main/java
[INFO] Copying 4 resources to /home/vagrant/jruby/core/target/classes/META-INF/
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (anno) @ jruby-core ---
[INFO] Compiling 7 source files to /home/vagrant/jruby/core/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid target release: 1.8
Usage: javac
use -help for a list of possible options
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby .............................................. SUCCESS [ 0.303 s]
[INFO] JRuby Core ......................................... FAILURE [ 1.638 s]
[INFO] JRuby Lib Setup .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.066 s
[INFO] Finished at: 2018-07-12T21:28:37+00:00
[INFO] Final Memory: 30M/72M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (anno) on project jruby-core: Compilation failure
[ERROR] javac: invalid target release: 1.8
[ERROR] Usage: javac
[ERROR] use -help for a list of possible options
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :jruby-core
... leading me to believe that java 8 is the minimum required version for 9.2.0.0.