hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1068153 - /httpcomponents/maven-skin/trunk/pom.xml
Date Mon, 07 Feb 2011 21:48:19 GMT
Author: sebb
Date: Mon Feb  7 21:48:18 2011
New Revision: 1068153

URL: http://svn.apache.org/viewvc?rev=1068153&view=rev
Log:
Link to Apache Parent
Create release profile get rid of unnecessary source zip

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=1068153&r1=1068152&r2=1068153&view=diff
==============================================================================
--- httpcomponents/maven-skin/trunk/pom.xml (original)
+++ httpcomponents/maven-skin/trunk/pom.xml Mon Feb  7 21:48:18 2011
@@ -21,6 +21,12 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>8</version>
+    </parent>
+
   <groupId>org.apache.httpcomponents</groupId>
   <artifactId>maven-site-skin</artifactId>
   <version>1.0-SNAPSHOT</version>
@@ -54,4 +60,38 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 
+  <profiles>
+   <profile>
+     <!-- The apache-release profile also creates a zip archive which we don't need -->
+     <id>release</id>
+     <build>
+       <plugins>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-gpg-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </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>
+  </profiles>
 </project>



Mime
View raw message