Open hshin222 opened 3 years ago
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/apple-touch-icon@2.png?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 Overflowhttps://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: w.ko@cgiar.org
Follow us: Websitehttps://www.worldfishcenter.org/ | Twitterhttps://twitter.com/worldfishcenter | Facebookhttps://www.facebook.com/worldfishcenter | LinkedInhttps://www.linkedin.com/company/worldfish/ | Flickrhttps://www.flickr.com/photos/theworldfishcenter/ | YouTubehttps://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 CGIARhttps://cgiar.org, the world’s largest global agricultural innovation network
From: hshin222 notifications@github.com Sent: Friday, February 12, 2021 4:15 AM To: DSpace-Labs/SAFBuilder SAFBuilder@noreply.github.com Cc: Subscribed subscribed@noreply.github.com 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 GitHubhttps://github.com/DSpace-Labs/SAFBuilder/issues/25, or unsubscribehttps://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.
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