<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>
   <name>JBoss jBPM3 - GWT Console (Server)</name>
   <groupId>org.jbpm.jbpm3</groupId>
   <artifactId>gwt-console-server</artifactId>
   <packaging>war</packaging>

   <!-- Parent -->
   <parent>
      <groupId>org.jbpm.jbpm3</groupId>
      <artifactId>gwt-console-parent</artifactId>
      <version>1.0.0-Beta1</version>
      <relativePath>../pom.xml</relativePath>
   </parent>

   <dependencies>

      <!-- Module -->
      <dependency>
         <groupId>org.jbpm.jbpm3</groupId>
         <artifactId>gwt-console-rpc</artifactId>
         <version>${version}</version>
      </dependency>

      <!-- JBPM -->
      <dependency>
         <groupId>org.jbpm.jbpm3</groupId>
         <artifactId>jbpm-enterprise-beans</artifactId>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jbpm.jbpm3</groupId>
         <artifactId>jbpm-core</artifactId>
         <scope>provided</scope>
      </dependency>

      <!-- GWT related -->
      <dependency>
         <groupId>com.google.gwt</groupId>
         <artifactId>gwt-servlet</artifactId>
         <scope>runtime</scope>
      </dependency>
      <dependency>
         <groupId>com.google.gwt</groupId>
         <artifactId>gwt-user</artifactId>
         <scope>provided</scope>
      </dependency>

      <!-- Other -->
      <dependency>
         <groupId>javax.ejb</groupId>
         <artifactId>ejb-api</artifactId>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.resteasy</groupId>
         <artifactId>resteasy-jaxrs</artifactId>
      </dependency>
      <dependency>
         <groupId>com.google.code.gson</groupId>
         <artifactId>gson</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-fileupload</groupId>
         <artifactId>commons-fileupload</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-io</groupId>
         <artifactId>commons-io</artifactId>
      </dependency>
      <dependency>
         <groupId>org.jboss</groupId>
         <artifactId>jboss-common-core</artifactId>
         <scope>provided</scope>
      </dependency>
   </dependencies>

   <build>
      <!--  Include SOURCE in output artifact for GWT (GWT libraries must include source) -->
      <resources>
         <resource>
            <directory>src/main/java</directory>
         </resource>
         <resource>
            <directory>src/main/resources</directory>
         </resource>
      </resources>

      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.5</source>
               <target>1.5</target>
            </configuration>
         </plugin>
      </plugins>
      <finalName>gwt-console-server</finalName>
   </build>
</project>
