Skip to content

Conversation

@DENMROOT
Copy link
Contributor

@DENMROOT DENMROOT commented Nov 1, 2018

Overview

Error-prone compiler enabled. POM files updated. AutoValue auto generated classes fixed.


See: https://jira.bf.local/browse/ECR-1746

Definition of Done

  • There are no TODOs left in the code
  • Change is covered by automated tests
  • The coding guidelines are followed
  • Public API has Javadoc
  • Method preconditions are checked and documented in the Javadoc of the method
  • Changelog is updated if needed (in case of notable or breaking changes)
  • The continuous integration build passes
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
Copy link
Contributor

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?

Copy link
Contributor Author

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 ?

Copy link
Contributor Author

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.

@@ -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"
Copy link
Contributor

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 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:)

@dmitry-timofeev dmitry-timofeev added the work-in-progress 👷‍♂️ Do not expect reviewers to provide any feedback on WIP PRs — please ask for it explicitly! label Nov 2, 2018
@bullet-tooth
Copy link
Contributor

Please update LICENSES-THIRD-PARTY.TXT

@DENMROOT
Copy link
Contributor Author

DENMROOT commented Nov 5, 2018

@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

@bullet-tooth
Copy link
Contributor

@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

Copy link
Contributor

@vitvakatu vitvakatu left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

work-in-progress 👷‍♂️ Do not expect reviewers to provide any feedback on WIP PRs — please ask for it explicitly!

7 participants