hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r581573 - /jakarta/httpcomponents/httpcore/trunk/pom.xml
Date Wed, 03 Oct 2007 11:56:38 GMT
Author: olegk
Date: Wed Oct  3 04:56:36 2007
New Revision: 581573

URL: http://svn.apache.org/viewvc?rev=581573&view=rev
Log:
Added a warning about exclusion of 1.5 dependent modules when running on an older JDK

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=581573&r1=581572&r2=581573&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/pom.xml (original)
+++ jakarta/httpcomponents/httpcore/trunk/pom.xml Wed Oct  3 04:56:36 2007
@@ -177,6 +177,39 @@
           <module>module-niossl</module>
         </modules>
      </profile>
+     <profile>
+        <id>java1.4</id>
+        <activation>
+          <jdk>1.4</jdk>
+        </activation>
+        
+        <build>
+          <plugins>
+            <plugin>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>java1.4-warning</id>
+                  <phase>package</phase>
+                  <configuration>
+                    <tasks>
+                      <echo>
+=======================================================
+WARNING: Java 1.5 dependent modules are NOT included!
+=======================================================
+                      </echo>
+                    </tasks>
+                  </configuration>
+                  <goals>
+                    <goal>run</goal>
+                  </goals>
+                </execution>
+              </executions>
+            </plugin>
+          </plugins>
+        </build>
+
+     </profile>
   </profiles>
 
 </project>



Mime
View raw message