Open JJ opened 6 years ago
Hi, The last version of Graphstream (2.0-alpha) use maven-plugin for 1.8 version
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
<version>3.6.2</version>
</plugin>
It's probably incompatible with your version.
But the error is further down, in org.codehaus.plexus.whatever ... I'm not sure whether I have to downgrade or upgrade.
First try switching to JDK8.
OK.
Maven compilation should work with java9 as much a compilation levels are set in the pom.xml
file.
I tried a similar setup (Ubuntu 16.04 + open-jdk-9) and I could compile a test project with gs-core
as a dependency. No need to compile gs-core
itself.
Here is a minimal maven project with a test class that should work.
Thanks!
El mar., 19 jun. 2018 18:03, Yoann Pigné notifications@github.com escribió:
Maven compilation should work with java9 as much a compilation levels are set in the pom.xml file.
I tried a similar setup (Ubuntu 16.04 + open-jdk-9) and I could compile a test project with gs-core as a dependency. No need to compile gs-core itself.
Here is a minimal maven project https://github.com/pigne/minimal-maven-project-with-graphstream with a test class that should work.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/graphstream/gs-core/issues/287#issuecomment-398453696, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAB9FeXNS0jsR7fpbXloSfNIQW1HwQPks5t-SDVgaJpZM4UrzF4 .
There seems to be some error when performing mvn install in some downstream library:
This is: