Author: echatellier Date: 2014-05-07 15:21:55 +0200 (Wed, 07 May 2014) New Revision: 431 Url: http://forge.nuiton.org/projects/nuiton-js/repository/revisions/431 Log: Udpate to mustache 0.8.1 Removed: nuiton-js-mustache/trunk/src/main/resources/nuiton-js-mustache/ Modified: nuiton-js-mustache/trunk/pom.xml nuiton-js-mustache/trunk/src/main/resources/META-INF/nuiton-js/wro-mustache.xml Modified: nuiton-js-mustache/trunk/pom.xml =================================================================== --- nuiton-js-mustache/trunk/pom.xml 2014-05-07 13:15:58 UTC (rev 430) +++ nuiton-js-mustache/trunk/pom.xml 2014-05-07 13:21:55 UTC (rev 431) @@ -14,7 +14,7 @@ </parent> <artifactId>nuiton-js-mustache</artifactId> - <version>0.7.2-1-SNAPSHOT</version> + <version>0.8.1-1-SNAPSHOT</version> <name>Nuiton JS :: Mustache</name> <description>Mustache jar packaging</description> @@ -29,9 +29,65 @@ </licenses> <scm> - <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/tags/nuiton-js-mustache-0.7.2-1</connection> - <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/tags/nuiton-js-mustache-0.7.2-1</developerConnection> - <url>http://www.nuiton.org/repositories/browse/nuiton-js/tags/nuiton-js-mustache-0.7.2-1</url> + <connection>scm:svn:https://svn.nuiton.org/nuiton-js/nuiton-js-mustache/trunk</connection> + <developerConnection>scm:svn:https://svn.nuiton.org/nuiton-js/nuiton-js-mustache/trunk</developerConnection> + <url>https://forge.nuiton.org/projects/nuiton-js/repository/show/nuiton-js-mustache/trunk</url> </scm> + <properties> + <license.licenseName>mit</license.licenseName> + + <upstreamVersion>0.8.1</upstreamVersion> + <upstreamUrl>https://raw.githubusercontent.com/janl/mustache.js/${upstreamVersion}</upstreamUrl> + <upstreamFile>mustache.js</upstreamFile> + <destDir>${project.build.outputDirectory}/META-INF/resources/${project.artifactId}</destDir> + </properties> + + <dependencies> + <dependency> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-test</artifactId> + <version>1.0.2</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>wagon-maven-plugin</artifactId> + <executions> + <execution> + <phase>process-resources</phase> + <goals> + <goal>download-single</goal> + </goals> + <configuration> + <url>${upstreamUrl}</url> + <fromFile>${upstreamFile}</fromFile> + <toFile>${project.build.directory}/${upstreamFile}</toFile> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>process-resources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo message="moving resources" /> + <copy todir="${destDir}" file="${project.build.directory}/${upstreamFile}" /> + </target> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> Modified: nuiton-js-mustache/trunk/src/main/resources/META-INF/nuiton-js/wro-mustache.xml =================================================================== --- nuiton-js-mustache/trunk/src/main/resources/META-INF/nuiton-js/wro-mustache.xml 2014-05-07 13:15:58 UTC (rev 430) +++ nuiton-js-mustache/trunk/src/main/resources/META-INF/nuiton-js/wro-mustache.xml 2014-05-07 13:21:55 UTC (rev 431) @@ -4,7 +4,7 @@ $Id$ $HeadURL$ %% - Copyright (C) 2012 - 2013 CodeLutin, Chatellier Eric + Copyright (C) 2012 - 2014 CodeLutin, Chatellier Eric %% This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -23,6 +23,6 @@ --> <groups xmlns="http://www.isdc.ro/wro"> <group name='mustache'> - <js>classpath:nuiton-js-mustache/*.js</js> + <js>classpath:META-INF/resources/nuiton-js-mustache/*.js</js> </group> </groups>