flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject flex-tourjs git commit: - Add maven plugin for copying resources in TourJS project
Date Sun, 05 Feb 2017 13:48:03 GMT
Repository: flex-tourjs
Updated Branches:
  refs/heads/develop 3b446f2c2 -> 1def6968e


- Add maven plugin for copying resources in TourJS project


Project: http://git-wip-us.apache.org/repos/asf/flex-tourjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tourjs/commit/1def6968
Tree: http://git-wip-us.apache.org/repos/asf/flex-tourjs/tree/1def6968
Diff: http://git-wip-us.apache.org/repos/asf/flex-tourjs/diff/1def6968

Branch: refs/heads/develop
Commit: 1def6968eb5eeebf28494d48eb637fa3d4a8025c
Parents: 3b446f2
Author: piotrz <piotrz@apache.org>
Authored: Sun Feb 5 14:47:58 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Sun Feb 5 14:47:58 2017 +0100

----------------------------------------------------------------------
 TourJS/pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/1def6968/TourJS/pom.xml
----------------------------------------------------------------------
diff --git a/TourJS/pom.xml b/TourJS/pom.xml
index 4355ea6..37c824e 100644
--- a/TourJS/pom.xml
+++ b/TourJS/pom.xml
@@ -101,6 +101,30 @@
           </artifacts>
         </configuration>
       </plugin>
+	  <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.0.2</version>
+        <executions>
+          <execution>
+            <id>copy-resources</id>
+            <!-- here the phase you need -->
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/target/javascript/bin/js-debug/resources</outputDirectory>
+              <outputDirectory>${basedir}/target/javascript/bin/js-release/resources</outputDirectory>
+              <resources>          
+                <resource>
+                  <directory>src/main/resources</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>              
+            </configuration>            
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 


Mime
View raw message