You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by de...@apache.org on 2010/08/11 04:08:45 UTC

svn commit: r984283 - in /geronimo/devtools/maven-plugins/trunk: maven-eclipsepde-plugin/pom.xml pom.xml

Author: delos
Date: Wed Aug 11 02:08:44 2010
New Revision: 984283

URL: http://svn.apache.org/viewvc?rev=984283&view=rev
Log:
[maven-release-plugin] prepare release 1.1

Modified:
    geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin/pom.xml
    geronimo/devtools/maven-plugins/trunk/pom.xml

Modified: geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin/pom.xml?rev=984283&r1=984282&r2=984283&view=diff
==============================================================================
--- geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin/pom.xml (original)
+++ geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin/pom.xml Wed Aug 11 02:08:44 2010
@@ -20,18 +20,18 @@
     <groupId>org.apache.geronimo.devtools</groupId>
     <artifactId>maven-eclipsepde-plugin</artifactId>
     <packaging>maven-plugin</packaging>
-    <version>1.2-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Maven Eclipse Build Plugin</name>
     <parent>
         <groupId>org.apache.geronimo.devtools</groupId>
         <artifactId>maven-plugins</artifactId>
-        <version>1.2-SNAPSHOT</version>
+        <version>1.1</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <scm>
-        <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin</developerConnection>
-        <url>https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/trunk/maven-eclipsepde-plugin</url>
+        <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/tags/1.1</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/tags/1.1/maven-eclipsepde-plugin</developerConnection>
+        <url>https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/tags/1.1/maven-eclipsepde-plugin</url>
     </scm>
     <dependencies>
         <dependency>

Modified: geronimo/devtools/maven-plugins/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/maven-plugins/trunk/pom.xml?rev=984283&r1=984282&r2=984283&view=diff
==============================================================================
--- geronimo/devtools/maven-plugins/trunk/pom.xml (original)
+++ geronimo/devtools/maven-plugins/trunk/pom.xml Wed Aug 11 02:08:44 2010
@@ -23,7 +23,7 @@
     <artifactId>maven-plugins</artifactId>
     <name>${artifactId}</name>
     <packaging>pom</packaging>
-    <version>1.2-SNAPSHOT</version>
+    <version>1.1</version>
 
     <parent>
         <groupId>org.apache</groupId>
@@ -65,9 +65,9 @@
     </mailingLists>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/trunk</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/trunk</developerConnection>
-        <url>http://svn.apache.org/viewvc/geronimo/devtools/maven-plugins/trunk</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/tags/1.1</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/maven-plugins/tags/1.1</developerConnection>
+        <url>http://svn.apache.org/viewvc/geronimo/devtools/maven-plugins/tags/1.1</url>
     </scm>
 
     <organization>
@@ -162,6 +162,34 @@
                         </archive>
                     </configuration>
                 </plugin>
+
+                 <!-- following plugins are added for release  -->
+                 <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-assembly-plugin</artifactId>
+                    <version>2.2-beta-4</version>
+                </plugin>
+
+                 <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                   <configuration>
+                        <useReleaseProfile>false</useReleaseProfile> 
+                        <allowTimestampedSnapshots>false</allowTimestampedSnapshots>
+                        <preparationGoals>clean install</preparationGoals>
+                        <goals>deploy</goals>
+                    </configuration>
+                </plugin>
+
+                <!-- skip javadoc generation during release:prepare, which is a built-in process from org.apache 6 -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>2.5</version>
+                    <configuration>
+                        <skip>true</skip>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
 
@@ -208,4 +236,62 @@
             </plugin>
         </plugins>
     </build>
+    
+    <profiles>
+ <!-- this profile is copied from genesis-default-flava and genesis 2.0  -->
+         <profile>
+            <id>apache-release</id>
+            <activation>
+                <property>
+                   <name>apache-release</name>
+                </property>
+            </activation>
+            <build>
+            <plugins>
+                <!-- waiting for release -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-assembly-plugin</artifactId>
+                    <inherited>false</inherited>
+                    <executions>
+                        <execution>
+                            <goals>
+                             <goal>single</goal>
+                            </goals>
+                            <phase>package</phase>
+                            <configuration>
+                                <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
+                                <descriptorRefs>
+                                    <descriptorRef>source-release</descriptorRef>
+                                </descriptorRefs>
+                            </configuration>
+                        </execution>
+                    </executions>
+                    <dependencies>
+                        <dependency>
+                            <!-- apache version not yet released -->
+                            <!--<groupId>org.apache</groupId>-->
+                            <groupId>org.apache.geronimo.genesis</groupId>
+                            <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                            <!-- apache version not yet known -->
+                            <version>2.0</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.geronimo.genesis</groupId>
+                    <artifactId>genesis-maven-plugin</artifactId>
+                    <executions>
+                        <execution>
+                            <goals>
+                              <goal>validate-release-configuration</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+            </build>
+         </profile>
+    </profiles>
 </project>