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:20:15 UTC

[httpcomponents-client] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git


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

commit b71e2fcb83b469ab8c6688c29417e83d14d9bf40
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 05700b4..5c5c271 100644
--- a/httpclient5-cache/pom.xml
+++ b/httpclient5-cache/pom.xml
@@ -94,15 +94,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 62583ab..67c1e46 100644
--- a/httpclient5-fluent/pom.xml
+++ b/httpclient5-fluent/pom.xml
@@ -77,40 +77,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 fccd74c..833f7ba 100644
--- a/httpclient5/pom.xml
+++ b/httpclient5/pom.xml
@@ -134,26 +134,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>