Skip to content

Commit

Permalink
Fix spotbugs and make 'site' work on JDK11
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Olivelli - Diennea committed Jan 10, 2019
1 parent cc8ed6b commit 563a0a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public String toString() {
}

// only for tests
void discardInternalCachedObject() {
synchronized void discardInternalCachedObject() {
reference = null;
}

Expand Down
2 changes: 1 addition & 1 deletion blazingcache-website/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.6</version>
<version>3.7.1</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
Expand Down
10 changes: 9 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.github.spotbugs</groupId>
Expand All @@ -99,7 +107,7 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${libs.jacoco}</version>
</plugin>
</plugin>
</plugins>
</build>
<profiles>
Expand Down

0 comments on commit 563a0a0

Please sign in to comment.