airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1437253 - in /airavata/trunk/modules/distribution: airavata-server/pom.xml release/pom.xml
Date Wed, 23 Jan 2013 02:33:43 GMT
Author: samindaw
Date: Wed Jan 23 02:33:43 2013
New Revision: 1437253

URL: http://svn.apache.org/viewvc?rev=1437253&view=rev
Log:
create zip/tar.gz from the wars

Modified:
    airavata/trunk/modules/distribution/airavata-server/pom.xml
    airavata/trunk/modules/distribution/release/pom.xml

Modified: airavata/trunk/modules/distribution/airavata-server/pom.xml
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/airavata-server/pom.xml?rev=1437253&r1=1437252&r2=1437253&view=diff
==============================================================================
--- airavata/trunk/modules/distribution/airavata-server/pom.xml (original)
+++ airavata/trunk/modules/distribution/airavata-server/pom.xml Wed Jan 23 02:33:43 2013
@@ -51,6 +51,27 @@
                             <excludes>**/icu4j-2.6.1.jar</excludes>
                         </configuration>
                     </execution>
+					<execution>
+						<id>copy</id>
+						<phase>package</phase>
+						<goals>
+						  <goal>copy</goal>
+						</goals>
+						<configuration>
+						  <artifactItems>
+							<artifactItem>
+                                <groupId>org.apache.airavata</groupId>
+                                <artifactId>airavata-rest-service-webapp</artifactId>
+                                <version>${project.version}</version>
+                                <type>war</type>
+                                <overWrite>true</overWrite>
+                                <outputDirectory>${airavata.war.dir}</outputDirectory>
+								<destFileName>airavata-registry.war</destFileName>
+                            </artifactItem>
+						  </artifactItems>
+						  <outputDirectory>${airavata.war.dir}</outputDirectory>
+						</configuration>
+					  </execution>
                 </executions>
             </plugin>
             <plugin>
@@ -141,10 +162,11 @@
                                 </copy>
 								<replace file="${airavata.webapp.dir}/WEB-INF/classes/airavata-server.properties">
                                     <replacetoken>#server.context-root=axis2</replacetoken>
-                                    <replacevalue>server.context-root=${airavata.dist.name}</replacevalue>
+                                    <replacevalue>server.context-root=airavata-server</replacevalue>
                                 </replace>
-								<zip destfile="${airavata.webapp.war}" basedir="${airavata.webapp.dir}" />
-                                
+								<zip destfile="${airavata.war.dir}/airavata-server.war" basedir="${airavata.webapp.dir}"
/>
+								<zip destfile="${airavata.webapp.war.zip}" basedir="${airavata.war.dir}" />
+                    			<tar tarfile="${airavata.webapp.war.tar.gz}" basedir="${airavata.war.dir}"
compression="gzip" />            
                             </target>
                         </configuration>
                         <goals>
@@ -167,8 +189,14 @@
 				    <configuration>
 				      <artifacts>
 				        <artifact>
-				          <file>${airavata.webapp.war}</file>
-				          <type>war</type>
+				          <file>${airavata.webapp.war.zip}</file>
+				          <type>zip</type>
+						  <classifier>war</classifier>
+				        </artifact>
+				        <artifact>
+				          <file>${airavata.webapp.war.tar.gz}</file>
+				          <type>tar.gz</type>
+						  <classifier>war</classifier>
 				        </artifact>
 						<artifact>
 				          <file>${airavata.bin.zip}</file>
@@ -597,6 +625,8 @@
 		<airavata.bin.zip>${project.build.directory}/${airavata.dist.name}-bin.zip</airavata.bin.zip>
 		<airavata.bin.tar.gz>${project.build.directory}/${airavata.dist.name}-bin.tar.gz</airavata.bin.tar.gz>
 		<airavata.webapp.dir>${project.build.directory}/airavata-axis2</airavata.webapp.dir>
-		<airavata.webapp.war>${project.build.directory}/${airavata.dist.name}.war</airavata.webapp.war>
+		<airavata.war.dir>${project.build.directory}/test</airavata.war.dir>
+		<airavata.webapp.war.zip>${project.build.directory}/${airavata.dist.name}.war.zip</airavata.webapp.war.zip>
+		<airavata.webapp.war.tar.gz>${project.build.directory}/${airavata.dist.name}.war.tar.gz</airavata.webapp.war.tar.gz>
     </properties>
 </project>

Modified: airavata/trunk/modules/distribution/release/pom.xml
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/release/pom.xml?rev=1437253&r1=1437252&r2=1437253&view=diff
==============================================================================
--- airavata/trunk/modules/distribution/release/pom.xml (original)
+++ airavata/trunk/modules/distribution/release/pom.xml Wed Jan 23 02:33:43 2013
@@ -38,16 +38,17 @@
 						</goals>
 						<configuration>
 							<artifactItems>
+								<!--Airavata Server Distributions-->
 								<artifactItem>
 									<groupId>org.apache.airavata</groupId>
-									<artifactId>apache-airavata-client</artifactId>
+									<artifactId>apache-airavata-server</artifactId>
 						            <version>${project.version}</version>
 									<type>zip</type>
 									<classifier>bin</classifier>
 								</artifactItem>
 								<artifactItem>
 									<groupId>org.apache.airavata</groupId>
-									<artifactId>apache-airavata-client</artifactId>
+									<artifactId>apache-airavata-server</artifactId>
 						            <version>${project.version}</version>
 									<type>tar.gz</type>
 									<classifier>bin</classifier>
@@ -57,27 +58,31 @@
 									<artifactId>apache-airavata-server</artifactId>
 						            <version>${project.version}</version>
 									<type>zip</type>
-									<classifier>bin</classifier>
+									<classifier>war</classifier>
 								</artifactItem>
 								<artifactItem>
 									<groupId>org.apache.airavata</groupId>
 									<artifactId>apache-airavata-server</artifactId>
 						            <version>${project.version}</version>
 									<type>tar.gz</type>
-									<classifier>bin</classifier>
+									<classifier>war</classifier>
 								</artifactItem>
+								<!--Airavata Client Distributions-->
 								<artifactItem>
 									<groupId>org.apache.airavata</groupId>
-									<artifactId>apache-airavata-server</artifactId>
+									<artifactId>apache-airavata-client</artifactId>
 						            <version>${project.version}</version>
-									<type>war</type>
+									<type>zip</type>
+									<classifier>bin</classifier>
 								</artifactItem>
 								<artifactItem>
 									<groupId>org.apache.airavata</groupId>
-									<artifactId>airavata-rest-service-webapp</artifactId>
+									<artifactId>apache-airavata-client</artifactId>
 						            <version>${project.version}</version>
-									<type>war</type>
+									<type>tar.gz</type>
+									<classifier>bin</classifier>
 								</artifactItem>
+								<!--Airavata XBaya-GUI Distributions-->
 								<artifactItem>
 									<groupId>org.apache.airavata</groupId>
 									<artifactId>apache-airavata-xbaya-gui</artifactId>



Mime
View raw message