<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>fr.ifremer.oceanotron</groupId> <artifactId>oceanotron</artifactId> <version>2.0.3-SNAPSHOT</version> </parent> <artifactId>oceanotron-manager</artifactId> <packaging>jar</packaging> <name>Oceanotron Manager</name> <dependencies> <!-- <dependency> --> <!-- <groupId>fr.ifremer.oceanotron</groupId> --> <!-- <artifactId>oceanotron-core</artifactId> --> <!-- <version>${project.version}</version> --> <!-- </dependency> --> <dependency> <groupId>fr.ifremer.oceanotron</groupId> <artifactId>oceanotron-businessUnit</artifactId> <version>${project.version}</version> </dependency> <!-- for test management --> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <!-- <version>6.1.1</version>--> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main</directory> <excludes> <exclude>**/*.java</exclude> <exclude>**/resources/*.*</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> </build> <profiles> <!-- This profile here will allow you to specify -Ddeploy.target=tomcat in order deploy a war in Tomcat. --> <profile> <id>tomcat</id> <activation> <property> <name>deploy.target</name> <value>tomcat</value> </property> </activation> <properties> <packaging>jar</packaging> </properties> </profile> </profiles> </project>