You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2008/03/01 01:56:53 UTC
svn commit: r632518 - /geronimo/plugins/roller/trunk/pom.xml
Author: djencks
Date: Fri Feb 29 16:56:52 2008
New Revision: 632518
URL: http://svn.apache.org/viewvc?rev=632518&view=rev
Log:
add release profile, and leave out assemblies by default
Modified:
geronimo/plugins/roller/trunk/pom.xml
Modified: geronimo/plugins/roller/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/roller/trunk/pom.xml?rev=632518&r1=632517&r2=632518&view=diff
==============================================================================
--- geronimo/plugins/roller/trunk/pom.xml (original)
+++ geronimo/plugins/roller/trunk/pom.xml Fri Feb 29 16:56:52 2008
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.geronimo.genesis.config</groupId>
<artifactId>project-config</artifactId>
- <version>1.2</version>
+ <version>1.3</version>
</parent>
<groupId>org.apache.geronimo.plugins</groupId>
@@ -31,6 +31,12 @@
<name>Geronimo :: Roller:: Parent</name>
<packaging>pom</packaging>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk</developerConnection>
+ <url>https://svn.apache.org/viewvc/geronimo/plugins/roller/trunk</url>
+ </scm>
+
<!-- IMPORTANT NOTE
BEFORE RELEASING change the rollerPluginVersion below
-->
@@ -493,6 +499,17 @@
<version>2.1-alpha-1</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <tagBase>https://svn.apache.org/repos/asf/geronimo/plugins/roller/tags</tagBase>
+ <useReleaseProfile>false</useReleaseProfile>
+ <goals>deploy</goals>
+ <arguments>-Prelease</arguments>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -566,8 +583,88 @@
<module>roller-themes</module>
<module>roller-jetty</module>
<module>roller-tomcat</module>
- <module>geronimo-jetty-roller</module>
- <module>geronimo-tomcat-roller</module>
+ <!--<module>geronimo-jetty-roller</module>-->
+ <!--<module>geronimo-tomcat-roller</module>-->
</modules>
+ <profiles>
+ <profile>
+ <id>release-environment</id>
+
+ <activation>
+ <property>
+ <name>env</name>
+ <value>release</value>
+ </property>
+ </activation>
+
+ <build>
+ <plugins>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.4</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <inherited>true</inherited>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <configuration>
+ <passphrase>${gpg.passphrase}</passphrase>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- We want to deploy the artifact to a staging location for perusal -->
+ <plugin>
+ <inherited>true</inherited>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ <!-- We want the JavaDoc JAR published with the release -->
+ <plugin>
+ <inherited>true</inherited>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>with-assembly</id>
+ <modules>
+ <module>geronimo-jetty-roller</module>
+ <module>geronimo-tomcat-roller</module>
+ </modules>
+ </profile>
+ </profiles>
</project>