<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.rhq</groupId>
    <artifactId>rhq-parent</artifactId>
    <version>1.1.2.GA</version>
  </parent>

  <groupId>org.rhq</groupId>
  <artifactId>rhq-plugins-parent</artifactId>
  <packaging>pom</packaging>

  <name>RHQ Plugins</name>
  <description>parent POM for all RHQ plugins</description>

  <scm>
    <connection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_1_2_GA/modules/plugins</connection>
    <developerConnection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_1_2_GA/modules/plugins</developerConnection>
  </scm>

  <properties>
    <scm.module.path>modules/plugins/</scm.module.path>
  </properties>

  <dependencies>

    <dependency>
     <groupId>${rhq.groupId}</groupId>
     <artifactId>rhq-core-domain</artifactId>
     <version>${project.version}</version>
     <scope>provided</scope> <!-- by PC -->
    </dependency>

    <dependency>
     <groupId>${rhq.groupId}</groupId>
     <artifactId>rhq-core-plugin-api</artifactId>
     <version>${project.version}</version>
     <scope>provided</scope> <!-- by PC -->
    </dependency>

    <dependency>
     <groupId>${rhq.groupId}</groupId>
     <artifactId>rhq-core-native-system</artifactId>
     <version>${project.version}</version>
     <scope>provided</scope> <!-- by PC -->
    </dependency>

    <dependency>
     <groupId>${rhq.groupId}</groupId>
     <artifactId>rhq-core-plugin-container</artifactId>
     <version>${project.version}</version>
     <scope>test</scope>
    </dependency>

    <!-- TODO: This is a fix for the Javac bug requiring annotations to be
               available when compiling dependent classes. It is fixed in JDK 6. -->
    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>persistence-api</artifactId>
      <version>1.0</version>
      <scope>provided</scope> <!-- by RHQ container -->
    </dependency>

    <!-- TODO: This is a fix for the Javac bug requiring annotations to be
               available when compiling dependent classes; it is fixed in JDK 6. -->
    <dependency>
      <groupId>jboss.jboss-embeddable-ejb3</groupId>
      <artifactId>hibernate-all</artifactId>
      <version>1.0.0.Alpha9</version>
      <scope>provided</scope> <!-- by RHQ container -->
    </dependency>

  </dependencies>

  <modules>

    <module>platform</module>
    <module>jmx</module>    
    <module>rhq-agent</module>
    <module>apache</module>
    <module>iis</module>
    <module>database</module>
    <module>postgres</module>

  </modules>

</project>
