<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">
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.jboss.webbeans</groupId>
   <artifactId>parent</artifactId>
   <packaging>pom</packaging>
   <version>1.0.0.ALPHA2</version>

   <name>Web Beans</name>
   <url>http://www.seamframework.org/WebBeans</url>

   <description>
      The reference implementation of JSR 299: Web Beans
   </description>

   <developers>
      <developer>
         <name>Pete Muir</name>
         <roles>
            <role>Project Lead</role>
         </roles>
         <email>pete.muir@jboss.org</email>
         <organization>JBoss, a division of Red Hat</organization>
         <url>http://in.relation.to/Bloggers/Pete</url>
      </developer>

      <developer>
         <name>Shane Bryzak</name>
         <organization>JBoss, a division of Red Hat</organization>
      </developer>

      <developer>
         <name>David Allen</name>
      </developer>
      
      <developer>
         <name>Nicklas Karlsson</name>
      </developer>
   </developers>

   <repositories>
      <repository>
         <id>repository.jboss.org</id>
         <name>JBoss Repository</name>
         <url>http://repository.jboss.org/maven2</url>
         <releases>
            <enabled>true</enabled>
         </releases>
         <snapshots>
            <enabled>false</enabled>
         </snapshots>
      </repository>
      <repository>
         <id>snapshots.jboss.org</id>
         <name>JBoss Snapshots Repository</name>
         <url>http://snapshots.jboss.org/maven2</url>
         <releases>
            <enabled>false</enabled>
         </releases>
         <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
         </snapshots>
      </repository>
   </repositories>

   <pluginRepositories>
      <pluginRepository>
         <id>repository.jboss.org</id>
         <name>JBoss Repository</name>
         <url>http://repository.jboss.org/maven2</url>
      </pluginRepository>
   </pluginRepositories>

   <modules>
      <module>webbeans-api</module>
      <module>webbeans-ri</module>
      <module>webbeans-ri-spi</module>
   </modules>
   
   <properties>
      <webbeans.tck.version>1.0.0.ALPHA1</webbeans.tck.version>
      <webbeans.ri.version>1.0.0.ALPHA2</webbeans.ri.version>
   </properties>
   
   <dependencyManagement>
      <dependencies>

         <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>5.8</version>
            <classifier>jdk15</classifier>
         </dependency>

         <dependency>
            <groupId>javax.ejb</groupId>
            <artifactId>ejb-api</artifactId>
            <version>3.0</version>
         </dependency>

         <dependency>
            <groupId>javax.annotation</groupId>
            <artifactId>jsr250-api</artifactId>
            <version>1.0</version>
         </dependency>
         
         <dependency>
            <groupId>javax.persistence</groupId>
            <artifactId>persistence-api</artifactId>
            <version>1.0</version>
         </dependency>

         <dependency>
            <groupId>org.scannotation</groupId>
            <artifactId>scannotation</artifactId>
            <version>1.0.2</version>
         </dependency>

         <dependency>
            <groupId>javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.8.1.GA</version>
         </dependency>

         <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
         </dependency>

         <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.0.1B</version>
         </dependency>

         <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
         </dependency>

         <dependency>
            <groupId>javax.el</groupId>
            <artifactId>el-api</artifactId>
            <version>1.2</version>
         </dependency>
         
         <dependency>
            <groupId>javax.faces</groupId>
            <artifactId>jsf-api</artifactId>
            <version>1.2_10</version>
         </dependency>

         <dependency>
            <groupId>com.google.collections</groupId>
            <artifactId>google-collections</artifactId>
            <version>0.8</version>
         </dependency>
         
         <dependency>
            <groupId>org.jboss.ejb3</groupId>
            <artifactId>jboss-ejb3-embedded</artifactId>
            <version>1.0.0-Alpha1</version>
            <exclusions>
               <exclusion>
                  <groupId>org.apache.ant</groupId>
                  <artifactId>ant</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>bsh</groupId>
                  <artifactId>bsh</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.jboss.cache</groupId>
                  <artifactId>jbosscache-core</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.jboss.cluster</groupId>
                  <artifactId>jboss-ha-client</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.jboss.javaee</groupId>
                  <artifactId>jboss-ejb-api</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.jboss.javaee</groupId>
                  <artifactId>jboss-servlet-api</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.jboss.ws.native</groupId>
                  <artifactId>jbossws-native-saaj</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.jboss.ws.native</groupId>
                  <artifactId>jbossws-native-jaxws</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>apache-log4j</groupId>
                  <artifactId>log4j</artifactId>
               </exclusion>
            </exclusions>
         </dependency>
         
         <dependency>
            <groupId>org.jboss.ejb3</groupId>
            <artifactId>jboss-ejb3-api</artifactId>
            <version>3.1.0-Alpha1</version>
         </dependency>
         
         <dependency>
            <groupId>org.jboss.el</groupId>
            <artifactId>jboss-el</artifactId>
            <version>1.0_02.CR2</version>
         </dependency>

         <dependency>
            <groupId>com.sun.facelets</groupId>
            <artifactId>jsf-facelets</artifactId>
            <version>1.1.15.B1</version>
         </dependency>

         <dependency>
            <groupId>javax.el</groupId>
            <artifactId>el-ri</artifactId>
            <version>1.2</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.webbeans</groupId>
            <artifactId>webbeans-api</artifactId>
            <version>${webbeans.ri.version}</version>
         </dependency>
         
         <dependency>
            <groupId>org.jboss.webbeans</groupId>
            <artifactId>webbeans-ri</artifactId>
            <version>${webbeans.ri.version}</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.webbeans</groupId>
            <artifactId>webbeans-ri-spi</artifactId>
            <version>${webbeans.ri.version}</version>
         </dependency>
         
         <dependency>
            <groupId>org.jboss.webbeans.tck</groupId>
            <artifactId>webbeans-tck-api</artifactId>
            <version>${webbeans.tck.version}</version>
         </dependency>
         
         <dependency>
            <groupId>org.jboss.webbeans.tck</groupId>
            <artifactId>webbeans-tck-impl</artifactId>
            <version>${webbeans.tck.version}</version>
         </dependency>

      </dependencies>
   </dependencyManagement>

   <build>
      <extensions>
         <extension>
            <groupId>org.apache.maven.wagon</groupId>
            <artifactId>wagon-webdav</artifactId>
            <version>1.0-beta-2</version>
         </extension>
      </extensions>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
               <execution>
                  <id>attach-sources</id>
                  <phase>verify</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
            <executions>
               <execution>
                  <id>enforce-versions</id>
                  <goals>
                     <goal>enforce</goal>
                  </goals>
                  <configuration>
                     <rules>
                        <requireMavenVersion>
                           <version>2.0.9</version>
                        </requireMavenVersion>
                     </rules>
                  </configuration>
               </execution>
            </executions>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-release-plugin</artifactId>
           <version>2.0-beta-8</version>
           <configuration>
             <tagBase>https://svn.jboss.org/repos/webbeans/ri/tags</tagBase>
             <autoVersionSubmodules>true</autoVersionSubmodules>
           </configuration>
         </plugin>
      </plugins>

      <pluginManagement>
         <plugins>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
               <version>2.0.2</version>
               <configuration>
                  <source>1.5</source>
                  <target>1.5</target>
               </configuration>
            </plugin>
            <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>cobertura-maven-plugin</artifactId>
               <version>2.2</version>
            </plugin>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-jar-plugin</artifactId>
               <configuration>
                  <archive>
                     <manifest>
                        <addDefaultImplementationEntries>
                           true
                        </addDefaultImplementationEntries>
                        <addDefaultSpecificationEntries>
                           true
                        </addDefaultSpecificationEntries>
                     </manifest>
                  </archive>
               </configuration>
            </plugin>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-report-plugin</artifactId>
               <version>2.4.3</version>
            </plugin>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <version>2.4.3</version>
            </plugin>
         </plugins>
      </pluginManagement>
   </build>
   
   <profiles>
      <profile>
         <id>coverage</id>
         <activation>
            <property>
               <name>coverage</name>
            </property>
         </activation>
         <build>
            <plugins>
               <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>emma-maven-plugin</artifactId>
                  <version>1.0-alpha-1</version>
                  <inherited>true</inherited>
                  <executions>
                     <execution>
                        <phase>process-classes</phase>
                        <goals>

                           <goal>instrument</goal>
                        </goals>
                     </execution>
                  </executions>
               </plugin>
               <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-surefire-plugin</artifactId>
                  <inherited>true</inherited>
                  <configuration>
                     <forkMode>once</forkMode>
                     <reportFormat>xml</reportFormat>
                     <classesDirectory>
                        ${project.build.directory}/generated-classes/emma/classes
                     </classesDirectory>
                  </configuration>

               </plugin>
            </plugins>
         </build>
      </profile>
   </profiles>
   
   <ciManagement>
      <system>Hudson</system>
      <url />
   </ciManagement>

   <issueManagement>
      <system>JIRA</system>
      <url>http://jira.jboss.org/browse/WBRI</url>
   </issueManagement>

   <inceptionYear>2008</inceptionYear>

   <licenses>
      <license>
         <name>Apache License, Version 2.0</name>
         <url>http://www.apache.org/licenses/LICENSE-2.0</url>
      </license>
      <license>
         <name>Lesser Gnu Public License, Version 2.1</name>
         <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
      </license>
   </licenses>

   <scm>
      <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri/1.0.0.ALPHA2</connection>
      <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri/tags/1.0.0.ALPHA2</developerConnection>
      <url>http://fisheye.jboss.org/browse/WebBeans/ri/1.0.0.ALPHA2</url>
   </scm>

   <distributionManagement>
      <repository>
         <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
         <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
         <!-- todo : replace this with direct svn access once the svnkit providers are available -->
         <id>repository.jboss.org</id>
         <url>file://${maven.repository.root}</url>
      </repository>
      <snapshotRepository>
         <id>snapshots.jboss.org</id>
         <name>JBoss Snapshot Repository</name>
         <url>dav:https://snapshots.jboss.org/maven2</url>
      </snapshotRepository>
   </distributionManagement>

   <reporting>
      <plugins>
         <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <configuration>
               <formats>
                  <format>html</format>
                  <format>xml</format>
               </formats>
               <instrumentation>
                  <ignores>
                     <ignore>javax.webbeans.*</ignore>
                  </ignores>
               </instrumentation>
            </configuration>
         </plugin>
      </plugins>
   </reporting>
   
</project>
