Skip to content
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

prepare-agent should not overwrite existing property into empty string when execution skipped #486

Merged
merged 2 commits into from Feb 5, 2017

Conversation

Godin
Copy link
Member

@Godin Godin commented Jan 28, 2017

@Godin Godin added type: bug 🐛 Something isn't working component: maven labels Jan 28, 2017
@Godin Godin self-assigned this Jan 28, 2017
@Godin Godin force-pushed the issue-486 branch 4 times, most recently from 4e00daa to 2522aa3 Compare January 28, 2017 23:47
@Godin Godin requested a review from marchof January 29, 2017 00:16
getLog().info(name + " set to empty");
projectProperties.setProperty(name, "");
} else {
getLog().info(name + " set to " + oldValue);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we don't set anything here: Either we don't log at all or we log something like: "Keep [property] as [oldValue]".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marchof fixed

Copy link
Member

@marchof marchof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Godin LGTM now!

@Godin Godin merged commit 2b1d4b2 into master Feb 5, 2017
@Godin Godin deleted the issue-486 branch February 5, 2017 18:16
@jacoco jacoco locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: maven type: bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants