httpcomponents-client/0001-Remove-few-modules-and-deps.patch
2012-03-01 12:06:16 +01:00

142 lines
4.3 KiB
Diff

From 69fb282ec131437de7a4f0f3a8a38c764ddd05af Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Thu, 1 Mar 2012 11:38:36 +0100
Subject: [PATCH 1/3] Remove few modules and deps
---
pom.xml | 92 +-------------------------------------------------------------
1 files changed, 2 insertions(+), 90 deletions(-)
diff --git a/pom.xml b/pom.xml
index 25a70a2..39c4777 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,28 +82,11 @@
<modules>
<module>httpclient</module>
<module>httpmime</module>
- <module>httpclient-cache</module>
- <module>httpclient-osgi</module>
</modules>
<build>
<plugins>
<plugin>
- <artifactId>maven-notice-plugin</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- <executions>
- <execution>
- <id>attach-notice-license</id>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <projectTitle>Apache HttpComponents</projectTitle>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
@@ -200,62 +183,6 @@
</tasks>
</configuration>
</plugin>
- <plugin>
- <groupId>com.agilejava.docbkx</groupId>
- <artifactId>docbkx-maven-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.docbook</groupId>
- <artifactId>docbook-xml</artifactId>
- <version>4.4</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>tutorial-site</id>
- <goals>
- <goal>generate-html</goal>
- <goal>generate-pdf</goal>
- </goals>
- <phase>pre-site</phase>
- </execution>
- </executions>
- <configuration>
- <includes>index.xml</includes>
- <chunkedOutput>true</chunkedOutput>
- <xincludeSupported>true</xincludeSupported>
- <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
- <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
- <htmlStylesheet>css/hc-tutorial.css</htmlStylesheet>
- <entities>
- <entity>
- <name>version</name>
- <value>${project.version}</value>
- </entity>
- </entities>
- <postProcess>
- <copy todir="target/site/tutorial/html"
- failonerror="false">
- <fileset dir="target/docbkx/html/index">
- <include name="**/*.html" />
- </fileset>
- </copy>
- <copy todir="target/site/tutorial/html"
- failonerror="false">
- <fileset dir="src/docbkx/resources">
- <include name="**/*.css" />
- <include name="**/*.png" />
- <include name="**/*.gif" />
- <include name="**/*.jpg" />
- </fileset>
- </copy>
- <copy file="target/docbkx/pdf/index.pdf"
- tofile="target/site/tutorial/pdf/httpclient-tutorial.pdf"
- failonerror="false"/>
- </postProcess>
- </configuration>
- </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
@@ -277,14 +204,7 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <configuration>
- <comparisonVersion>${comparisonVersion}</comparisonVersion>
- </configuration>
- </plugin>
- </plugins>
+ </plugins>
</build>
<reporting>
@@ -305,15 +225,7 @@
</reportSets>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <configuration>
- <comparisonVersion>${comparisonVersion}</comparisonVersion>
- </configuration>
- </plugin>
-
- </plugins>
+ </plugins>
</reporting>
</project>
--
1.7.7.6