INL / corpus-frontend

BlackLab Frontend, a feature-rich corpus search interface for BlackLab.
16 stars 7 forks source link

Compilation failed: [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. #476

Closed fishfree closed 5 months ago

fishfree commented 5 months ago

Apache Maven 3.6.3, java-11-openjdk

git clone https://github.com/INL/corpus-frontend
cd corpus-frontend
mvn package
...
ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
...

Then I switched to java-17-openjdk

mvn package
...
ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.7 or later.
...
KCMertens commented 5 months ago

Strange, that doesn't happen for me. Though I'm using maven 3.9.6. I've set the maven-compiler-plugin version to one that should work. Could you try the latest dev again?

fishfree commented 5 months ago

BUILD SUCCESS Thank you, KCMertens!