| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>war</packaging> |
| |
| <artifactId>brooklyn-jsgui</artifactId> |
| |
| <name>Brooklyn REST JavaScript Web GUI</name> |
| |
| <description> |
| JavaScript+HTML GUI for interacting with Brooklyn, using the REST API |
| </description> |
| |
| <parent> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-parent</artifactId> |
| <version>0.5.0</version><!-- BROOKLYN_VERSION --> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-rest</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-rest</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-test-support</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-policy</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-locations-jclouds</artifactId> |
| <version>${brooklyn.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-software-webapp</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-software-database</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-software-nosql</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${project.basedir}/src/test/resources/fixtures</directory> |
| <targetPath>${project.build.directory}/jasmine/fixtures</targetPath> |
| </resource> |
| <resource> |
| <!-- TODO read from artifact --> |
| <directory>${project.basedir}/../rest/src/test/resources/fixtures</directory> |
| <targetPath>${project.build.directory}/jasmine/fixtures</targetPath> |
| </resource> |
| </resources> |
| <plugins> |
| <!-- run js tests with: $ mvn clean process-resources jasmine:test --> |
| <plugin> |
| <groupId>com.github.searls</groupId> |
| <artifactId>jasmine-maven-plugin</artifactId> |
| <version>1.2.0.0</version> |
| <!-- avoid double phase executions https://github.com/searls/jasmine-maven-plugin/pull/54 --> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <id>FIREFOX_3</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <browserVersion>FIREFOX_3</browserVersion> |
| <junitXmlReportFileName>TEST-FIREFOX_3-jasmine.xml</junitXmlReportFileName> |
| <manualSpecRunnerHtmlFileName>FIREFOX_3-ManualSpecRunner.html</manualSpecRunnerHtmlFileName> |
| <specRunnerHtmlFileName>FIREFOX_3-SpecRunner.html</specRunnerHtmlFileName> |
| <jsSrcDir>${project.basedir}/src/main/webapp/assets</jsSrcDir> |
| <jsTestSrcDir>${project.basedir}/src/test/javascript/specs</jsTestSrcDir> |
| <specRunnerTemplate>REQUIRE_JS</specRunnerTemplate> |
| <scriptLoaderPath>js/libs/require.js</scriptLoaderPath> |
| <customRunnerConfiguration> |
| ${project.basedir}/src/test/javascript/config.txt |
| </customRunnerConfiguration> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |