Mercurial > hg > release > thermostat-0.5
view vm-classstat/common/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 | |
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-common</artifactId> <packaging>bundle</packaging> <name>Thermostat VM ClassStat Common 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.common</Bundle-SymbolicName> <Bundle-Activator>com.redhat.thermostat.vm.classstat.common.internal.Activator</Bundle-Activator> <Export-Package> com.redhat.thermostat.vm.classstat.common </Export-Package> <Private-Package> com.redhat.thermostat.vm.classstat.common.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-storage-core</artifactId> <version>${project.version}</version> </dependency> </dependencies> </project>