- Notifications
You must be signed in to change notification settings - Fork 30
Error-prone compiler enabled. [ECR-1746] #564
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
base: master
Are you sure you want to change the base?
Conversation
exonum-java-testing/pom.xml Outdated
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-compiler-plugin</artifactId> | ||
| <configuration> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't this configuration be inherited from the parent POM?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can. But if we make configuration inheritance :
mvn clean install - will work with error-prone
mvn clean install -pl :exonum-java-binding-common - won't work with error-prone
Do we need it separately for submodules ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it , need to specify combine.children="append" for correct configuration group.
exonum-java-testing/pom.xml Outdated
| @@ -1,5 +1,7 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mvn tidy:pom will help :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
| Please update |
| @bullet-tooth Error Prone is licensed under Apache license https://github.com/google/error-prone/blob/master/COPYING we already have it in LICENSES-THIRD-PARTY.TXT |
| @DENMROOT yes, it is. But there is a list of third parties governed under Apache 2.0 that should be extended with the new component |
vitvakatu left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
Error-prone compiler enabled. POM files updated. AutoValue auto generated classes fixed.
See: https://jira.bf.local/browse/ECR-1746
Definition of Done