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/09/07 23:19:36 UTC

svn commit: r812277 - in /incubator/empire-db/trunk: pom.xml release.sh

Author: francisdb
Date: Mon Sep  7 21:19:33 2009
New Revision: 812277

URL: http://svn.apache.org/viewvc?rev=812277&view=rev
Log:
correct rat report generation

Modified:
    incubator/empire-db/trunk/pom.xml
    incubator/empire-db/trunk/release.sh

Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=812277&r1=812276&r2=812277&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Mon Sep  7 21:19:33 2009
@@ -289,7 +289,13 @@
 			       	<version>1.0-alpha-3</version>
 			       	<configuration>
 			       		<excludes>
-			       			<exclude>dependencies.txt</exclude>
+			       			<!-- This might be to generic -->
+			       			<exclude>**/target/**</exclude>
+			      			<exclude>**/dependencies.txt</exclude>
+			       			<exclude>**/.settings/**</exclude>
+			       			<exclude>**/.project</exclude>
+			       			<exclude>**/.classpath</exclude>
+			       			<exclude>**/.tomcatplugin</exclude>
 			       		</excludes>
 			       	</configuration>
 			  	</plugin>

Modified: incubator/empire-db/trunk/release.sh
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/release.sh?rev=812277&r1=812276&r2=812277&view=diff
==============================================================================
--- incubator/empire-db/trunk/release.sh (original)
+++ incubator/empire-db/trunk/release.sh Mon Sep  7 21:19:33 2009
@@ -60,9 +60,6 @@
 echo "Clean all projects"
 mvn5 clean -Pall
 
-echo "Generating rat report"
-mvn5 rat:check -Drat.excludeSubprojects=false
-
 # package and assemble the release
 echo "Package and assemble the release"
 # mvn5 -ff -Dgpg.passphrase="$passphrase" -Prelease deploy javadoc:aggregate assembly:attached $1
@@ -82,4 +79,7 @@
 # gpg --print-md SHA1 $filename > $filename.sha
 echo "$passphrase" | gpg --passphrase-fd 0 --armor --output $filename.asc --detach-sig $filename
 
+echo "Generating rat report in target/dist"
+mvn5 rat:check -Drat.excludeSubprojects=false -Drat.outputFile=target/dist/rat.txt -N
+
 echo "Distribution build completed in target/dist"