Author: cstamas
Date: Thu Mar 31 13:51:20 2011
New Revision: 1087298

URL: http://svn.apache.org/viewvc?rev=1087298&view=rev
Log:
MINDEXER-18: Adding animal-sniffer to ensure Java 1.5 compatibility. See 
MINDEXER-18 for more.

Modified:
    maven/indexer/trunk/pom.xml

Modified: maven/indexer/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/indexer/trunk/pom.xml?rev=1087298&r1=1087297&r2=1087298&view=diff
==============================================================================
--- maven/indexer/trunk/pom.xml (original)
+++ maven/indexer/trunk/pom.xml Thu Mar 31 13:51:20 2011
@@ -184,6 +184,28 @@ under the License.
         </configuration>
       </plugin>
 
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>animal-sniffer-maven-plugin</artifactId>
+        <version>1.6</version>
+        <configuration>
+          <signature>
+            <groupId>org.codehaus.mojo.signature</groupId>
+            <artifactId>java15</artifactId>
+            <version>1.0</version>
+          </signature>
+        </configuration>
+        <executions>
+          <execution>
+            <id>check-java-1.5-compat</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
       <!-- Remove after upgrading to parent 19-SNAPSHOT -->
       <plugin>
         <groupId>org.apache.rat</groupId>


Reply via email to