Mercurial > hg > release > thermostat-0.5
view vm-cpu/client-core/pom.xml @ 893:9e6bcfc40ea1
Create VM CPU agent and common bundles
This commit extracts VM CPU data collection from SystemBackend into a
vm-cpu-agent bundle. It also moves the VmCpuStatDAO from common-core
into a vm-cpu-common bundle that registers the DAO once Storage is
available. This also removes the DAO from DAOFactory.
One side-effect is changing the visibility of VmLatestPojoListGetter to
public in order for this DAO implementation (and DAOs in the other
commits in this series) to access it.
This also temporarily adds the vm-cpu-common bundle as a dependency to
client-cli until my later dynamic vm-stat patch.
Reviewed-by: omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-January/004996.html
author | Elliott Baron <ebaron@redhat.com> |
---|---|
date | Mon, 07 Jan 2013 15:48:38 -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-cpu</artifactId> <groupId>com.redhat.thermostat</groupId> <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>thermostat-vm-cpu-client-core</artifactId> <packaging>bundle</packaging> <name>Thermostat VM CPU 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.cpu.client.core</Bundle-SymbolicName> <Bundle-Activator>com.redhat.thermostat.vm.cpu.client.core.internal.Activator</Bundle-Activator> <Export-Package> com.redhat.thermostat.vm.cpu.client.core, com.redhat.thermostat.vm.cpu.client.locale </Export-Package> <Private-Package> com.redhat.thermostat.vm.cpu.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-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> <dependency> <groupId>com.redhat.thermostat</groupId> <artifactId>thermostat-vm-cpu-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> </project>