<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project>
<project>
  <pomVersion>3</pomVersion>
  <extend>${basedir}/../../etc/project.xml</extend>

  <name>ActiveMQ :: Optional</name>
  <id>activemq-optional</id>
  <shortDescription>ActiveMQ Optional Tools</shortDescription>
  <description>ActiveMQ Optional Tools</description>

  <package>org.activemq</package>
  <packageGroups>
    <packageGroup>
      <title>HTTP Message Transport</title>
      <packages>org.activemq.transport.http</packages>
    </packageGroup>
      <packageGroup>
        <title>Web Service and Apache Axis support</title>
        <packages>org.activemq.axis</packages>
      </packageGroup>

  </packageGroups>


  <!-- ============ -->
  <!-- Dependencies -->
  <!-- ============ -->
  <dependencies>

    <dependency>
      <groupId>activemq</groupId>
      <artifactId>activemq-core</artifactId>
      <version>${pom.currentVersion}</version>
      <properties>
        <war.bundle>true</war.bundle>
        <eclipse.dependency>true</eclipse.dependency>
      </properties>
    </dependency>
    <dependency> <!-- Used for unit tests -->
      <groupId>activemq</groupId>
      <artifactId>activemq-core-test</artifactId>
      <version>${pom.currentVersion}</version>
    </dependency>

    <dependency>
      <groupId>activeio</groupId>
      <artifactId>activeio</artifactId>
      <version>${activeio_version}</version>
    </dependency>


    <dependency>
      <groupId>geronimo-spec</groupId>
      <artifactId>geronimo-spec-servlet</artifactId>
      <version>${geronimo_spec_servlet_version}</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-kernel</artifactId>
      <version>${geronimo_kernel_version}</version>
    </dependency>
    <dependency>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-system</artifactId>
      <version>${geronimo_system_version}</version>
    </dependency>
    <dependency>
      <groupId>geronimo-spec</groupId>
      <artifactId>geronimo-spec-j2ee-connector</artifactId>
      <version>${geronimo_spec_j2ee_connector_version}</version>
    </dependency>
      

    <dependency>
      <id>springframework</id>
      <artifactId>spring</artifactId>
      <version>${spring_version}</version>
      <url>http://www.springframework.org</url>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-pool</id>
      <artifactId>commons-pool</artifactId>
      <version>${commons_pool_version}</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-collections</id>
      <artifactId>commons-collections</artifactId>
      <version>${commons_collections_version}</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

    <!-- to test the XA support -->
    <dependency>
      <id>jotm</id>
      <artifactId>jotm</artifactId>
      <version>1.5.3</version>
    </dependency>
    <dependency>
      <id>jotm+carol</id>
      <artifactId>jotm-carol</artifactId>
      <version>1.5.3</version>
    </dependency>
    <dependency>
      <id>jotm+jrmp+stubs</id>
      <artifactId>jotm-jrmp-stubs</artifactId>
      <version>1.5.3</version>
    </dependency>

    <!-- this should be an optional dependency now, when 1.1.2 of Spring is out -->
    <dependency>
      <id>aopalliance</id>
      <artifactId>aopalliance</artifactId>
      <version>1.0</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>


    <dependency>
      <groupId>axis</groupId>
      <artifactId>axis</artifactId>
      <version>${axis_version}</version>
    </dependency>

    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>${commons_httpclient_version}</version>
    </dependency>

    <dependency>
      <groupId>jetty</groupId>
      <artifactId>org.mortbay.jetty</artifactId>
      <version>${org.mortbay.jetty_version}</version>
    </dependency>

    <dependency>
      <groupId>xstream</groupId>
      <artifactId>xstream</artifactId>
      <version>${xstream_version}</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

    <dependency>
      <groupId>xmlpull</groupId>
      <artifactId>xmlpull</artifactId>
      <version>${xmlpull_version}</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

      <dependency>
        <groupId>jrms</groupId>
        <artifactId>jrms</artifactId>
        <version>${jrms_version}</version>
      </dependency>

      <dependency>
        <groupId>jmdns</groupId>
        <artifactId>jmdns</artifactId>
        <version>${jmdns_version}</version>
      </dependency>



  </dependencies>

  <build>
    <nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
    <sourceDirectory>src/java</sourceDirectory>
    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>

    <integrationUnitTestSourceDirectory/>
    <aspectSourceDirectory/>

    <unitTest>
      <resources>
        <resource>
          <directory>src/test</directory>
          <includes>
            <include>**/*.properties</include>
            <include>**/*.xml</include>
          </includes>
        </resource>
      </resources>
      <includes>
        <include>**/*Test.*</include>
      </includes>
      <excludes>

        <!-- disableling tests -->
        <exclude>**/HttpTransportChannelTest.*</exclude>

      </excludes>
      <excludes>
        <!-- not sure why these tests fail -->
        <exclude>**/jrms/*Test.*</exclude>
        <!-- disable multicast related tests by default -->
        <exclude>**/*Zeroconf*Test.*</exclude>
      </excludes>

    </unitTest>

    <resources>
      <resource>
        <directory>src/conf</directory>
        <includes>
          <include>**/*</include>
        </includes>
      </resource>
    </resources>
  </build>


</project>
