Skip to content

Fix Compilation error: Source option 6 is no longer supported. Use 7 …#19

Open
tchia04 wants to merge 1 commit intobrowserstack:masterfrom
tchia04:fix_mvn_error
Open

Fix Compilation error: Source option 6 is no longer supported. Use 7 …#19
tchia04 wants to merge 1 commit intobrowserstack:masterfrom
tchia04:fix_mvn_error

Conversation

@tchia04
Copy link
Contributor

@tchia04 tchia04 commented May 24, 2019

…or later
This should resolve #14

======
BEFORE

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ junit-browserstack ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /Users/tchia04/git/junit-browserstack/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.111 s
[INFO] Finished at: 2019-05-24T15:07:38-07:00

$ mvn --version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T12:00:29-07:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 12.0.1, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"

======
AFTER


T E S T S

Running com.browserstack.SingleTest
May 24, 2019 3:12:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.377 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.772 s
[INFO] Finished at: 2019-05-24T15:12:43-07:00
[INFO] ------------------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Fails due to outdated options

1 participant