<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>
   <parent>
      <groupId>org.jboss</groupId>
      <artifactId>jboss-parent</artifactId>
      <version>5</version>
   </parent>

   <groupId>org.jboss.jsf.integration</groupId>
   <artifactId>jboss-jsf-int</artifactId>
   <version>1.0.2</version>
   <packaging>pom</packaging>
   <name>JBoss JavaServer Faces Integration</name>
   <url>http://jsf.jboss.org/</url>
   <description>
      JBoss JavaServer Faces Integration
   </description>
   <scm>
      <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jsf-int/tags/1.0.2</connection>
      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-jsf-int/tags/1.0.2/</developerConnection>
      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-jsf-int/tags/1.0.2/</url>
   </scm>

   <properties>
      <jsf12-version>1.2_15</jsf12-version>
      <jsf20-version>2.0.3</jsf20-version>
      <myfaces-version>2.0.1</myfaces-version>
   </properties>

   <modules>
      <module>jboss-faces</module> <!-- This must be done before jsf-deployer -->
      <module>jsf-deployer-impl</module> <!-- This must be done before jsf-deployer -->
      <module>jsf-deployer</module>
    <!--

     Versions are out of sync for poms of these modules.
     Be sure to update before re-enabling them.
      <module>testwar</module>
      <module>jsf12test</module>
      <module>jsf20test</module>
      <module>jsfbundledtest</module>
      <module>cargo</module> -->
   </modules>

   <dependencyManagement>
      <dependencies>
         <dependency>
            <groupId>org.jboss.deployers</groupId>
            <artifactId>jboss-deployers-vfs</artifactId>
            <version>2.2.0.Alpha4</version>
         </dependency>

         <dependency>
            <groupId>org.jboss</groupId>
            <artifactId>jboss-vfs</artifactId>
            <version>3.0.0.CR5</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.metadata</groupId>
            <artifactId>jboss-metadata</artifactId>
            <version>1.0.4</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.jbossas</groupId>
            <artifactId>jboss-as-tomcat</artifactId>
            <version>6.0.0.20100216-M2</version>
         </dependency>

         <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>1.0.0.GA</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.jsfunit</groupId>
            <artifactId>jboss-jsfunit-core</artifactId>
            <version>1.2.0.Final</version>
         </dependency>

         <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-api</artifactId>
            <version>1.1.6</version>
         </dependency>

         <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-impl</artifactId>
            <version>1.1.6</version>
         </dependency>

         <dependency>
            <groupId>com.sun.faces</groupId>
            <artifactId>jsf-api</artifactId>
            <version>${jsf20-version}</version>
         </dependency>

         <dependency>
            <groupId>com.sun.faces</groupId>
            <artifactId>jsf-impl</artifactId>
            <version>${jsf20-version}</version>
         </dependency>

         <dependency>
           <groupId>org.apache.myfaces.core</groupId>
           <artifactId>myfaces-api</artifactId>
           <version>${myfaces-version}</version>
         </dependency>

         <dependency>
           <groupId>org.apache.myfaces.core</groupId>
           <artifactId>myfaces-impl</artifactId>
           <version>${myfaces-version}</version>
         </dependency>

         <dependency>
           <groupId>jboss.web</groupId>
           <artifactId>servlet-api</artifactId>
           <version>3.0.0-beta-2</version>
         </dependency>

         <dependency>
            <groupId>apache-log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
         </dependency>

         <dependency>
            <groupId>org.jboss.scanning</groupId>
            <artifactId>scanning-plugins</artifactId>
            <version>1.0.0.Alpha4</version>
         </dependency>
      </dependencies>
   </dependencyManagement>

   <build>
      <finalName>${artifactId}</finalName>
      <defaultGoal>install</defaultGoal>

      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <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.codehaus.cargo</groupId>
            <artifactId>cargo-maven2-plugin</artifactId>
            <version>1.0.1-alpha-2</version>
         </plugin>
      </plugins>

   </build>

   <repositories>
      <repository>
         <id>repository.jboss.org</id>
         <name>JBoss Repository</name>
         <layout>default</layout>
         <url>http://repository.jboss.org/maven2/</url>
         <snapshots>
            <enabled>false</enabled>
         </snapshots>
      </repository>
      <repository>
         <id>snapshots.jboss.org</id>
         <name>JBoss Snapshots Repository</name>
         <layout>default</layout>
         <url>http://snapshots.jboss.org/maven2/</url>
         <snapshots>
            <enabled>true</enabled>
         </snapshots>
         <releases>
            <enabled>false</enabled>
         </releases>
      </repository>

   </repositories>

   <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.3.1</version>
            <configuration>
              <findbugsXmlOutput>true</findbugsXmlOutput>
              <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
            </configuration>
         </plugin>
       -->
      </plugins>
   </reporting>

</project>
