[Build] Change indentation

Use four-space indentation in build script, for
consistency with HTML and JavaScript sources.
WTD-519.
This commit is contained in:
Victor Woeltjen 2014-10-31 10:04:32 -07:00
parent 54fae0d436
commit dc141c55f6

228
pom.xml
View File

@ -2,133 +2,133 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>gov.nasa.arc.wtd</groupId> <groupId>gov.nasa.arc.wtd</groupId>
<artifactId>open-mct-web</artifactId> <artifactId>open-mct-web</artifactId>
<version>0.2.0-SNAPSHOT</version> <version>0.2.0-SNAPSHOT</version>
<name>Open MCT Web</name> <name>Open MCT Web</name>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>2.4</version> <version>2.4</version>
<configuration> <configuration>
<warSourceDirectory>.</warSourceDirectory> <warSourceDirectory>.</warSourceDirectory>
<warSourceIncludes> <warSourceIncludes>
index.html, index.html,
*.json, *.json,
**/src/*, **/src/*,
**/res/*, **/res/*,
**/bundle.json **/bundle.json
</warSourceIncludes> </warSourceIncludes>
<failOnMissingWebXml>false</failOnMissingWebXml> <failOnMissingWebXml>false</failOnMissingWebXml>
</configuration> </configuration>
</plugin> </plugin>
<!-- Get PhantomJS plugin --> <!-- Get PhantomJS plugin -->
<plugin> <plugin>
<groupId>com.github.klieber</groupId> <groupId>com.github.klieber</groupId>
<artifactId>phantomjs-maven-plugin</artifactId> <artifactId>phantomjs-maven-plugin</artifactId>
<version>0.2.1</version> <version>0.2.1</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>install</goal> <goal>install</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<version>1.9.2</version> <version>1.9.2</version>
</configuration> </configuration>
</plugin> </plugin>
<!-- Run specs --> <!-- Run specs -->
<!-- https://github.com/detro/phantomjs-jasminexml-example --> <!-- https://github.com/detro/phantomjs-jasminexml-example -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<version>1.1</version> <version>1.1</version>
<executions> <executions>
<execution> <execution>
<id>Jasmine Specs</id> <id>Jasmine Specs</id>
<phase>test</phase> <phase>test</phase>
<goals> <goals>
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<workingDirectory>.</workingDirectory> <workingDirectory>.</workingDirectory>
<arguments> <arguments>
<argument>platform/framework/test/lib/run_jasmine_test.coffee</argument> <argument>platform/framework/test/lib/run_jasmine_test.coffee</argument>
<argument>test.html</argument> <argument>test.html</argument>
<argument>${project.build.directory}/platform-test-results.html</argument> <argument>${project.build.directory}/platform-test-results.html</argument>
</arguments> </arguments>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<executable>${phantomjs.binary}</executable> <executable>${phantomjs.binary}</executable>
</configuration> </configuration>
</plugin> </plugin>
<!-- Copy over css for test results --> <!-- Copy over css for test results -->
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>2.6</version> <version>2.6</version>
<executions> <executions>
<execution> <execution>
<id>copy-resources</id> <id>copy-resources</id>
<phase>test</phase> <phase>test</phase>
<goals> <goals>
<goal>copy-resources</goal> <goal>copy-resources</goal>
</goals> </goals>
<configuration> <configuration>
<outputDirectory>${project.build.directory}/platform/framework/test/lib</outputDirectory> <outputDirectory>${project.build.directory}/platform/framework/test/lib</outputDirectory>
<resources> <resources>
<resource> <resource>
<directory>platform/framework/test/lib</directory> <directory>platform/framework/test/lib</directory>
<filtering>false</filtering> <filtering>false</filtering>
</resource> </resource>
</resources> </resources>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- Enforce code style --> <!-- Enforce code style -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>jslint-maven-plugin</artifactId> <artifactId>jslint-maven-plugin</artifactId>
<version>1.0.1</version> <version>1.0.1</version>
<configuration> <configuration>
<sourceJsFolder>${basedir}</sourceJsFolder> <sourceJsFolder>${basedir}</sourceJsFolder>
<excludes> <excludes>
<exclude>**/lib/**</exclude> <exclude>**/lib/**</exclude>
</excludes> </excludes>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>jslint</goal> <goal>jslint</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>