Actions
Task #2094
closedBE: configure maven plugin versions - maven build fails with latest plugin version
Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Infrastructure
Target version:
Start date:
03/03/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Description
Plugin 'maven-processor-plugin.4.0-beta1' doesn't work on java 8 - configure plugin version '3.3.3' usage and check all other plugins to have version specified - automatic latest version usage is dangerous.
Build failed exception:
[INFO] --- maven-processor-plugin:4.0-beta1:process (process) @ forest-index --- [WARNING] Error injecting: org.bsc.maven.plugin.processor.MainAnnotationProcessorMojo java.lang.TypeNotPresentException: Type org.bsc.maven.plugin.processor.MainAnnotationProcessorMojo not present ... Caused by: java.lang.UnsupportedClassVersionError: org/bsc/maven/plugin/processor/MainAnnotationProcessorMojo has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Updated by Vít Švanda over 4 years ago
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/f56b468939ca2935bc960c3e7005e7725921f24b
I did reivew. I like exact version in dependecies, so thanks for this fix.
Updated by Radek Tomiška over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Build LTS version on jenkins works now.
Actions