FLEX-34980 - NoSuchMethodError on Java 7
- Added the animal sniffer maven plugin to ensure API compatibility with JDK 1.6
diff --git a/pom.xml b/pom.xml
index 9058753..1e874a2 100755
--- a/pom.xml
+++ b/pom.xml
@@ -65,6 +65,7 @@
<module>remoting</module>
<module>opt</module>
<module>testsuite</module>
+ <module>blazeds-spring-boot-starter</module>
</modules>
<build>
@@ -89,26 +90,6 @@
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.5.1</version>
- <executions>
- <execution>
- <id>assemble-sources-releases</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/assemble-zip.xml</descriptor>
- <descriptor>src/assembly/assemble-gz.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
-
<!-- Turned off till the JavaDoc tags are all correctly set -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -117,6 +98,29 @@
<skip>true</skip>
</configuration>
</plugin>
+
+ <!-- Plugin to detect problems with JDK incompatabilities -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <version>1.15</version>
+ <executions>
+ <execution>
+ <id>check-jdk-1.6</id>
+ <phase>test</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <signature>
+ <groupId>org.codehaus.mojo.signature</groupId>
+ <artifactId>java16</artifactId>
+ <version>1.1</version>
+ </signature>
+ </configuration>
+ </plugin>
</plugins>
</build>