Author: ks156 Date: 2008-12-30 09:44:33 +0100 (Tue, 30 Dec 2008) New Revision: 3357
Added: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/pom.xml Removed: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/build.xml software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/project.xml software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/targets/ Modified: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/ Log: * Replaced the ant builder with a maven POM. This gadget can be compiled with the command 'mvn clean package' Property changes on: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather ___________________________________________________________________ Name: svn:externals - builder http://svn.tuxisalive.com/software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/builder Deleted: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/build.xml =================================================================== --- software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/build.xml 2008-12-29 11:22:51 UTC (rev 3356) +++ software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/build.xml 2008-12-30 08:44:33 UTC (rev 3357) @@ -1,14 +0,0 @@ -<project default="Package gadget" name="Gadget 'Google Weather'"> - <import file="./builder/build.xml" /> - <target name="Package gadget" depends="Create JAR file"> - <mkdir dir="../tuxdroid-gadget-tester/gadgets" /> - <zip destfile="../tuxdroid-gadget-tester/gadgets/${project.artifactId}.tgf"> - <zipfileset dir="." includes="resources/*" /> - <zipfileset dir="." includes="libraries/*" /> - <zipfileset dir="." includes="executables/*" /> - <zipfileset dir="targets/build" - includes="${project.artifactId}-${project.version}.jar" - fullpath="libraries/${project.artifactId}-${project.version}.jar" /> - </zip> - </target> -</project> \ No newline at end of file Added: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/pom.xml =================================================================== --- software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/pom.xml (rev 0) +++ software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/pom.xml 2008-12-30 08:44:33 UTC (rev 3357) @@ -0,0 +1,125 @@ +<project> + <!--General project informations--> + <modelVersion>4.0.0</modelVersion> + <groupId>com.kysoh</groupId> + <artifactId>tuxdroid-gadget-weather</artifactId> + <packaging>jar</packaging> + <version>0.0.1</version> + <name>Weather forecast 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> + <dependency> + <groupId>net.karmaLab</groupId> + <artifactId>karmalab-commons</artifactId> + <version>1.2</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> + <repository> + <id>karma-lab</id> + <name>KarmaLab Repository Switchboard</name> + <layout>default</layout> + <url>http://artisan.karma-lab.net/software/repository</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <!--Build process--> + <build> + <sourceDirectory>sources</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" /> + <zip destfile="./${project.artifactId}.tgf"> + <zipfileset dir="." includes="resources/*" /> + <zipfileset dir="." includes="libraries/*" /> + <zipfileset dir="." includes="executables/*" /> + </zip> + </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"/> + </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-weather/trunk/tuxdroid-gadget-weather/pom.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:keywords + Id Name: svn:eol-style + native Deleted: software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/project.xml =================================================================== --- software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/project.xml 2008-12-29 11:22:51 UTC (rev 3356) +++ software_suite_v2/software/gadgets/tuxdroid-gadget-weather/trunk/tuxdroid-gadget-weather/project.xml 2008-12-30 08:44:33 UTC (rev 3357) @@ -1,76 +0,0 @@ -<project> - <name>tuxdroid-gadget-java-samples</name> - <title>TuxDroid Gadget Weather</title> - <description>TuxDroid Gadget Weather</description> - - <license> - <name>GPL</name> - </license> - - <groupId>com.kysoh</groupId> - <artifactId>tuxdroid-gadget-weather</artifactId> - <version>0.1</version> - - <dependencies> - <dependency> - <groupId>net.karmaLab</groupId> - <artifactId>karmalab-commons</artifactId> - <version>1.2</version> - </dependency> - <dependency> - <groupId>com.kysoh</groupId> - <artifactId>tuxdroid-gadget-java-kit</artifactId> - <version>0.0.1</version> - </dependency> - </dependencies> - <repositories> - <repository> - <id>central</id> - <name>Maven Repository Switchboard</name> - <layout>default</layout> - <url>http://repo1.maven.org/maven2</url> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - <repository> - <id>karma-lab</id> - <name>KarmaLab Repository Switchboard</name> - <layout>default</layout> - <url>http://artisan.karma-lab.net/software/repository</url> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - <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> - <developers> - <developer> - <name>Yoran Brault</name> - <organization>kysoh</organization> - <email> - softw...@_bad_karma-lab.net (remove _bad_ before sending - an email) - </email> - <organizationUrl>http://www.kysoh.com/</organizationUrl> - </developer> - </developers> - - <releases> - <release date="03/06/2008" version="0.1"> - <changes> - <change kind="creation"> - <description>First version</description> - </change> - </changes> - </release> - </releases> -</project> ------------------------------------------------------------------------------ _______________________________________________ Tux-droid-svn mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tux-droid-svn
