diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..60a7e63 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +# Documentation: https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "maven" # See documentation for possible values + directory: "/" + schedule: + interval: "weekly" diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 0e1dc1d..1eac99e 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -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 diff --git a/pom.xml b/pom.xml index f7116bf..72cf0ed 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.deviceinsight.helm helm-maven-plugin - 2.5.1 + 2.6.0 maven-plugin Helm Maven Plugin @@ -12,7 +12,7 @@ https://github.com/deviceinsight/helm-maven-plugin - 1.3.72 + 1.4.10 1.8 1.8 1.8 @@ -25,13 +25,13 @@ 2.11.2 4.5.12 - 5.6.2 - 3.16.1 + 5.7.0 + 3.17.2 - 0.9.17 - 3.8.0 - 3.0.1 - 1.13.0 + 1.4.0 + 3.8.1 + 3.2.1 + 1.14.0 1.6.8 1.6 diff --git a/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt b/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt index a8bb678..385f1db 100644 --- a/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt +++ b/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt @@ -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'") }