<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.identity.idm</groupId>
   <artifactId>idm-parent</artifactId>
   <packaging>pom</packaging>
   <version>1.0.0.Alpha8</version>
   <name>JBoss Identity IDM- Parent</name>
   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
   <description>JBoss Identity is a cross-cutting project that handles identity  needs for the JEMS projects</description>
   <licenses>
      <license>
         <name>lgpl</name>
         <url>http://repository.jboss.com/licenses/lgpl.txt</url>
      </license>
   </licenses>
   <organization>
      <name>JBoss Inc.</name>
      <url>http://www.jboss.org</url>
   </organization>
   <scm>
      <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/idm/trunk</connection>
      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossidentity/idm/trunk</developerConnection>
   </scm>
  
   <build>
      <plugins>
         <plugin>
            <artifactId>maven-release-plugin</artifactId>
            <configuration>
               <tagBase>https://svn.jboss.org/repos/jbossidentity/tags</tagBase>
            </configuration>
         </plugin>
         <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>
            <artifactId>maven-jar-plugin</artifactId>
         </plugin>
      </plugins>
      <pluginManagement>
         <plugins>
            <plugin>
               <artifactId>maven-surefire-plugin</artifactId>
               <version>2.4.3</version>
               <configuration>
                  <printSummary>true</printSummary>
                  <disableXmlReport>false</disableXmlReport>
                  <testFailureIgnore>false</testFailureIgnore>
                  <includes>
                     <include>**/*TestCase.java</include>
                  </includes>
                  <forkMode>pertest</forkMode>
                  <argLine>${surefire.jvm.args}</argLine>
                  <useFile>false</useFile>
                  <trimStackTrace>false</trimStackTrace>
                  <systemProperties>
                     <property>
                        <name>java.util.logging.config.file</name>
                        <value>../parent/logging.properties</value>
                     </property>
                  </systemProperties>
               </configuration>
            </plugin>
         </plugins>
      </pluginManagement>
   </build>

   <!-- Profiles -->
   <profiles>

     
      <profile>
         <id>provided-jdbc-driver</id>
         <dependencies>
            <dependency>
               <groupId>privided</groupId>
               <artifactId>jdbc-driver</artifactId>
               <version>NA</version>
               <scope>system</scope>
               <systemPath>${provided.jdbc.driver.path}</systemPath>
            </dependency>
         </dependencies>
      </profile>
      <profile>
         <id>provided-jdbc-driver2</id>
         <dependencies>
            <dependency>
               <groupId>privided</groupId>
               <artifactId>jdbc-driver2</artifactId>
               <version>NA</version>
               <scope>system</scope>
               <systemPath>${provided.jdbc.driver.path2}</systemPath>
            </dependency>
         </dependencies>
      </profile>
   </profiles>
  
   <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>
  
   <dependencyManagement>
      <dependencies>
         <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
         </dependency>
         <dependency>
            <groupId>javax.persistence</groupId>
            <artifactId>persistence-api</artifactId>
            <version>1.0</version>
         </dependency>
      </dependencies>
   </dependencyManagement>

</project>
