Author: chetanm
Date: Fri Dec  4 05:24:34 2015
New Revision: 1717897

URL: http://svn.apache.org/viewvc?rev=1717897&view=rev
Log:
OAK-3687 - Oak standalone application example based on Spring Boot

Disable the execution of test for JDK 6 as some of the dependencies are 
compiled for JDK 7 only. Only test execution would be skipped but module would 
still be built. For other JDK test would be executed

Modified:
    jackrabbit/oak/trunk/oak-examples/standalone/pom.xml

Modified: jackrabbit/oak/trunk/oak-examples/standalone/pom.xml
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-examples/standalone/pom.xml?rev=1717897&r1=1717896&r2=1717897&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-examples/standalone/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-examples/standalone/pom.xml Fri Dec  4 05:24:34 
2015
@@ -299,4 +299,31 @@
     </plugins>
   </build>
 
+  <profiles>
+  <profile>
+    <id>disable-test-jdk6</id>
+    <activation>
+      <jdk>1.6</jdk>
+    </activation>
+    <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-failsafe-plugin</artifactId>
+          <configuration>
+            <skipTests>true</skipTests>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <skipTests>true</skipTests>
+          </configuration>
+        </plugin>
+      </plugins>
+    </build>
+  </profile>
+  </profiles>
+
 </project>


Reply via email to