Skip to content

Commit

Permalink
Make package mojo more lenient and update kotlin version (#54)
Browse files Browse the repository at this point in the history
Co-authored-by: Emanuel Zienecker <[email protected]>
Co-authored-by: Paul Vorbach <[email protected]>
  • Loading branch information
3 people authored Sep 14, 2020
1 parent bb4b4af commit 283bbf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
= Changelog

== Version 2.6.0

* If the package can't resolve a property an exception is no longer thrown. This behaviour is now logged with a
warning and the packaging mojo continues.

== Version 2.5.1

* Ignore `Set-Cookie` header of responses in the `deploy` goal
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class PackageMojo : AbstractHelmMojo() {
else -> project.properties.getProperty(property)
}
if (result == null) {
throw IllegalStateException("Could not resolve property: '$property' used in file: '$fileName'")
log.warn("Could not resolve property: '$property' used in file: '$fileName'")
} else {
log.debug("Resolved property: '$property' as: '$result'")
}
Expand Down

0 comments on commit 283bbf4

Please sign in to comment.