You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by fr...@apache.org on 2009/04/08 06:12:53 UTC
svn commit: r762976 - in /incubator/empire-db/trunk: pom.xml release.sh
Author: francisdb
Date: Tue Apr 7 21:40:49 2009
New Revision: 762976
URL: http://svn.apache.org/viewvc?rev=762976&view=rev
Log:
fix javadoc generation
Added:
incubator/empire-db/trunk/release.sh (with props)
Modified:
incubator/empire-db/trunk/pom.xml
Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=762976&r1=762975&r2=762976&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Tue Apr 7 21:40:49 2009
@@ -92,6 +92,74 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>release</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <!--
+ modules parent and parent are defined not to process their
+ submodules: their release profile is empty. This way we can
+ define which projects to release with a Wicket release from
+ the parent.
+ -->
+ <modules>
+ <module>empire-db</module>
+ <module>empire-db-examples</module>
+ <module>empire-db-struts2</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <aggregate>true</aggregate>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ </plugins>
+ </build>
+ <distributionManagement>
+ <site>
+ <id>local</id>
+ <url>file:target/site</url>
+ </site>
+ <repository>
+ <id>local</id>
+ <url>file:target/m2-repo</url>
+ </repository>
+ </distributionManagement>
+ </profile>
</profiles>
@@ -253,6 +321,11 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
<configuration>
Added: incubator/empire-db/trunk/release.sh
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/release.sh?rev=762976&view=auto
==============================================================================
--- incubator/empire-db/trunk/release.sh (added)
+++ incubator/empire-db/trunk/release.sh Tue Apr 7 21:40:49 2009
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+echo "Enter your GPG passphrase (input will be hidden)"
+stty_orig=`stty -g`
+stty -echo
+read passphrase
+stty $stty_orig
+
+# clean all projects
+echo "Clean all projects"
+mvn clean -Pall
+
+# package and assemble the release
+echo "Package and assemble the release"
+mvn -ff -Prelease deploy javadoc:javadoc assembly:attached $1
+
+filename=`ls target/dist/apache-empire-db*gz`
+gpg --print-md MD5 $filename > $filename.md5
+gpg --print-md SHA1 $filename > $filename.sha
+echo $passphrase | gpg --passphrase-fd 0 --armor --output $filename.asc --detach-sig $filename
+
+filename=`ls target/dist/apache-empire-db*zip`
+gpg --print-md MD5 $filename > $filename.md5
+gpg --print-md SHA1 $filename > $filename.sha
+echo $passphrase | gpg --passphrase-fd 0 --armor --output $filename.asc --detach-sig $filename
Propchange: incubator/empire-db/trunk/release.sh
------------------------------------------------------------------------------
svn:executable = *