hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1070957 - in /httpcomponents/maven-skin/trunk: README.txt pom.xml
Date Tue, 15 Feb 2011 16:43:57 GMT
Author: sebb
Date: Tue Feb 15 16:43:56 2011
New Revision: 1070957

URL: http://svn.apache.org/viewvc?rev=1070957&view=rev
Log:
Move readme into pom as we don't want it in the jar; no need for source as it is no different
from binary jar

Removed:
    httpcomponents/maven-skin/trunk/README.txt
Modified:
    httpcomponents/maven-skin/trunk/pom.xml

Modified: httpcomponents/maven-skin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/maven-skin/trunk/pom.xml?rev=1070957&r1=1070956&r2=1070957&view=diff
==============================================================================
--- httpcomponents/maven-skin/trunk/pom.xml (original)
+++ httpcomponents/maven-skin/trunk/pom.xml Tue Feb 15 16:43:56 2011
@@ -29,14 +29,51 @@
 
   <groupId>org.apache.httpcomponents</groupId>
   <artifactId>maven-site-skin</artifactId>
+  <name>maven-site-skin</name>
   <version>1.1-SNAPSHOT</version>
-  <description>Maven custom skin</description>
+
   <inceptionYear>2011</inceptionYear>
   <packaging>jar</packaging>
-
-  <name>maven-site-skin</name>
   <url>http://hc.apache.org</url>
 
+  <description>Maven custom skin allowing specification of footer elements</description>
+<!--
+   To use the skin, add the following to the src/site/site.xml file:
+
+<project ...
+  <skin>
+    <groupId>org.apache.httpcomponents</groupId>
+    <artifactId>maven-site-skin</artifactId>
+    <version>1.1</version>
+  </skin>
+...
+</project>
+
+   The skin contains an updated version of the default Maven template, as well as the
+   default css and image files.
+
+   The template checks the site.xml file for the presence of the following custom tag:
+
+   <custom>
+      <footer>
+      Optional HTML-formatted text goes here
+      </footer>
+   </custom>
+
+   If the tag is found, its contents are added to the footer just before the copyright statement.
+   Example usage:
+   
+ <custom>
+    <footer>
+      <div class="xleft">Apache HttpComponents, Commons HttpClient, Apache, the Apache
feather logo, 
+      and the Apache HttpComponents project logo are trademarks of The Apache Software Foundation.</div>
+      <br/>
+      <div class="xleft">All other marks mentioned may be trademarks or registered
trademarks of their respective owners.</div>
+    </footer>
+  </custom>
+
+-->
+
   <organization>
     <name>Apache Software Foundation</name>
     <url>http://www.apache.org/</url>
@@ -77,19 +114,6 @@
               </execution>
             </executions>
          </plugin>
-         <!-- Create source jar too -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-sources</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
        </plugins>
      </build>
    </profile>



Mime
View raw message