<?xml version="1.0" encoding="UTF-8"?>
<!--===== a sample Maven 2 user settings file for the perftest build =====-->
<!-- See: http://maven.apache.org/settings.html -->
<settings 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/settings-1.0.0.xsd">

   <!--**************************** PROFILES ****************************-->

   <!-- See: http://maven.apache.org/guides/introduction/introduction-to-profiles.html
        and: http://docs.codehaus.org/display/MAVENUSER/Profiles -->

   <activeProfiles>
      <!-- Always enable the 'overrides' profile, where we override various build properties. -->

      <activeProfile>overrides</activeProfile>
   </activeProfiles>

   <profiles>

      <profile>
         <id>overrides</id>
         <properties>
            <!-- NOTE: Add properties here that you always want set, to avoid    -->

            <!--       having to explicitly pass them on the command line. Note, -->
            <!--       you can still override them via the command line.         -->

            <!-- tells the dbutils tests not to fail -->
            <DatabaseTest.nofail>true</DatabaseTest.nofail>
            <!-- we don't want to run any tests when build in the perf environment-->
            <maven.test.skip>true</maven.test.skip>
            <!-- Set the below prop to the absolute path of your RHQ trunk dir.
                (the JON plugin poms use ${rhq.rootDir}/dev-container as the dev container dir) -->

            <rhq.rootDir>/home/TEST_USER/perf/src/rhq/trunk</rhq.rootDir>
         </properties>
      </profile>

      <profile>
         <id>jon05-oracle</id>
         <activation>
            <activeByDefault>false</activeByDefault>

         </activation>
         <properties>
            <rhq.test.ds.connection-url>jdbc:oracle:thin:@jon05.DOMAIN.COM:1521:JON</rhq.test.ds.connection-url>
            <rhq.test.ds.user-name>jon</rhq.test.ds.user-name>
            <rhq.test.ds.password>jon</rhq.test.ds.password>
            <rhq.test.ds.type-mapping>Oracle10g</rhq.test.ds.type-mapping>
            <rhq.test.ds.driver-class>oracle.jdbc.driver.OracleDriver</rhq.test.ds.driver-class>

            <rhq.test.ds.xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</rhq.test.ds.xa-datasource-class>
            <rhq.test.ds.server-name>jon05.DOMAIN.COM</rhq.test.ds.server-name>
            <rhq.test.ds.port>1521</rhq.test.ds.port>
            <rhq.test.ds.db-name>JON</rhq.test.ds.db-name>
            <rhq.test.ds.hibernate-dialect>org.hibernate.dialect.Oracle10gDialect</rhq.test.ds.hibernate-dialect>
         </properties>

<repositories>
        <repository>
               <id>redhat</id>
               <name>redhat internal repository</name>
               <url>http://jon01.DOMAIN.COM/m2-repo</url>
               <snapshots>
                 <enabled>false</enabled>

               </snapshots>
        </repository>
</repositories>

      </profile>

   </profiles>

</settings>
