activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1181871 - /activemq/activemq-apollo/trunk/apollo-website/pom.xml
Date Tue, 11 Oct 2011 16:21:10 GMT
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>



Mime
View raw message