Author: smarru
Date: Fri Dec 13 19:18:56 2013
New Revision: 1550814

URL: http://svn.apache.org/r1550814
Log:
addressing AIRAVATA-953 to build JNLP with release

Modified:
    airavata/trunk/modules/distribution/xbaya-gui/pom.xml

Modified: airavata/trunk/modules/distribution/xbaya-gui/pom.xml
URL: 
http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/xbaya-gui/pom.xml?rev=1550814&r1=1550813&r2=1550814&view=diff
==============================================================================
--- airavata/trunk/modules/distribution/xbaya-gui/pom.xml (original)
+++ airavata/trunk/modules/distribution/xbaya-gui/pom.xml Fri Dec 13 19:18:56 
2013
@@ -8,7 +8,8 @@
     ANY ~ KIND, either express or implied. See the License for the specific 
language governing permissions and limitations under 
     the License. -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
     <parent>
         <groupId>org.apache.airavata</groupId>
         <artifactId>distribution</artifactId>
@@ -106,6 +107,9 @@
         </profile>
         <profile> <!-- JNLP -->
             <id>jnlp</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
             <build>
                 <plugins>
                     <plugin>
@@ -116,8 +120,10 @@
                                 <phase>compile</phase>
                                 <configuration>
                                     <target>
-                                        <taskdef 
resource="net/sf/antcontrib/antcontrib.properties" 
classpathref="maven.dependency.classpath" />
-                                        <unzip 
src="target/apache-airavata-xbaya-gui-${project.version}-bin.zip" 
dest="${project.build.directory}/temp" />
+                                        <taskdef 
resource="net/sf/antcontrib/antcontrib.properties"
+                                            
classpathref="maven.dependency.classpath" />
+                                        <unzip 
src="target/apache-airavata-xbaya-gui-${project.version}-bin.zip"
+                                            
dest="${project.build.directory}/temp" />
                                         <mkdir dir="${jnlp.direcotry}" />
                                         <mkdir dir="${jnlp.direcotry}/lib" />
                                         <copy todir="${jnlp.direcotry}/lib">
@@ -182,6 +188,9 @@
         </profile>
         <profile>
             <id>zip-jnlp</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
             <build>
                 <plugins>
                     <plugin>
@@ -193,8 +202,10 @@
                                 <configuration>
                                     <target>
                                         <zip 
destfile="${airavata.xbaya-jnlp.zip}" basedir="${jnlp.direcotry}" />
-                                        <tar 
destfile="${project.build.directory}/xbaya-jnlp-${project.version}.tar" 
basedir="${jnlp.direcotry}" />
-                                        <gzip 
destfile="${airavata.xbaya-jnlp.tar.gz}" 
src="${project.build.directory}/xbaya-jnlp-${project.version}.tar" />
+                                        <tar 
destfile="${project.build.directory}/xbaya-jnlp-${project.version}.tar"
+                                            basedir="${jnlp.direcotry}" />
+                                        <gzip 
destfile="${airavata.xbaya-jnlp.tar.gz}"
+                                            
src="${project.build.directory}/xbaya-jnlp-${project.version}.tar" />
                                         <delete 
file="${project.build.directory}/xbaya-jnlp-${project.version}.tar" />
                                     </target>
                                 </configuration>
@@ -405,7 +416,7 @@
             <artifactId>airavata-gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
-       <dependency>
+        <dependency>
             <groupId>org.apache.airavata</groupId>
             <artifactId>airavata-gfac-ec2</artifactId>
             <version>${project.version}</version>


Reply via email to