<?xml version="1.0" encoding="ISO-8859-1"?>
<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>org.geoserver</groupId>
		<artifactId>geoserver</artifactId>
		<version>1.4.0-M1</version>
	</parent>

	<groupId>org.geoserver</groupId>
  <artifactId>hello_app</artifactId>
	<packaging>jar</packaging>
  <name>Hello Application Module</name>

	<dependencies>
		<dependency>
			<groupId>org.geoserver</groupId>
			<artifactId>web</artifactId>
			<version>1.4.0-M1</version>
		</dependency>
		<dependency>
			<groupId>org.geoserver</groupId>
			<artifactId>hello</artifactId>
			<version>1.0</version>
		</dependency>

	</dependencies>

 <pluginRepositories>
    <pluginRepository>
      <id>mortbay-repo</id>
      <name>mortbay-repo</name>
      <url>http://www.mortbay.org/maven2/snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
    </pluginRepository>
  </pluginRepositories>

	<build>
		<plugins>

			<plugin>
				<groupId>org.geoserver.maven</groupId>
				<artifactId>config</artifactId>
				<executions>
          <execution>
						<id>configPackage</id>
						<configuration>
							<configId>${configId}</configId>
						</configuration>
            <phase>package</phase>
            <goals>
              <goal>config</goal>
            </goals>
          </execution>
					
					<execution>
						<id>configClean</id>
						<phase>clean</phase>
						<goals>
							<goal>clean</goal>
						</goals>
					</execution>
        </executions>
			</plugin>

			 <plugin>
        <inherited>true</inherited>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
					<warName>hello</warName>
					<webappDirectory>${project.build.directory}/geoserver</webappDirectory>
        </configuration>
				<executions>
          <execution>
            <phase>install</phase>
            <goals>
              <goal>war</goal>
            </goals>
          </execution>
				</executions>
      </plugin>

			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty6-plugin</artifactId>
				<version>6.0.0beta16</version>
				<configuration>
					<contextPath>geoserver</contextPath>
					<webApp>${project.build.directory}/geoserver</webApp>
					<!-- uncomment following to set a GEOSERVER_DATA_DIR -->
					<!--systemProperties>
						<systemProperty>
							<name>GEOSERVER_DATA_DIR</name>
							<value>/home/jdeolive/devel/geoserver/configurations/citeWFS</value>
						</systemProperty>
					</systemProperties-->
				</configuration>
			</plugin>

		</plugins>
	</build>

	<properties>
		<configId>minimal</configId>
	</properties>
</project>
