You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2007/10/02 19:02:11 UTC

svn commit: r581310 - in /jakarta/httpcomponents/httpcore/trunk: build.xml module-main/build.xml module-nio/build.xml pom.xml

Author: olegk
Date: Tue Oct  2 10:02:11 2007
New Revision: 581310

URL: http://svn.apache.org/viewvc?rev=581310&view=rev
Log:
Removed obsolete Ant build scripts; Made inclusion of the NIOSSL module conditional (jdk 1.5+)

Removed:
    jakarta/httpcomponents/httpcore/trunk/build.xml
    jakarta/httpcomponents/httpcore/trunk/module-main/build.xml
    jakarta/httpcomponents/httpcore/trunk/module-nio/build.xml
Modified:
    jakarta/httpcomponents/httpcore/trunk/pom.xml

Modified: jakarta/httpcomponents/httpcore/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/pom.xml?rev=581310&r1=581309&r2=581310&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/pom.xml (original)
+++ jakarta/httpcomponents/httpcore/trunk/pom.xml Tue Oct  2 10:02:11 2007
@@ -71,7 +71,6 @@
   <modules>
     <module>module-main</module>
     <module>module-nio</module>
-    <module>module-niossl</module>
   </modules>
 
   <build>
@@ -162,5 +161,22 @@
 
     </plugins>
   </reporting>
+
+  <profiles>
+     <profile>
+        <id>java5-compat</id>
+        <activation>
+          <!-- 
+            for some bloody reason Maven refuses to recognize 1.5+ as 
+            a valid jdk attribute even though this is supposed to be
+            supported as of Maven 2.0.7 (see MNG-1910)
+          -->
+          <jdk>!1.4</jdk>
+        </activation>
+        <modules>
+          <module>module-niossl</module>
+        </modules>
+     </profile>
+  </profiles>
 
 </project>