-
Notifications
You must be signed in to change notification settings - Fork 105
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
Invalid warnings appear in the log #995
Comments
@Sgitario can you please have a look? |
I guess the second code snippet is wrong, the right one should be:
Moreover, this affects all the properties that are not mapped using generators like I will change the logic of this method to not print traces at all. |
There are some system properties that are not directly mapped using generators like `dekorate.build` or `dekorate.push`. These properties will either enable some special handling, functionality and/or include some other properties. The problem is that at the moment, the session is checking whether these properties are properly mapped and if not, it will trace a warning. Therefore, as these properties are programmatically used and there are many more like `dekorate.input.dir`, `dekorate.output.dir`, `dekorate.image-pull-secrets`, `dekorate.properties.profile`, `dekorate.verbose`, `dekorate.test.xxx`, ... and maybe more coming in the future, I think the best way is to not trace this warning ever. The alternative is to maintain a list with all the above values, however I don't really like this approach as this list will be likely became out-date when adding a new unmapped property. Fix dekorateio#995
Unassign this issue. See comment in #997 (comment). |
Running
mvn clean package -Ddekorate.build=true
produces:In the same manner:
mvn clean package -Ddekorate.push=true
produces:build
,push
anddeploy
should never produce warnings. We either need to add a check for them or properlly represent them using generators.The text was updated successfully, but these errors were encountered: