-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error #25
Comments
maybe try below?
https://stackoverflow.com/questions/61860989/another-maven-source-option-6-is-no-longer-supported-use-7-or-later
[https://cdn.sstatic.net/Sites/stackoverflow/Img/[email protected]?v=73d79a89bded]<https://stackoverflow.com/questions/61860989/another-maven-source-option-6-is-no-longer-supported-use-7-or-later>
java - Another Maven "Source option 6 is no longer supported. Use 7 or later." - Stack Overflow<https://stackoverflow.com/questions/61860989/another-maven-source-option-6-is-no-longer-supported-use-7-or-later>
I see lots of answers to this question but they don't work for me. I installed Visual Studion Code, latest version of Java and Maven on my PC and I was able to successfully build my application with
stackoverflow.com
William Ko
Library | Communications and Marketing
WorldFish
Address: Jalan Batu Maung, Batu Maung, 11960, Jalan Batu Maung, Batu Maung, Bayan Lepas, Penang, Malaysia
Office: +604 620 2276 GMT +8
Email: [email protected]
Follow us: Website<https://www.worldfishcenter.org/> | Twitter<https://twitter.com/worldfishcenter> | Facebook<https://www.facebook.com/worldfishcenter> | LinkedIn<https://www.linkedin.com/company/worldfish/> | Flickr<https://www.flickr.com/photos/theworldfishcenter/> | YouTube<https://www.youtube.com/c/TheWorldFishCenter>
Please download here <http://worldfishcenter.org/strategy-2030/> our 2030 WorldFish Research and Innovation Strategy.
[https://fish.cgiar.org/sites/default/files/worldfish_email_signature_logo3.png]
Aquatic foods for healthy people and planet
WorldFish is part of CGIAR<https://cgiar.org>, the world’s largest global agricultural innovation network
…________________________________
From: hshin222 <[email protected]>
Sent: Friday, February 12, 2021 4:15 AM
To: DSpace-Labs/SAFBuilder <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [DSpace-Labs/SAFBuilder] Compilation error (#25) Newsletter / Marketing
I am trying to run the test file but getting the compilation error. Any suggestions?
c:\SAFBuilder>safbuilder.bat -c C:\SAFBuilder\src\sample_data\AAA_batch-metadata.csv
[ERROR] COMPILATION ERROR :
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project safbuilder: Compilation failure: Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[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] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project safbuilder: An exception occured while executing the Java class. safbuilder.BatchProcess -> [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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#25>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJ5XHMD3NHUO5G6OFAVOVH3S6Q3HJANCNFSM4XPPAZ3Q>.
|
You can resolve this by changing lines 94 & 95 of the pom.xml file from 1.6 to 1.7, then running the command again. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to run the test file but getting the compilation error. Any suggestions?
c:\SAFBuilder>safbuilder.bat -c C:\SAFBuilder\src\sample_data\AAA_batch-metadata.csv
[ERROR] COMPILATION ERROR :
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project safbuilder: Compilation failure: Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[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] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project safbuilder: An exception occured while executing the Java class. safbuilder.BatchProcess -> [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
The text was updated successfully, but these errors were encountered: