<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</groupId>
      <artifactId>jboss-parent</artifactId>
      <version>3</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.jboss.portletbridge</groupId>
   <version>1.0.0.B3</version>
   <artifactId>root</artifactId>
   <name>
      JBoss Portlet bridge for a portlet environment, root pom
   </name>
   <properties>
      <seam.version>2.0.2.SP1</seam.version>
      <jsf.version>1.2_07</jsf.version>
      <richfaces.version>3.2.1.GA</richfaces.version>
   </properties>
   <packaging>pom</packaging>
   <url>http://www.jboss.org/portletbridge/</url>
   <scm>
      <connection>
         http://anonsvn.jboss.org/repos/portletbridge/
      </connection>
      <developerConnection>
         https://svn.jboss.org/repos/portletbridge/
      </developerConnection>
      <tag>trunk</tag>
   </scm>
   <distributionManagement>
      <repository>
         <id>repository.jboss.org</id>
         <name>JBoss Releases Repository</name>
         <url>${releaseRepository}</url>
      </repository>
      <snapshotRepository>
         <id>snapshots.jboss.org</id>
         <name>JBoss Snapshot Repository</name>
         <url>${snapshotRepository}</url>
         <uniqueVersion>true</uniqueVersion>
      </snapshotRepository>
      <site>
         <url>${site.publish}</url>
      </site>
   </distributionManagement>
   <repositories>
      <repository>
         <releases>
            <enabled>true</enabled>
         </releases>
         <snapshots>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
         </snapshots>
         <id>repository.jboss.com</id>
         <name>Jboss Repository for Maven</name>
         <url>http://repository.jboss.com/maven2/</url>
         <layout>default</layout>
      </repository>
      <repository>
         <snapshots>
            <enabled>true</enabled>
         </snapshots>
         <id>snapshots.jboss.org</id>
         <name>JBoss Snapshot Repository</name>
         <url>http://snapshots.jboss.org/maven2</url>
      </repository>
   </repositories>

   <build>
      <pluginManagement>
         <plugins>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
               <configuration>
                  <source>1.5</source>
                  <target>1.5</target>
               </configuration>
            </plugin>
         </plugins>
      </pluginManagement>
   </build>
   <profiles>
      <!-- Activating this profile will cause developer reports to be generated.
         -  These are reports that are not required for the project site, but
         -  may be useful to developers. -->
      <profile>
         <id>dev-reports</id>
         <reporting>
            <plugins>
               <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>findbugs-maven-plugin</artifactId>
                  <version>1.2</version>
                  <configuration>
                     <findbugsXmlOutput>true</findbugsXmlOutput>
                     <xmlOutput>true</xmlOutput>
                  </configuration>
               </plugin>
            </plugins>
         </reporting>
      </profile>
      <!-- Profile to include code coverage reports -->
      <profile>
         <id>code-coverage</id>
         <build>
            <plugins>
               <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>cobertura-maven-plugin</artifactId>
                  <version>2.2</version>
                  <!-- This version is needed to allow generating the xml reports AFAIK -->
                  <configuration>
                     <formats>
                        <format>xml</format>
                        <format>html</format>
                     </formats>
                  </configuration>
               </plugin>
            </plugins>
         </build>
         <reporting>
            <plugins>
               <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>cobertura-maven-plugin</artifactId>
                  <version>2.2</version>
                  <configuration>
                     <formats>
                        <format>xml</format>
                        <format>html</format>
                     </formats>
                  </configuration>
               </plugin>
            </plugins>
         </reporting>
      </profile>
   </profiles>
   <modules>
      <module>core</module>
      <module>archetypes</module>
      <module>examples</module>
      <module>extensions</module>
      <module>docs</module>
   </modules>
</project>