Navigation Menu

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

[FIXED #33] allow config to not fail the build on violations #34

Closed
wants to merge 1 commit into from

Conversation

jessefarinacci
Copy link
Contributor

Allows a new configuration property 'error' which is true by default to maintain current behavior. The new property lets users not fail the build if errors are found, but simply to allow the error messages to be shown.

Copy link
Contributor

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Could use an IT I think.

*
*/
@Parameter( defaultValue = "true", property = "animal.sniffer.error" )
protected boolean error;
Copy link
Contributor

Choose a reason for hiding this comment

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

failOnError?

}
else
{
getLog().info(
Copy link
Contributor

Choose a reason for hiding this comment

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

warning?

@jessefarinacci
Copy link
Contributor Author

Agree all. Let me rework.

@don-vip
Copy link
Contributor

don-vip commented Sep 17, 2017

The ant task should offer the same parameter.

don-vip added a commit to don-vip/animal-sniffer that referenced this pull request Sep 17, 2017
floscher pushed a commit to floscher/josm that referenced this pull request Sep 17, 2017
* fix javadoc issues in deprecated comments
* update `animal-sniffer-ant-tasks` to 1.16 + patch to make it not fail the build (see mojohaus/animal-sniffer#34)
* update the `check-plugins` task, make it not fail the build

git-svn-id: https://josm.openstreetmap.de/svn/trunk@12873 0c6e7542-c601-0410-84e7-c038aed88b3b
simon04 pushed a commit to JOSM/josm that referenced this pull request Sep 17, 2017
* fix javadoc issues in deprecated comments
* update `animal-sniffer-ant-tasks` to 1.16 + patch to make it not fail the build (see mojohaus/animal-sniffer#34)
* update the `check-plugins` task, make it not fail the build

git-svn-id: http://josm.openstreetmap.de/svn/trunk@12873 0c6e7542-c601-0410-84e7-c038aed88b3b
don-vip added a commit to don-vip/animal-sniffer that referenced this pull request Sep 10, 2018
don-vip added a commit to don-vip/animal-sniffer that referenced this pull request Sep 10, 2018
olamy pushed a commit that referenced this pull request Dec 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants