struktogrammeditor icon indicating copy to clipboard operation
struktogrammeditor copied to clipboard

Build fails under Windows 11

Open legymhueck opened this issue 2 years ago • 1 comments

Sorry, I have no idea what to do about this compile message under Windows 11, PowerShell:

[INFO] Changes detected - recompiling the module! [INFO] Compiling 37 source files to C:\Users\micha\Documents\git\struktogrammeditor\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: 26.329 s [INFO] Finished at: 2022-08-28T15:21:02+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project struktogrammeditor: 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

legymhueck avatar Aug 28 '22 13:08 legymhueck

Hi @legymhueck, try to upgrade the version to 1.7 in the file pom.xml

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
	<source>1.6</source>
	<target>1.6</target>
</configuration>

Currently it's 1.6, which is very old

kekru avatar Aug 30 '22 15:08 kekru