Content of file pom.xml
<?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>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-modules</artifactId>
<version>1.2-ALPHA-9-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-webapp</artifactId>
<version>1.2-ALPHA-9-SNAPSHOT</version>
<packaging>pom</packaging>
<name>NorthernWind :: Frontend :: Webapp</name>
<description>The parent POM for all webapps, it declares the common dependencies.</description>
<properties>
<tft.webapp.contextPath>${main.webapp.contextPath}</tft.webapp.contextPath>
<changeSet>null</changeSet> <!-- FIXME -->
</properties>
<dependencies>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core-default</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core-filesystem-basic</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core-filesystem-hg</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core-filesystem-git</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core-marshalling-default</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-core-profiling</artifactId>
</dependency>
<dependency>
<groupId>it.tidalwave.thesefoolishthings</groupId>
<artifactId>it-tidalwave-messagebus-spring</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>activate-web-fragments-profile</id>
<activation>
<file>
<exists>src/config/activate-web-fragments-profile</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>prepare-assets</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>it.tidalwave.northernwind</groupId>
<artifactId>it-tidalwave-northernwind-frontend-webapp-commons</artifactId>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/commons</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>src/main/webapp-resources</dir>
<stylesheet>target/commons/xslt/ExpandFragments.xslt</stylesheet>
</transformationSet>
</transformationSets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>target/generated-resources/xml/xslt/web.xml</webXml>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>Commons</module>
<module>SpringMvcWebApp</module>
<module>SpringMvcMediaWebApp</module>
</modules>
</project>