brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [54/71] [abbrv] incubator-brooklyn git commit: [UI] fix jasmine tests copies rest-api fixtures from brooklyn-server submodule repo
Date Wed, 23 Dec 2015 11:07:17 GMT
[UI] fix jasmine tests
copies rest-api fixtures from brooklyn-server submodule repo


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/356b0f9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/356b0f9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/356b0f9c

Branch: refs/heads/master
Commit: 356b0f9c5d350f33dbee9eafd167ab4c3523aeb2
Parents: 5d242dc
Author: John McCabe <john@johnmccabe.net>
Authored: Sat Dec 19 12:13:56 2015 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Mon Dec 21 16:43:38 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/356b0f9c/brooklyn-ui/pom.xml
----------------------------------------------------------------------
diff --git a/brooklyn-ui/pom.xml b/brooklyn-ui/pom.xml
index 7674362..a0d331d 100644
--- a/brooklyn-ui/pom.xml
+++ b/brooklyn-ui/pom.xml
@@ -47,8 +47,10 @@
         <maven-dependency-plugin.version>2.8</maven-dependency-plugin.version>
         <nodejs-maven-plugin.version>1.0.3</nodejs-maven-plugin.version>
         <maven-war-plugin.version>2.4</maven-war-plugin.version>
+        <nodejs-maven-binaries.version>0.10.25</nodejs-maven-binaries.version>
         <requirejs-maven-plugin.version>2.0.0</requirejs-maven-plugin.version>
         <maven-replacer-plugin.version>1.5.2</maven-replacer-plugin.version>
+        <maven-resources-plugin.version>2.7</maven-resources-plugin.version>
     </properties>
 
     <build>
@@ -74,6 +76,28 @@
                  run tests in the browser with: $ mvn jasmine:bdd
             -->
             <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <version>${maven-resources-plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>copy-fixtures</id>
+                        <phase>process-test-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/jasmine/fixtures</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <!-- copy rest-api fixtures from brooklyn-server submodule
repo -->
+                                    <directory>${project.basedir}/../brooklyn-server/rest/rest-api/src/test/resources/fixtures</directory>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>com.github.searls</groupId>
                 <artifactId>jasmine-maven-plugin</artifactId>
                 <version>${jasmine-maven-plugin.version}</version>


Mime
View raw message