Author: jerome
Date: 2009-04-10 10:26:39 +0200 (Fri, 10 Apr 2009)
New Revision: 4451

Added:
   
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/pom.xml
Log:
*Added pom.xml

Added: 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/pom.xml
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/pom.xml
                              (rev 0)
+++ 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/pom.xml
      2009-04-10 08:26:39 UTC (rev 4451)
@@ -0,0 +1,156 @@
+<project>
+    <!--General project informations-->
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>com.kysoh</groupId>
+    <artifactId>tuxdroid-gadget-programsTV</artifactId>
+    <packaging>jar</packaging>
+    <version>0.1</version>
+    <name>Programs TV gadget for Tux Droid</name>
+    <url>http://www.tuxisalive.com</url>
+    
+    <!--Dependency list-->
+    <dependencies>
+       <dependency>
+           <groupId>com.kysoh</groupId>
+           <artifactId>tuxdroid-gadget-java-kit</artifactId>
+           <version>0.0.1</version>
+       </dependency>
+    </dependencies>
+    
+    <!--Repository list-->
+    <repositories>
+       <repository>
+           <id>kysoh</id>
+           <name>Kysoh Repository</name>
+           <layout>default</layout>
+           <url>http://ftp.kysoh.com/maven2</url>
+           <snapshots>
+               <enabled>false</enabled>
+           </snapshots>
+       </repository>
+    </repositories>
+
+    <!--Build process-->
+    <build>
+        <sourceDirectory>src</sourceDirectory>
+       <plugins>
+
+           <!--This section copy the dependencies into ./libraries-->
+           <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-dependency-plugin</artifactId>
+               <executions>
+                   <execution>
+                       <id>copy-dependencies</id>
+                       <phase>package</phase>
+                       <goals>
+                           <goal>copy-dependencies</goal>
+                       </goals>
+                       <configuration>
+                           <outputDirectory>./libraries</outputDirectory>
+                       </configuration>
+                   </execution>
+               </executions>
+           </plugin>
+
+           <!--This plugin run small ant scripts to pack and clean the gadget 
-->
+           <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-antrun-plugin</artifactId>
+               <version>1.3</version>
+               <executions>
+                   
+                   <!--This section create the .tgf file during the package 
lifecycle-->
+                   <execution>
+                       <phase>package</phase>
+                       <id>package</id>
+                       <configuration>
+                           <tasks>
+                               <mkdir dir="./libraries"/>
+                               <copy 
file="${project.build.directory}/${project.artifactId}-${project.version}.jar"
+                                   todir="./libraries" />
+                               <copy 
file="./resources/be_du/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}BeDu.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                               <copy 
file="./resources/be_fr/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}BeFr.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                               <copy 
file="./resources/fr/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}Fr.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                               <copy 
file="./resources/ge/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}Ge.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                               <copy 
file="./resources/nl/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}Nl.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                               <copy 
file="./resources/sp/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}Sp.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                               <copy 
file="./resources/uk/resources/gadget.xml" todir="./resources" />
+                               <zip destfile="./${project.artifactId}Uk.tgf">
+                                   <zipfileset dir="." includes="resources/*" 
/>
+                                   <zipfileset dir="." includes="libraries/*" 
/>
+                                   <zipfileset dir="." 
includes="executables/*" />
+                               </zip>
+                               <delete file="./resources/gadget.xml"/>
+                           </tasks>
+                       </configuration>
+                       <goals>
+                           <goal>run</goal>
+                       </goals>
+                   </execution>
+
+                   <!--This section clean the ./libraries and the TGF file 
during the 'clean' lifecycle-->
+                   <execution>
+                       <phase>clean</phase>
+                       <configuration>
+                           <tasks>
+                               <delete dir="./libraries"/>
+                               <delete file="./${project.artifactId}.tgf"/>
+                               <delete file="./resources/gadget.xml"/>
+                           </tasks>
+                       </configuration>
+                       <goals>
+                           <goal>run</goal>
+                       </goals>
+                   </execution>
+               </executions>
+           </plugin>
+
+           <!--This plugin compile the project-->
+           <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-compiler-plugin</artifactId>
+               <configuration>
+                   <source>1.6</source>
+                   <target>1.6</target>
+               </configuration>
+           </plugin>
+       </plugins>
+    </build>
+</project>


Property changes on: 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/pom.xml
___________________________________________________________________
Name: svn:executable
   + *


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to