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 2006/12/01 12:18:56 UTC

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

Author: olegk
Date: Fri Dec  1 03:18:50 2006
New Revision: 481223

URL: http://svn.apache.org/viewvc?view=rev&rev=481223
Log:
Some minor POM optimizations; improved use of compile source and target parameters

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

Modified: jakarta/httpcomponents/httpcore/trunk/module-main/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-main/pom.xml?view=diff&rev=481223&r1=481222&r2=481223
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-main/pom.xml (original)
+++ jakarta/httpcomponents/httpcore/trunk/module-main/pom.xml Fri Dec  1 03:18:50 2006
@@ -3,14 +3,14 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.httpcomponents</groupId>
-    <artifactId>jakarta-httpcore-pom</artifactId>
+    <artifactId>httpcore</artifactId>
     <version>4.0-alpha3-SNAPSHOT</version>
   </parent>
   <artifactId>jakarta-httpcore</artifactId>
   <name>HttpCore (base module)</name>
   <inceptionYear>2005</inceptionYear>
   <description>
-   Core HTTP components (Java 1.3 compatible)
+   HttpComponents Core (Java 1.3 compatible)
   </description>
   <url>http://jakarta.apache.org/httpcomponents/httpcore</url>
   <packaging>jar</packaging>  
@@ -38,16 +38,23 @@
     </dependency>
   </dependencies>
 
+  <properties>
+    <maven.compile.source>1.3</maven.compile.source>
+    <maven.compile.target>1.3</maven.compile.target>
+    <maven.compile.optimize>true</maven.compile.optimize>
+    <maven.compile.deprecation>true</maven.compile.deprecation>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.3</source>
-          <target>1.3</target>
-          <optimize>true</optimize>
-          <showDeprecations>true</showDeprecations>
+          <source>${maven.compile.source}</source>
+          <target>${maven.compile.target}</target>
+          <optimize>${maven.compile.optimize}</optimize>
+          <showDeprecations>${maven.compile.deprecation}</showDeprecations>
         </configuration>
       </plugin>
       <plugin>

Modified: jakarta/httpcomponents/httpcore/trunk/module-nio/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-nio/pom.xml?view=diff&rev=481223&r1=481222&r2=481223
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-nio/pom.xml (original)
+++ jakarta/httpcomponents/httpcore/trunk/module-nio/pom.xml Fri Dec  1 03:18:50 2006
@@ -3,14 +3,14 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.httpcomponents</groupId>
-    <artifactId>jakarta-httpcore-pom</artifactId>
+    <artifactId>httpcore</artifactId>
     <version>4.0-alpha3-SNAPSHOT</version>
   </parent>
   <artifactId>jakarta-httpcore-nio</artifactId>
   <name>HttpCore (NIO extensions module)</name>
   <inceptionYear>2005</inceptionYear>
   <description>
-   Core HTTP components (NIO extensions)
+   HttpComponents Core (NIO extensions)
   </description>
   <url>http://jakarta.apache.org/httpcomponents/httpcore</url>
   <packaging>jar</packaging>  
@@ -43,16 +43,23 @@
     </dependency>
   </dependencies>
 
+  <properties>
+    <maven.compile.source>1.4</maven.compile.source>
+    <maven.compile.target>1.4</maven.compile.target>
+    <maven.compile.optimize>true</maven.compile.optimize>
+    <maven.compile.deprecation>true</maven.compile.deprecation>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.4</source>
-          <target>1.4</target>
-          <optimize>true</optimize>
-          <showDeprecations>true</showDeprecations>
+          <source>${maven.compile.source}</source>
+          <target>${maven.compile.target}</target>
+          <optimize>${maven.compile.optimize}</optimize>
+          <showDeprecations>${maven.compile.deprecation}</showDeprecations>
         </configuration>
       </plugin>
       <plugin>

Modified: jakarta/httpcomponents/httpcore/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/pom.xml?view=diff&rev=481223&r1=481222&r2=481223
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/pom.xml (original)
+++ jakarta/httpcomponents/httpcore/trunk/pom.xml Fri Dec  1 03:18:50 2006
@@ -6,8 +6,8 @@
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.httpcomponents</groupId>
-  <artifactId>jakarta-httpcore-pom</artifactId>
-  <name>HttpCore Project</name>
+  <artifactId>httpcore</artifactId>
+  <name>HttpComponents Core</name>
   <version>4.0-alpha3-SNAPSHOT</version>
   <description>Core components to build HTTP enabled services</description>
   <url>http://jakarta.apache.org/httpcomponents/httpcore</url>
@@ -97,11 +97,6 @@
       <name>Apache Web Site</name>
       <url>scp://people.apache.org/www/jakarta.apache.org/httpcomponents/http-core</url>
     </site>
-    <repository>
-      <id>apache.releases</id>
-      <name>Apache Release Repository</name>
-      <url>scp://people.apache.org/www/www.apache.org/dist/maven-repository</url>
-    </repository>
   </distributionManagement>
 
 </project>