<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2012 JBoss Inc
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~       http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<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/xsd/maven-4.0.0.xsd">
  <parent>
    <artifactId>guvnor</artifactId>
    <groupId>org.drools</groupId>
    <version>5.5.0.Final</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>

  <artifactId>guvnor-api</artifactId>


  <name>Guvnor API</name>
  <description>The common API for Guvnor modules.</description>

  <packaging>jar</packaging>

      <dependencies>
        <dependency>
          <groupId>com.google.gwt</groupId>
          <artifactId>gwt-servlet</artifactId>
        </dependency>

        <!-- Note the gwt-dev dependency is on the bottom of this file because it shades other jars -->
        <dependency><!-- Not needed at runtime, only at compile time, should be a dependency on gwt-maven-plugin -->
          <groupId>com.google.gwt</groupId>
          <artifactId>gwt-user</artifactId>
          <scope>provided</scope><!-- HACK to remove it from the runtime classpath -->
        </dependency>

        <!-- gwt-dev is EVIL: it shades classes. It should be dead last on the classpath to cause the least havoc -->
        <dependency><!-- Not needed at runtime, only at compile time, should be a dependency on gwt-maven-plugin -->
          <groupId>com.google.gwt</groupId>
          <artifactId>gwt-dev</artifactId>
          <version>${gwt.version}</version>
          <scope>provided</scope><!-- HACK to remove it from the runtime classpath -->
        </dependency>
      </dependencies>
</project>