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

  <!-- Parent -->
  <parent>
    <groupId>org.jboss.ejb3</groupId>
    <artifactId>jboss-ejb3-build</artifactId>
    <version>0.13.13</version>
  </parent>

  <!-- Model Version -->
  <modelVersion>4.0.0</modelVersion>

  <!-- Artifact Configuration -->
  <groupId>org.jboss.ejb3</groupId>
  <artifactId>jboss-ejb3-proxy-clustered</artifactId>
  <version>0.1.3</version>
  <name>JBoss EJB 3.0 Clustered Proxy</name>
  <description>JBoss EJB3 Clustered Proxy Component</description>
  <url>http://www.jboss.org/jbossejb3</url>

  <!-- Build Configuration -->
  <build>

    <plugins>

      <!-- Build a CP File for use by MockServer -->     
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>build-cp-file</id>
            <phase>validate</phase>
            <goals>
              <goal>build-classpath</goal>
            </goals>
            <configuration>
              <outputFile>target/cp.txt</outputFile>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <!-- Assembly Plugin (Proxy Client) -->
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2-beta-1</version>
        <executions>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <descriptors>
            <descriptor>jboss-ejb3-proxy-clustered-client.xml</descriptor>
          </descriptors>
          <attach>true</attach>
        </configuration>
        <inherited>false</inherited>
      </plugin>

    </plugins>

  </build>

  <dependencyManagement>
    <dependencies>
      <!-- Because of a bug in m2eclipse the version of reflect must be explicitly defined 
      <dependency>
        <groupId>org.jboss</groupId>
        <artifactId>jboss-reflect</artifactId>
        <version>2.0.0.Beta12</version>
      </dependency> -->
    </dependencies>
  </dependencyManagement>
  
  <!-- Dependencies -->
  <dependencies>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

    <!-- We pull in most things via the proxy component we are extending -->
    <dependency>
      <groupId>org.jboss.ejb3</groupId>
      <artifactId>jboss-ejb3-proxy</artifactId>
      <version>0.1.2</version>
    </dependency>
    
    <dependency>
      <groupId>org.jboss.cluster</groupId>
      <artifactId>jboss-ha-client</artifactId>
      <version>1.1.0.CR4</version>
      <exclusions>
        <exclusion>
          <groupId>org.jboss.aspects</groupId>
          <artifactId>jboss-remoting-aspects</artifactId>            
        </exclusion>
        <exclusion>
          <groupId>jboss.remoting</groupId>
          <artifactId>jboss-remoting</artifactId>            
        </exclusion>
        <exclusion>
          <groupId>org.jboss.aop</groupId>
          <artifactId>jboss-aop</artifactId>            
        </exclusion>
      </exclusions>
    </dependency>
    
    <dependency>
      <groupId>org.jboss.cluster</groupId>
      <artifactId>jboss-ha-server-api</artifactId>
      <version>1.1.0.CR4</version>
      <exclusions>
        <exclusion>
          <groupId>org.jboss</groupId>
          <artifactId>jboss-common-core</artifactId>            
        </exclusion>
        <exclusion>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging-spi</artifactId>            
        </exclusion>
        <exclusion>
          <groupId>org.jboss.cache</groupId>
          <artifactId>jbosscache-core</artifactId>            
        </exclusion>
        <exclusion>
          <groupId>org.jboss.cache</groupId>
          <artifactId>jbosscache-pojo</artifactId>            
        </exclusion>
        <exclusion>
          <groupId>jgroups</groupId>
          <artifactId>jgroups</artifactId>            
        </exclusion>
      </exclusions>
    </dependency> 

  </dependencies>

  <scm>
    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-proxy-clustered-0.1.3</connection>
    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-proxy-clustered-0.1.3</developerConnection>
    <url>http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-proxy-clustered-0.1.3</url>
  </scm>
</project>
