You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2013/06/18 17:10:28 UTC

svn commit: r1494165 - /httpcomponents/project/trunk/pom.xml

Author: sebb
Date: Tue Jun 18 15:10:28 2013
New Revision: 1494165

URL: http://svn.apache.org/r1494165
Log:
Bug in Apache pom means we cannot drop the compiler config.

Modified:
    httpcomponents/project/trunk/pom.xml

Modified: httpcomponents/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/trunk/pom.xml?rev=1494165&r1=1494164&r2=1494165&view=diff
==============================================================================
--- httpcomponents/project/trunk/pom.xml (original)
+++ httpcomponents/project/trunk/pom.xml Tue Jun 18 15:10:28 2013
@@ -47,8 +47,9 @@ Version 7 - changes since version 6
 ===================================
 
 Fixed maven.compile.* properties => maven.compiler.*
-Dropped configuration of compiler plugin as it automatically picks up the properties
-(now that they are spelt correctly!)
+Unfortunately cannot drop the configuration of compiler plugin as the Apache POM
+defines the source/target directly rather than using properties.
+See: https://issues.apache.org/jira/browse/MPOM-44
 
 Also maven.compile.deprecation => maven.compiler.showDeprecation
 
@@ -368,6 +369,17 @@ Felix bundle plugin updated: 2.3.5 -> 2.
 
   <build>
     <plugins>
+    <!--
+        Override the Apache POM which defines the source/target directly rather than using properties.
+         See: https://issues.apache.org/jira/browse/MPOM-44
+     -->
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>${maven.compile.source}</source>
+          <target>${maven.compile.target}</target>
+        </configuration>
+      </plugin>
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>