view vm-classstat/client-core/pom.xml @ 896:3cc2f2ea31b3

Create VM ClassStat agent and common bundles This commit extracts VM ClassStat data collection from SystemBackend and related classes into a vm-classstat-agent bundle. It also moves the VmClassStatDAO from common-core into a vm-classstat-common bundle that registers the DAO once Storage is available. This also removes the DAO from DAOFactory. This commit also simplifies what's left of JvmStatHostListener since it only handles collecting VmInfo data, and rewrites the corresponding test to better test the VmInfo relevant functionality. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-January/004998.html
author Elliott Baron <ebaron@redhat.com>
date Mon, 07 Jan 2013 15:51:53 -0500
parents 48fdf038ff96
children 186115da601f
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>thermostat-vm-classstat</artifactId>
    <groupId>com.redhat.thermostat</groupId>
    <version>0.5.0-SNAPSHOT</version>
  </parent>
  <artifactId>thermostat-vm-classstat-client-core</artifactId>
  <packaging>bundle</packaging>
  <name>Thermostat VM ClassStat Core Client plugin</name>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Bundle-Vendor>Red Hat, Inc.</Bundle-Vendor>
            <Bundle-SymbolicName>com.redhat.thermostat.vm.classstat.client.core</Bundle-SymbolicName>
            <Bundle-Activator>com.redhat.thermostat.vm.classstat.client.core.internal.Activator</Bundle-Activator>
            <Export-Package>
              com.redhat.thermostat.vm.classstat.client.core,
              com.redhat.thermostat.vm.classstat.client.locale
            </Export-Package>
            <Private-Package>
              com.redhat.thermostat.vm.classstat.client.core.internal
            </Private-Package>
            <!-- Do not autogenerate uses clauses in Manifests -->
            <_nouses>true</_nouses>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.redhat.thermostat</groupId>
      <artifactId>thermostat-common-core</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.redhat.thermostat</groupId>
      <artifactId>thermostat-vm-classstat-common</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.redhat.thermostat</groupId>
      <artifactId>thermostat-client-core</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.redhat.thermostat</groupId>
      <artifactId>thermostat-common-test</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>