<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.2.0.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_2_0_GA</connection>
    <developerConnection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_2_0_GA</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>

    <module>apt</module>
    <module>grub</module>
<!-- not behaving       <module>hardware</module> -->
    <module>hosts</module>
    <module>hudson</module>
<!-- error in code generation (see RHQ-1225)  <module>jira</module> -->
<!-- no longer needed - to be purged in the future <module>mock-jboss</module> -->        
    <module>mysql</module>
    <module>netservices</module>
<!-- non-public dependency        <module>onewire</module> -->
    <module>oracle</module>
    <module>perftest</module>        
    <module>snmptrapd</module>
    <module>sshd</module>
    <module>virt</module>

    <!-- make this the last - it will validate all the plugins -->
    <module>validate-all-plugins</module>
  </modules>

</project>
