diff options
author | Henri Sara <hesara@vaadin.com> | 2016-04-22 21:23:01 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-04-25 09:19:12 +0000 |
commit | 6a89c2fae342401f99c591cfc2b2549f4e675e81 (patch) | |
tree | 0598a7b9d3452c118e3ef479a03cef0f4475aa89 /pom.xml | |
parent | 204afbceaaa459bc0f0d3fa05d7213378b261cf0 (diff) | |
download | vaadin-framework-6a89c2fae342401f99c591cfc2b2549f4e675e81.tar.gz vaadin-framework-6a89c2fae342401f99c591cfc2b2549f4e675e81.zip |
Check Java 1.6 compatibility
Ensure that server side classes are compatible with Java 1.6.
Change-Id: I464096bbb316769a4c2fede55d7bcb11ce61e4f0
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -176,6 +176,11 @@ <version>2.17</version> </plugin> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <version>1.15</version> + </plugin> + <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> @@ -212,7 +217,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.17</version> <dependencies> <dependency> <groupId>com.vaadin</groupId> @@ -236,6 +240,30 @@ </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <executions> + <execution> + <id>java6compatibility</id> + <phase>test</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <signature> + <groupId>org.codehaus.mojo.signature</groupId> + <artifactId>java16</artifactId> + <version>1.0</version> + </signature> + <ignores> + <ignore>com.google.gwt.*</ignore> + </ignores> + </configuration> + </execution> + </executions> + </plugin> + <!-- Unpacked Dependencies as resource --> <plugin> <groupId>org.codehaus.mojo</groupId> |