Skip to content
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 : error using latest Java and maven #20

Open
zvenig opened this issue Jun 16, 2021 · 1 comment
Open

COMPILATION ERROR : error using latest Java and maven #20

zvenig opened this issue Jun 16, 2021 · 1 comment

Comments

@zvenig
Copy link

zvenig commented Jun 16, 2021

Getting COMPILATION ERROR : error using latest Java and maven

$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< org.liquibase.ext.impala:liquibase-impala >--------------
[INFO] Building liquibase-impala 1.3.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ liquibase-impala ---
[INFO] Deleting C:\Users*\Downloads\liquibase-impala-fix-support_for_apache_hive_jdbc_driver\liquibase-impala-fix-support_for_apache_hive_jdbc_driver\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ liquibase-impala ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users*\Downloads\liquibase-impala-fix-support_for_apache_hive_jdbc_driver\liquibase-impala-fix-support_for_apache_hive_jdbc_driver\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ liquibase-impala ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 51 source files to C:\Users*
*\Downloads\liquibase-impala-fix-support_for_apache_hive_jdbc_driver\liquibase-impala-fix-support_for_apache_hive_jdbc_driver\target\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: 1.033 s
[INFO] Finished at: 2021-06-16T13:40:33-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project liquibase-impala: 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

3 MINGW64 ~/Downloads/liquibase-impala-fix-support_for_apache_hive_jdbc_driver/liquibase-impala-fix-support_for_apache_hive_jdbc_driver

@zvenig zvenig changed the title Getting COMPILATION ERROR : error using latest Java and maven COMPILATION ERROR : error using latest Java and maven Jun 16, 2021
@zvenig
Copy link
Author

zvenig commented Jun 17, 2021

Fixed the issue by modifying the pom.xml -- > maven-compiler-plugin -->changed source and target from 1.6 to --1.8

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

No branches or pull requests

1 participant