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
I discover a big issue in the maven plugin in flyway 2.3.1, you cannot set any boolean property with a java system property.
i did some debuging and the method getBooleanProperty got a very small bug.
Boolean.getBoolean(systemPropertyValue) should be Boolean.getBoolean(systemPropertyName)
/**
* Retrieves the value of this boolean property, based on the matching System on the Maven property.
*
* @param systemPropertyName The name of the System property.
* @param mavenPropertyValue The value of the Maven property.
* @return The value to use.
*/
boolean getBooleanProperty(String systemPropertyName, boolean mavenPropertyValue) {
String systemPropertyValue = System.getProperty(systemPropertyName);
if (systemPropertyValue != null) {
return Boolean.getBoolean(systemPropertyName);
}
return mavenPropertyValue;
}
The text was updated successfully, but these errors were encountered:
I discover a big issue in the maven plugin in flyway 2.3.1, you cannot set any boolean property with a java system property.
i did some debuging and the method getBooleanProperty got a very small bug.
Boolean.getBoolean(systemPropertyValue) should be Boolean.getBoolean(systemPropertyName)
/**
* Retrieves the value of this boolean property, based on the matching System on the Maven property.
*
* @param systemPropertyName The name of the System property.
* @param mavenPropertyValue The value of the Maven property.
* @return The value to use.
*/
boolean getBooleanProperty(String systemPropertyName, boolean mavenPropertyValue) {
String systemPropertyValue = System.getProperty(systemPropertyName);
if (systemPropertyValue != null) {
return Boolean.getBoolean(systemPropertyName);
}
return mavenPropertyValue;
}
The text was updated successfully, but these errors were encountered: