<!-- 
  vi:ts=2:sw=2:expandtab 
-->
<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>
    <groupId>org.jboss.ejb3</groupId>
    <artifactId>jboss-ejb3-build</artifactId>
    <version>1.0.0</version>
    <relativePath>../build/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>jboss-ejb3-interceptors</artifactId>
  <version>1.0.6</version>
  <packaging>jar</packaging>
  <name>JBoss EJB 3.0 Interceptors</name>
  <url>http://www.jboss.org</url>
  <description>
    The JBoss EJB 3 Interceptors component implements all functionality
    specified in Chapter 12 (Interceptors) of the EJB 3 specification.
  </description>
  
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>aopc</id>
            <phase>process-test-classes</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <property name="cp" refid="maven.test.classpath" />
                
                <echo message="aopc in action" />
                
                <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpath="${cp}" />
                
                <aopc compilerclasspath="${cp}" verbose="true">
                  <aoppath path="${basedir}/src/test/resources/ejbthree1950/jboss-aop.xml" />
                  <!--
                  <classpath path="${project.build.directory}/tests-classes" />
                  <src path="${project.build.directory}/tests-classes" />
                  -->
                  <classpath path="${project.build.testOutputDirectory}" />
                  <src path="${project.build.testOutputDirectory}" />
                  <include name="**/*FasadBean.class" />
                </aopc>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <!-- Because we fiddle with the class loader in BasicTestSuite.
               Note that the other tests also change context class loader, but this is
               to make surefire work at all. -->
          <forkMode>pertest</forkMode>
          <!--
          <argLine>-enableassertions</argLine>
          -->
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <!-- Internal -->
    <dependency>
      <groupId>org.jboss.ejb3</groupId>
      <artifactId>jboss-ejb3-metadata</artifactId>
      <version>1.0.0</version>
    </dependency>

    <dependency>
      <groupId>org.jboss.ejb3</groupId>
      <artifactId>jboss-ejb3-common</artifactId>
      <version>1.0.0</version>
    </dependency>

    <!-- External -->
    <dependency>
      <groupId>org.jboss</groupId>
      <artifactId>jboss-reflect</artifactId>
      <version>2.0.0.CR1</version>
    </dependency>
    <dependency>
      <groupId>org.jboss.aspects</groupId>
      <artifactId>jboss-current-invocation-aspects</artifactId>
      <version>1.0.0.CR1</version>
    </dependency>
    <dependency>
      <groupId>org.jboss.logging</groupId>
      <artifactId>jboss-logging-spi</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jboss.logging</groupId>
      <artifactId>jboss-logging-log4j</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.metadata</groupId>
      <artifactId>jboss-metadata</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jboss.aop</groupId>
      <artifactId>jboss-aop</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jboss.aspects</groupId>
      <artifactId>jboss-aspects-common</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.javaee</groupId>
      <artifactId>jboss-ejb-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jboss.microcontainer</groupId>
      <artifactId>jboss-kernel</artifactId>
      <version>2.0.0.CR2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.man</groupId>
      <artifactId>jboss-managed</artifactId>
      <version>2.0.0.CR1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

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