Enable legman, again

This commit is contained in:
René Pfeuffer
2018-08-21 16:37:34 +02:00
parent 15d5db9458
commit d82a5f446d

36
pom.xml
View File

@@ -402,24 +402,24 @@
</executions>
</plugin>
<!--<plugin>-->
<!--<groupId>com.github.legman</groupId>-->
<!--<artifactId>legman-maven-plugin</artifactId>-->
<!--<version>${legman.version}</version>-->
<!--<configuration>-->
<!--<fail>true</fail>-->
<!--</configuration>-->
<!--<executions>-->
<!--<execution>-->
<!--<phase>process-classes</phase>-->
<!--<goals>-->
<!--&lt;!&ndash; Prevent usage of guava annotations that would be silently ignored -> hard to find.-->
<!--We use legman annotations instead, that provide additional features such as weak references. &ndash;&gt;-->
<!--<goal>guava-migration-check</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
<plugin>
<groupId>com.github.legman</groupId>
<artifactId>legman-maven-plugin</artifactId>
<version>${legman.version}</version>
<configuration>
<fail>true</fail>
</configuration>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<!-- Prevent usage of guava annotations that would be silently ignored -> hard to find.
We use legman annotations instead, that provide additional features such as weak references. -->
<goal>guava-migration-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>