You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by mi...@apache.org on 2020/09/07 07:21:47 UTC

[httpcomponents-core] 02/09: Upgrade Parent to 12

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master-pom-cleanup
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git

commit cba7dce2eca353a92bce117c52b639cb221954a6
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Sep 7 09:12:51 2020 +0200

    Upgrade Parent to 12
    
    Massively remove everything already present in the parent POM.
---
 pom.xml | 42 ++++++++++--------------------------------
 1 file changed, 10 insertions(+), 32 deletions(-)

diff --git a/pom.xml b/pom.xml
index d33cf23..5f62f35 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,19 +39,6 @@
   <inceptionYear>2005</inceptionYear>
   <packaging>pom</packaging>
 
-  <organization>
-    <name>The Apache Software Foundation</name>
-    <url>http://www.apache.org/</url>
-  </organization>
-
-  <licenses>
-    <license>
-      <name>Apache License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-      <distribution>repo</distribution>
-    </license>
-  </licenses>
-
   <issueManagement>
     <system>Jira</system>
     <url>https://issues.apache.org/jira/browse/HTTPCORE</url>
@@ -129,15 +116,8 @@
         <configuration>
           <archive>
             <manifestEntries>
-              <Specification-Title>HttpComponents ${project.name}</Specification-Title>
-              <Specification-Version>${project.version}</Specification-Version>
-              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
-              <Implementation-Title>HttpComponents ${project.name}</Implementation-Title>
-              <Implementation-Version>${project.version}</Implementation-Version>
-              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
-              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
               <Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
-              <url>${project.url}</url>
+              <Implementation-URL>${project.url}</Implementation-URL>
             </manifestEntries>
           </archive>
         </configuration>
@@ -178,9 +158,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <configuration>
-          <encoding>UTF-8</encoding>
-        </configuration>
         <executions>
           <execution>
             <id>validate-main</id>
@@ -191,7 +168,9 @@
               <consoleOutput>true</consoleOutput>
               <failsOnError>true</failsOnError>
               <linkXRef>false</linkXRef>
-              <sourceDirectory>${basedir}/src/main</sourceDirectory>
+              <sourceDirectories>
+                <sourceDirectory>${basedir}/src/main</sourceDirectory>
+              </sourceDirectories>
             </configuration>
             <goals>
               <goal>checkstyle</goal>
@@ -206,7 +185,9 @@
               <consoleOutput>true</consoleOutput>
               <failsOnError>true</failsOnError>
               <linkXRef>false</linkXRef>
-              <sourceDirectory>${basedir}/src/test</sourceDirectory>
+              <sourceDirectories>
+                <sourceDirectory>${basedir}/src/test</sourceDirectory>
+              </sourceDirectories>
             </configuration>
             <goals>
               <goal>checkstyle</goal>
@@ -221,7 +202,9 @@
               <consoleOutput>true</consoleOutput>
               <failsOnError>true</failsOnError>
               <linkXRef>false</linkXRef>
-              <sourceDirectory>${basedir}/src/examples</sourceDirectory>
+              <sourceDirectories>
+                <sourceDirectory>${basedir}/src/examples</sourceDirectory>
+              </sourceDirectories>
             </configuration>
             <goals>
               <goal>checkstyle</goal>
@@ -263,11 +246,6 @@
           </excludes>
         </configuration>
       </plugin>
-      <!-- Remove after upgrade of HC Parent -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>