Skip to content

Commit

Permalink
WIP.
Browse files Browse the repository at this point in the history
This is a mess. Half of these changes aren't necessary.  And this breaks due to
a JDK 9 internal API change. See also
typetools/checker-framework#1224
  • Loading branch information
Stephan202 committed Feb 13, 2019
1 parent c04348b commit 317c1d1
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 1 deletion.
25 changes: 25 additions & 0 deletions error-prone-contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,30 @@
<artifactId>spring-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-compat-qual</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker</artifactId>
<scope>provided</scope>
</dependency>
<!--<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>compiler</artifactId>
<scope>provided</scope>
</dependency>-->
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>jdk8</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
65 changes: 64 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.auto-service>1.0-rc4</version.auto-service>
<version.checker-framework>2.5.5</version.checker-framework>
<version.error-prone>2.3.2</version.error-prone>
<version.error-prone-javac>9+181-r4173-1</version.error-prone-javac>
<version.guava-beta-checker>1.0</version.guava-beta-checker>
Expand Down Expand Up @@ -189,10 +190,30 @@
<artifactId>junit</artifactId>
<version>4.13-beta-2</version>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-compat-qual</artifactId>
<version>${version.checker-framework}</version>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>2.6.0</version>
<version>${version.checker-framework}</version>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker</artifactId>
<version>${version.checker-framework}</version>
</dependency>
<!--<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>compiler</artifactId>
<version>${version.checker-framework}</version>
</dependency>-->
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>jdk8</artifactId>
<version>${version.checker-framework}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -867,7 +888,41 @@
<artifactId>nullaway</artifactId>
<version>${version.nullaway}</version>
</path>
<path>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>${version.checker-framework}</version>
</path>
<!--<path>
<groupId>org.checkerframework</groupId>
<artifactId>checker-compat-qual</artifactId>
<version>${version.checker-framework}</version>
</path>-->
<path>
<groupId>org.checkerframework</groupId>
<artifactId>checker</artifactId>
<version>${version.checker-framework}</version>
</path>
<!--<path>
<groupId>org.checkerframework</groupId>
<artifactId>compiler</artifactId>
<version>${version.checker-framework}</version>
</path>-->
<!-- EP depends on incompatible version 2.1.14. -->
<!--<path>
<groupId>org.checkerframework</groupId>
<artifactId>javacutil</artifactId>
<version>${version.checker-framework}</version>
</path>-->
<path>
<groupId>org.checkerframework</groupId>
<artifactId>jdk8</artifactId>
<version>${version.checker-framework}</version>
</path>
</annotationProcessorPaths>
<annotationProcessors>
<annotationProcessor>org.checkerframework.checker.nullness.NullnessChecker</annotationProcessor>
</annotationProcessors>
<compilerArgs combine.children="append">
<!-- We enable nearly all doclint checks,
except that we don't care about missing Javadoc
Expand Down Expand Up @@ -912,6 +967,14 @@
</compilerArgs>
<showWarnings>true</showWarnings>
</configuration>
<dependencies>
<!-- Fix in EP -->
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>${version.checker-framework}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 317c1d1

Please sign in to comment.