[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stp-commits] r3628 - org.eclipse.stp.sca/trunk/update-site

Author: vzurczak
Date: 2011-05-20 03:34:33 -0400 (Fri, 20 May 2011)
New Revision: 3628

Modified:
   org.eclipse.stp.sca/trunk/update-site/pom.xml
Log:
Update the pack & sign configuration

Modified: org.eclipse.stp.sca/trunk/update-site/pom.xml
===================================================================
--- org.eclipse.stp.sca/trunk/update-site/pom.xml	2011-05-19 16:32:51 UTC (rev 3627)
+++ org.eclipse.stp.sca/trunk/update-site/pom.xml	2011-05-20 07:34:33 UTC (rev 3628)
@@ -125,7 +125,6 @@
 							<execution>
 								<id>sign</id>
 								<configuration>
-									<inputFile>${project.build.directory}/packed/site_assembly.zip</inputFile>
 									<signerInputDirectory>/home/data/httpd/download-staging.priv/stp/</signerInputDirectory>
 								</configuration>
 								<phase>package</phase>
@@ -137,7 +136,7 @@
 							<execution>
 								<id>repack</id>
 								<configuration>
-									<inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile> 
+									<inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
 								</configuration>
 								<phase>package</phase>
 								<goals>
@@ -147,9 +146,6 @@
 							 
 							<execution>
 								<id>fixCheckSums</id>
-								<configuration>
-									<inputFile>${project.build.directory}/site_assembly.zip</inputFile> 
-								</configuration>
 								<phase>package</phase>
 								<goals>
 									<goal>fixCheckSums</goal>
@@ -157,6 +153,32 @@
 							</execution>
 						</executions>
 					</plugin>
+					
+					<plugin>
+						<artifactId>maven-antrun-plugin</artifactId>
+						<version>1.6</version>
+						<executions>
+							<execution>
+								<id>cleanup-signing</id>
+								<phase>install</phase>
+								
+								<configuration>
+									<target>
+										<delete includeemptydirs="true">
+											<fileset dir="/home/data/httpd/download-staging.priv/stp/">
+												<exclude name="signed" />
+												<exclude name="signed_folder" />
+											</fileset>
+										</delete>
+									</target>
+								</configuration>
+								
+								<goals>
+									<goal>run</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
 				</plugins>
 			</build>
 		</profile>