You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 26, 2021. It is now read-only.
Caused by: java.lang.NullPointerException at com.itemis.maven.plugins.unleash.AbstractUnleashMojo.getReleaseArgs(AbstractUnleashMojo.java:263)
One option could be to simply put a nullcheck before the log statement and log that the property has no value instead. That could have other consequences that needs to be handled.
A common use case I see is when I want to mark a build as a release build on the command line. It is more convenient to write -Drelease instead of -Drelease=true. For a varable that is treated as a boolean it is enough to check for existence in other cases it is false. Also the maven profiles match on existence of properties rather than checking if they are set to true or false.