Author: gawor
Date: Wed Jan  7 11:31:27 2009
New Revision: 732439

URL: http://svn.apache.org/viewvc?rev=732439&view=rev
Log:
some configuration for maven-release-plugin

Modified:
    webservices/commons/trunk/modules/axiom/pom.xml

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=732439&r1=732438&r2=732439&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Wed Jan  7 11:31:27 2009
@@ -23,7 +23,6 @@
     <artifactId>axiom</artifactId>
     <name>Axiom</name>
     <version>SNAPSHOT</version>
-    <!-- Should better be ${axiom.version} -->
     <packaging>pom</packaging>
     <description>AXIOM API</description>
     <url>http://ws.apache.org/commons/axiom/</url>
@@ -264,26 +263,63 @@
             </activation>
             <build>
                 <plugins>
-<!--                    <plugin>
-                        <artifactId>maven-javadoc-plugin</artifactId>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-release-plugin</artifactId>
+                        <configuration>
+                            
<tagBase>http://svn.apache.org/repos/asf/webservices/commons/tags/axiom</tagBase>
+                            <useReleaseProfiles>false</useReleaseProfiles>
+                            <goals>deploy</goals>
+                            <arguments>-Prelease</arguments>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <inherited>true</inherited>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-deploy-plugin</artifactId>
+                        <configuration>
+                            
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+                            <updateReleaseInfo>true</updateReleaseInfo>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                       <inherited>true</inherited>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
                         <executions>
                             <execution>
                                 <goals>
-                                    <goal>javadoc</goal>
+                                    <goal>jar</goal>
                                 </goals>
                             </execution>
                         </executions>
-                        <configuration>
-                            <attach>true</attach>
-                        </configuration>
-                    </plugin>-->
+                    </plugin>
                     <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-release-plugin</artifactId>
+                        <inherited>true</inherited>
+                        <artifactId>maven-javadoc-plugin</artifactId>
                         <configuration>
-                            
<tagBase>http://svn.apache.org/repos/asf/webservices/commons/tags/axiom</tagBase>
+                            
<encoding>${project.build.sourceEncoding}</encoding>
                         </configuration>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
                     </plugin>
+                   <plugin>
+                       <inherited>true</inherited>
+                       <groupId>org.apache.maven.plugins</groupId>
+                       <artifactId>maven-gpg-plugin</artifactId>
+                       <executions>
+                            <execution>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                       </executions>
+                   </plugin>
                 </plugins>
             </build>
         </profile>
@@ -315,6 +351,15 @@
         </profile>
     </profiles>
     <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                    <version>2.0-beta-8</version>
+                </plugin>
+            </plugins>
+        </pluginManagement>
         <plugins>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>


Reply via email to