This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Generating resource yamls logs error because keys are not of type String #1695
Labels
status/stale
Issue/PR considered to be stale
Description
When running a mvn fabric8:build on our project the logging shows the following error:
The reason for this failure is the fact that our application.yml contains the following structure:
The https://github.com/fabric8io/fabric8-maven-plugin/blob/master/core/src/main/java/io/fabric8/maven/core/util/YamlUtil.java reads the keys of the my.map as Integers instead of Strings.
So the code on line 69 throws an IllegalArgumentException, however Spring is OK if I use a map with a key of type Integer.
Suggestion: make code robust for other types OR change the Error in a Warning.
Info
mvn -v
) : 3.6.0The text was updated successfully, but these errors were encountered: