DemoApp
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.officefloor.tutorial</groupId>
<artifactId>DemoApp</artifactId>
<version>2.16.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.officefloor.tutorial</groupId>
<artifactId>tutorials</artifactId>
<version>2.16.0</version>
</parent>
<artifactId>DemoApp</artifactId>
<packaging>war</packaging>
<name>Demonstration Application</name>
<description>Application providing examples of the features available with WoOF</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<basedir>${basedir}</basedir>
<projectVersion>${project.version}</projectVersion>
</properties>
<dependencies>
<dependency>
<groupId>net.officefloor.plugin</groupId>
<artifactId>officeplugin_woof_servlet</artifactId>
</dependency>
<dependency>
<groupId>net.officefloor.plugin</groupId>
<artifactId>officeplugin_gwt</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt.google-apis</groupId>
<artifactId>gwt-visualization</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.officefloor.core</groupId>
<artifactId>officebuilding</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.officefloor.plugin</groupId>
<artifactId>officeplugin_war</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<!-- Need to specify on test as not always being set. It does require
key store file to be created, however on continuous build this should be
by OfficeBuilding being built and tested (always before this). -->
<javax.net.ssl.trustStore>${java.io.tmpdir}/officefloorkeystore.jks</javax.net.ssl.trustStore>
<javax.net.ssl.trustStorePassword>changeit</javax.net.ssl.trustStorePassword>
<javax.net.debug>ssl,handshake</javax.net.debug>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<httpConnector>
<port>18280</port>
</httpConnector>
<stopPort>18281</stopPort>
<stopKey>officefloor</stopKey>
<stopWait>10</stopWait>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Profile for building -->
<id>build-repositories</id>
<activation>
<file>
<exists>${basedir}/pom.xml</exists>
</file>
</activation>
<repositories>
<repository>
<!-- OfficeFloor repository to obtain artifacts for running the example -->
<id>maven2-repository.officefloor.net</id>
<name>OfficeFloor Repository for Maven</name>
<url>http://www.officefloor.net/maven2/</url>
</repository>
</repositories>
</profile>
</profiles>
</project>