You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/10/11 18:21:10 UTC

svn commit: r1181871 - /activemq/activemq-apollo/trunk/apollo-website/pom.xml

Author: chirino
Date: Tue Oct 11 16:21:10 2011
New Revision: 1181871

URL: http://svn.apache.org/viewvc?rev=1181871&view=rev
Log:
Fixes APLO-87 : Build fails on windows

Modified:
    activemq/activemq-apollo/trunk/apollo-website/pom.xml

Modified: activemq/activemq-apollo/trunk/apollo-website/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-website/pom.xml?rev=1181871&r1=1181870&r2=1181871&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-website/pom.xml (original)
+++ activemq/activemq-apollo/trunk/apollo-website/pom.xml Tue Oct 11 16:21:10 2011
@@ -356,7 +356,37 @@
         </plugins>
       </build>
     </profile>
-          
+
+
+    <profile>
+      <id>ibmjdk</id>
+      <activation>
+        <file>
+          <exists>${java.home}/../lib/tools.jar</exists>
+        </file>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>com.sun</groupId>
+                  <artifactId>tools</artifactId>
+                  <!--the real JDK version could be 1.5 or 1.6-->
+                  <version>1.5.0</version>
+                  <scope>system</scope>
+                  <optional>true</optional>
+                  <systemPath>${java.home}/../lib/tools.jar</systemPath>
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>    
   </profiles>
             
 </project>