Author: keith Date: Fri Jun 6 03:01:27 2008 New Revision: 18065 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=18065
Log: Adding optional build target to create the dashboard - Mashup-852 Modified: trunk/mashup/java/modules/distribution/pom.xml trunk/mashup/java/pom.xml Modified: trunk/mashup/java/modules/distribution/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/distribution/pom.xml?rev=18065&r1=18064&r2=18065&view=diff ============================================================================== --- trunk/mashup/java/modules/distribution/pom.xml (original) +++ trunk/mashup/java/modules/distribution/pom.xml Fri Jun 6 03:01:27 2008 @@ -421,6 +421,125 @@ </plugins> </build> </profile> + <!--Adding an optional build target to create the dashboard--> + <profile> + <activation> + <property> + <name>build-dashboard</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <!--Download the dependancies needed by Shindig--> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.0-alpha-4</version> + <executions> + <execution> + <id>download-dashboard-dependancies</id> + <phase>initialize</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.apache.abdera</groupId> + <artifactId>abdera-server</artifactId> + <version>${abdera.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.apache.shindig</groupId> + <artifactId>shindig-common</artifactId> + <version>${shindig.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.apache.shindig</groupId> + <artifactId>shindig-gadgets</artifactId> + <version>${shindig.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.apache.shindig</groupId> + <artifactId>shindig-social-api</artifactId> + <version>${shindig.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>com.google.code.guice</groupId> + <artifactId>guice</artifactId> + <version>${guice.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <version>${hamcrest.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + <version>${json.version}</version> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/dashboard/jars</outputDirectory> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <!--Copy over resources needed for the Dashboard--> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <id>copy-resources</id> + <phase>package</phase> + <configuration> + <tasks> + <echo message="### Copying over resources for the dashboard ###"/> + <mkdir dir="${dist.dir}/lib/tomcat/webapps/dashboard"/> + <copy todir="${dist.dir}/lib/tomcat/webapps/dashboard"> + <fileset dir="../dashboard"> + <include name="**/*.*"/> + <exclude name="**/*.svn"/> + </fileset> + </copy> + <copy todir="${dist.dir}/lib"> + <fileset dir="target/dashboard/jars"> + <include name="*.jar"/> + </fileset> + </copy> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> <properties> <src.assembly.dir>wso2-mashup-server-src</src.assembly.dir> Modified: trunk/mashup/java/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/pom.xml?rev=18065&r1=18064&r2=18065&view=diff ============================================================================== --- trunk/mashup/java/pom.xml (original) +++ trunk/mashup/java/pom.xml Fri Jun 6 03:01:27 2008 @@ -1329,6 +1329,10 @@ <dynamicresponse.version>SNAPSHOT</dynamicresponse.version> <wsrequest.version>2.2.1</wsrequest.version> <abdera.version>0.395</abdera.version> + <shindig.version>1-SNAPSHOT</shindig.version> + <guice.version>1.0</guice.version> + <hamcrest.version>1.1</hamcrest.version> + <json.version>20070829</json.version> <tidy.version>SNAPSHOT</tidy.version> <codepress.version>0.9.5</codepress.version> <httpunit.version>1.6.1</httpunit.version> _______________________________________________ Mashup-dev mailing list [email protected] http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
