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

maven compile error #15

Open
petyaracz opened this issue Feb 5, 2021 · 1 comment
Open

maven compile error #15

petyaracz opened this issue Feb 5, 2021 · 1 comment

Comments

@petyaracz
Copy link

After cloning repository, mvn package -DskipTests returns

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.

specs:

java version "13.0.2" 2020-01-14
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

Maven home: /opt/apache-maven
Java version: 13.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home
Default locale: en_AU, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.6", arch: "x86_64", family: "mac"

ProductName: Mac OS X
ProductVersion: 10.15.6
BuildVersion: 19G73

I don't know whether the issue is with my machine or the repo (or both etc).

@dlazesz
Copy link
Collaborator

dlazesz commented Feb 8, 2021

The source code is rather old and not maintained. It compiles well on Debian stable an OpenJDK 11.

In your case increasing the source and target versions may help, but other errors could be introduced due to source code incompatibilities.

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

2 participants