Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

182 lines (174 sloc) 7.696 kb
<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>
<groupId>com.opitzconsulting.html5</groupId>
<artifactId>jquery-mobile-angular-adapter</artifactId>
<version>1.0.7-rc1</version>
<name>JQuery Mobile Angular Adapter</name>
<packaging>war</packaging>
<description>Adapter for using jquery mobile with angular</description>
<properties>
<browser>/Applications/Google Chrome.app/Contents/MacOS/Google Chrome</browser>
<!-- optimizer for minification: uglify or closure -->
<jsOptimizer>uglify</jsOptimizer>
<jsSuffix>-${project.version}</jsSuffix>
<jqmVersion>1.1.0-rc.1-oc1</jqmVersion>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>com.voltvoodoo</groupId>
<artifactId>brew</artifactId>
<version>0.2.10</version>
<configuration>
<optimizeBuildDir>${basedir}/target/requirejs/build</optimizeBuildDir>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.4.4.v20110707</version>
<configuration>
<scanIntervalSeconds>5</scanIntervalSeconds>
<stopKey>STOPJETTY</stopKey>
<stopPort>9999</stopPort>
<webAppConfig>
<contextPath>/jqmng</contextPath>
<resourceBases>
<resourceBase>src/main/webapp</resourceBase>
<resourceBase>src/test/webapp</resourceBase>
</resourceBases>
</webAppConfig>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>some-execution</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>node</executable>
<arguments>
<argument>build.js</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Profile for executing the tests with jstestdriver -->
<id>test</id>
<build>
<plugins>
<plugin>
<groupId>com.google.jstestdriver</groupId>
<artifactId>maven-jstestdriver-plugin</artifactId>
<version>1.3.2.2</version>
<configuration>
<browser>${browser}</browser>
<port>9876</port>
<reset>true</reset>
<runnerMode>INFO</runnerMode>
<testOutput>${project.build.directory}/jstd-reports</testOutput>
<tests>all</tests>
</configuration>
<executions>
<execution>
<id>run-unit-tests</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<config>jstd-unit.conf</config>
</configuration>
</execution>
<execution>
<id>run-integration-tests</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<config>jstd-ui.conf</config>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<webAppConfig>
<resourceBases>
<resourceBase>${basedir}/src/main/webapp</resourceBase>
<resourceBase>${basedir}/src/test/webapp</resourceBase>
</resourceBases>
</webAppConfig>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>com.google.jstestdriver</groupId>
<artifactId>jstestdriver</artifactId>
<version>1.3.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>com.googlecode.jstd-maven-plugin</id>
<name>JsTestDriver Maven Plugin Repository</name>
<url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>com.googlecode.jstd-maven-plugin</id>
<name>JsTestDriver Maven Plugin Repository</name>
<url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
</pluginRepository>
</pluginRepositories>
</project>
Jump to Line
Something went wrong with that request. Please try again.