<!-- 
  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.aspects</groupId>
    <artifactId>jboss-aspects-build</artifactId>
    <version>1.0.0.Beta1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>jboss-aspects-test</artifactId>
  <version>1.0.0.Beta1</version>
  <packaging>jar</packaging>
  <name>JBoss Aspects Test Facilities</name>
  <url>http://www.jboss.org/jbossas</url>
  <description>
    JBoss Aspects Test Facilities can be used as a base for writing
    aspect unit tests.
  </description>
  
  <build>
    
    <!-- TODO: Remove these when parent build has proper default -->
    <sourceDirectory>src/main/java</sourceDirectory>
    <testSourceDirectory>src/test/java</testSourceDirectory>
    
    <plugins>
      <!-- Configure surefire to run with dynamic AOP -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <argLine>-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader</argLine>
          <!--forkMode>always</forkMode-->
          <includes>
            <include>**/*TestCase.java</include>
          </includes>
          <testFailureIgnore>false</testFailureIgnore>
          <!--useSystemClassLoader>true</useSystemClassLoader-->
        </configuration>
      </plugin>
    </plugins>    
  </build>
  
  <dependencies>
    <!-- override junit scope -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <!-- in compile scope, because this is a test facility -->
      <scope>compile</scope>
    </dependency>
    
    <!-- this is an actual dependency -->
    <dependency>
      <groupId>org.jboss.test</groupId>
      <artifactId>jboss-test</artifactId>
      <!-- in compile scope, because this is a test facility -->
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>org.jboss.aop</groupId>
      <artifactId>jboss-aop</artifactId>
    </dependency>

  </dependencies>

  <scm>
    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-aspects/tags/jboss-aspects-test-1.0.0.Beta1</connection>
    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-aspects/tags/jboss-aspects-test-1.0.0.Beta1</developerConnection>
    <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-aspects/tags/jboss-aspects-test-1.0.0.Beta1</url>
  </scm>
</project>
