<?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">

  <!-- POM file generated with GWT webAppCreator -->
  <parent>
    <artifactId>switchyard-console-parent</artifactId>
    <groupId>org.switchyard.console</groupId>
    <version>0.5.0.Final</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>switchyard-console-extension</artifactId>
  <name>SwitchYard: AS7 Management Console Extension</name>
  <description>AS7 management console extension supporting the SwitchYard runtime.</description>

  <dependencies>
    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-core</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-bean</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-bpel</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-bpm</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-camel</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-clojure</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-hornetq</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-rules</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-component-soap</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.jboss.ballroom</groupId>
      <artifactId>widgets</artifactId>
      <scope>provided</scope>
    </dependency>

    <!-- XXX: replace with proper AS dependency once console includes extension support. -->
    <dependency>
      <groupId>org.switchyard.console</groupId>
      <artifactId>switchyard-console-as7-core</artifactId>
      <scope>provided</scope>
    </dependency>

    <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>

    <dependency>
      <groupId>com.google.code</groupId>
      <artifactId>gwt-visualization</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.google.code.gwt-log</groupId>
      <artifactId>gwt-log</artifactId>
    </dependency>
    <dependency>
      <groupId>com.gwtplatform</groupId>
      <artifactId>gwtp-mvp-client</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.inject</groupId>
      <artifactId>guice</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.inject.extensions</groupId>
      <artifactId>guice-assistedinject</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.gwt.inject</groupId>
      <artifactId>gin</artifactId>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.google.gwt</groupId>
      <artifactId>gwt-dev</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <!-- GWT Maven Plugin -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>resources</goal>
              <goal>test</goal>
              <goal>i18n</goal>
            </goals>
          </execution>
        </executions>
        <!-- Plugin configuration. There are many available options, see gwt-maven-plugin documentation at codehaus.org -->
        <configuration>
          <htmlunit>FF3,IE7</htmlunit>
          <i18nMessagesBundle>org.switchyard.console.client.Messages</i18nMessagesBundle>
          <logLevel>TRACE</logLevel>
          <mode>htmlunit</mode>
          <extraJvmArgs>-Xmx512m</extraJvmArgs>
          <localWorkers>2</localWorkers>
        </configuration>
      </plugin>

      <!-- Remove GWT tests -->
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/GwtTest*.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
