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 2021/01/17 10:21:14 UTC

[httpcomponents-client] branch 5.0.x updated: No need to copy example sources as resources when generating site content

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

olegk pushed a commit to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git


The following commit(s) were added to refs/heads/5.0.x by this push:
     new c32b41f  No need to copy example sources as resources when generating site content
c32b41f is described below

commit c32b41f5aa01b148bb3578ebba7f43d3168568c2
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sun Jan 17 11:12:33 2021 +0100

    No need to copy example sources as resources when generating site content
---
 httpclient5-cache/pom.xml  |  9 ---------
 httpclient5-fluent/pom.xml | 34 ----------------------------------
 httpclient5/pom.xml        | 20 --------------------
 3 files changed, 63 deletions(-)

diff --git a/httpclient5-cache/pom.xml b/httpclient5-cache/pom.xml
index 57407fc..ab0665f 100644
--- a/httpclient5-cache/pom.xml
+++ b/httpclient5-cache/pom.xml
@@ -95,15 +95,6 @@
   </dependencies>
 
   <build>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>true</filtering>
-        <includes>
-            <include>**/*.properties</include>
-        </includes>
-      </resource>
-    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/httpclient5-fluent/pom.xml b/httpclient5-fluent/pom.xml
index eae4006..0b06799 100644
--- a/httpclient5-fluent/pom.xml
+++ b/httpclient5-fluent/pom.xml
@@ -78,40 +78,6 @@
     </dependency>
   </dependencies>
 
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-resources</id>
-            <phase>pre-site</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${basedir}/target/site/examples</outputDirectory>
-              <resources>
-                <resource>
-                  <directory>src/test/java/org/apache/hc/client5/http/examples/fluent</directory>
-                </resource>
-              </resources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>true</filtering>
-        <includes>
-            <include>**/*.properties</include>
-        </includes>
-      </resource>
-    </resources>
-  </build>
-
   <reporting>
     <plugins>
       <plugin>
diff --git a/httpclient5/pom.xml b/httpclient5/pom.xml
index 42242cf..f57714b 100644
--- a/httpclient5/pom.xml
+++ b/httpclient5/pom.xml
@@ -135,26 +135,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-resources</id>
-            <phase>pre-site</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${basedir}/target/site/examples</outputDirectory>
-              <resources>
-                <resource>
-                  <directory>src/test/java/org/apache/hc/client5/http/examples</directory>
-                </resource>
-              </resources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>