<?xml version="1.0" encoding="UTF-8"?>
<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">
   <modelVersion>4.0.0</modelVersion>


   <parent>
      <groupId>org.jboss</groupId>
      <artifactId>jboss-parent</artifactId>
      <version>5</version>
   </parent>

   <groupId>org.jboss.interceptor</groupId>
   <artifactId>jboss-interceptor-parent</artifactId>
   <version>2.0.0.CR1</version>
   <packaging>pom</packaging>

   <name>JBoss EJB 3.1 Common Interceptor Library Parent</name>
   <description>JBoss EJB 3.1 Common Interceptor Library Parent</description>

   <scm>
      <connection>scm:git:git@github.com:jbossinterceptors/jbossinterceptors.git</connection>
      <developerConnection>scm:git:git@github.com:jbossinterceptors/jbossinterceptors.git</developerConnection>
      <url>scm:git:git@github.com:jbossinterceptors/jbossinterceptors.git</url>
   </scm>

   <distributionManagement>
      <repository>
         <id>jboss-releases-repository</id>
         <name>JBoss Releases Repository</name>
         <url>${jboss.releases.repo.url}</url>
      </repository>
      <snapshotRepository>
         <id>jboss-snapshots-repository</id>
         <name>JBoss Snapshots Repository</name>
         <url>${jboss.snapshots.repo.url}</url>
      </snapshotRepository>
   </distributionManagement>

   <properties>
      <version.interceptor.api>1.0.0.Beta1</version.interceptor.api>
      <version.javassist>3.12.0.GA</version.javassist>
      <version.junit>4.5</version.junit>
      <version.slf4j>1.5.6</version.slf4j>
   </properties>

   <modules>
      <module>jboss-interceptor-spi</module>
      <module>jboss-interceptor-core</module>
   </modules>


   <licenses>
      <license>
         <name>Apache License, Version 2.0</name>
         <distribution>repo</distribution>
         <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
      </license>
   </licenses>

   <build>
      <finalName>${artifactId}</finalName>
      <plugins>
         <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.5</source>
               <target>1.5</target>
               <showDeprecation>true</showDeprecation>
               <showWarnings>true</showWarnings>
               <optimize>true</optimize>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>2.0-beta-9</version>
            <configuration>
               <generateReleasePoms>false</generateReleasePoms>
               <tagBase>https://svn.jboss.org/repos/jbossas/projects/interceptors/tags</tagBase>
            </configuration>
         </plugin>
      </plugins>
      <pluginManagement>
         <plugins>
            <plugin>
               <artifactId>maven-idea-plugin</artifactId>
               <configuration>
                  <downloadSources>true</downloadSources>
               </configuration>
            </plugin>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <version>2.4.3</version>
               <configuration>
                  <redirectTestOutputToFile>true</redirectTestOutputToFile>
                  <!--testFailureIgnore>true</testFailureIgnore-->
                  <includes>
                     <include>org/jboss/interceptors/**/*TestCase.java</include>
                     <include>org/jboss/interceptors/**/*Test.java</include>
                  </includes>
               </configuration>
            </plugin>
            <plugin>
               <!-- Configure javadoc plugin with APIviz -->
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-javadoc-plugin</artifactId>
               <configuration>
                  <doclet>net.gleamynode.apiviz.APIviz</doclet>
                  <docletArtifact>
                     <groupId>net.gleamynode.apiviz</groupId>
                     <artifactId>apiviz</artifactId>
                     <version>1.1.0</version>
                  </docletArtifact>
                  <encoding>UTF-8</encoding>
               </configuration>
            </plugin>
         </plugins>
      </pluginManagement>
   </build>

   <profiles>
      <profile>
         <id>jboss-public-repository</id>
         <activation>
            <property>
               <name>jboss-public-repository</name>
               <value>!false</value>
            </property>
         </activation>
         <repositories>
            <repository>
               <id>jboss-public-repository-group</id>
               <name>JBoss Public Maven Repository Group</name>
               <url>http://repository.jboss.org/nexus/content/groups/public</url>
               <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
               </releases>
               <snapshots>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
               </snapshots>
            </repository>
         </repositories>
         <pluginRepositories>
            <pluginRepository>
               <id>jboss-public-repository-group</id>
               <name>JBoss Public Maven Repository Group</name>
               <url>http://repository.jboss.org/nexus/content/groups/public</url>
               <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
               </releases>
               <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>never</updatePolicy>
               </snapshots>
            </pluginRepository>
         </pluginRepositories>
      </profile>
   </profiles>

   <reporting>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-project-info-reports-plugin</artifactId>
            <reportSets>
               <reportSet>
                  <reports>
                     <report>dependencies</report>
                     <report>issue-tracking</report>
                     <report>license</report>
                     <report>scm</report>
                  </reports>
               </reportSet>
            </reportSets>
         </plugin>
         <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <version>2.0.1</version>
            <configuration>
               <findbugsXmlOutput>true</findbugsXmlOutput>
               <!-- Optional directory to put findbugs xml report -->
               <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
            </configuration>
         </plugin>
      </plugins>
   </reporting>

   <dependencyManagement>
      <!-- The parent pom manages the inter-dependencies of the modules. -->
      <dependencies>

         <dependency>
            <groupId>org.jboss.spec.javax.interceptor</groupId>
            <artifactId>jboss-interceptors-api_1.1_spec</artifactId>
            <version>${version.interceptor.api}</version>
            <scope>provided</scope>
         </dependency>

         <dependency>
            <groupId>org.jboss.interceptor</groupId>
            <artifactId>jboss-interceptor-spi</artifactId>
            <version>${project.version}</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.interceptor</groupId>
            <artifactId>jboss-interceptor-core</artifactId>
            <version>${project.version}</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.ejb3</groupId>
            <artifactId>jboss-ejb3-api</artifactId>
            <version>3.1.0</version>
            <scope>test</scope>
            <optional>true</optional>
         </dependency>

         <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${version.junit}</version>
            <scope>test</scope>
         </dependency>

         <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>r06</version>
         </dependency>

         <dependency>
            <groupId>javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>${version.javassist}</version>
         </dependency>

         <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>${version.slf4j}</version>
         </dependency>

         <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>${version.slf4j}</version>
            <scope>test</scope>
            <optional>true</optional>
         </dependency>


      </dependencies>
   </dependencyManagement>

</project>
