Download rhq-core-native-system-1.2.0.ga.jar file

Introduction

You can download rhq-core-native-system-1.2.0.ga.jar in this page.

License

Open Source

Type List

rhq-core-native-system-1.2.0.ga.jar file has the following types.

META-INF/MANIFEST.MF
META-INF/maven/org.rhq/rhq-core-native-system/pom.properties
META-INF/maven/org.rhq/rhq-core-native-system/pom.xml
org.rhq.core.system.AggregateProcessInfo.class
org.rhq.core.system.CpuInformation.class
org.rhq.core.system.FileSystemInfo.class
org.rhq.core.system.JavaSystemInfo.class
org.rhq.core.system.NativeSystemInfo.class
org.rhq.core.system.NetworkAdapterInfo.class
org.rhq.core.system.NetworkAdapterStats.class
org.rhq.core.system.NetworkStats.class
org.rhq.core.system.OperatingSystemType.class
org.rhq.core.system.ProcessExecution.class
org.rhq.core.system.ProcessExecutionResults.class
org.rhq.core.system.ProcessInfo.class
org.rhq.core.system.ServiceInfo.class
org.rhq.core.system.SystemInfo.class
org.rhq.core.system.SystemInfoException.class
org.rhq.core.system.SystemInfoFactory.class
org.rhq.core.system.WindowsNativeSystemInfo.class
org.rhq.core.system.pquery.Attribute.class
org.rhq.core.system.pquery.Conditional.class
org.rhq.core.system.pquery.Criteria.class
org.rhq.core.system.pquery.Operation.class
org.rhq.core.system.pquery.ProcessInfoQuery.class
org.rhq.core.system.windows.BinaryRegistryValue.class
org.rhq.core.system.windows.DWordRegistryValue.class
org.rhq.core.system.windows.ExpandSzRegistryValue.class
org.rhq.core.system.windows.MultiSzRegistryValue.class
org.rhq.core.system.windows.QWordRegistryValue.class
org.rhq.core.system.windows.RegistryEntry.class
org.rhq.core.system.windows.RegistryValue.class
org.rhq.core.system.windows.SzRegistryValue.class

Pom

rhq-core-native-system-1.2.0.ga.pom file content.

<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-core-native-system</artifactId>
  <packaging>jar</packaging>

  <name>RHQ Native System API</name>
  <description>
     Java API that wraps the native library used to access low-level system resources natively.
  </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/core/native-system/</scm.module.path>
  </properties>

  <dependencies>

    <dependency>
      <groupId>${rhq.groupId}</groupId>
      <artifactId>rhq-core-util</artifactId>
      <version>${project.version}</version>
    </dependency>

    <dependency>
      <groupId>org.hyperic</groupId>
      <artifactId>sigar</artifactId>
      <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
    </dependency>

    <dependency>
      <groupId>org.hyperic</groupId>
      <artifactId>sigar-dist</artifactId>
      <version>${sigar.version}</version>
      <type>zip</type>
    </dependency>

  </dependencies>

  <build>
    <plugins>

      <!-- need to copy/unzip the native libraries to the target directory and tell SystemInfoFactory where they are -->
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-test-resources</phase>
            <configuration>
              <tasks>
                 <echo>SIGAR java library version used is ${sigar.version}</echo>
                 <echo>Copying/unzipping SIGAR native libraries (version ${sigar.version}) to local build directory</echo>
                 <mkdir dir="${project.build.directory}/jboss-sigar" />
                 <copy toDir="${project.build.directory}/jboss-sigar">
                    <fileset dir="${settings.localRepository}/org/hyperic/sigar-dist/${sigar.version}" includes="*.zip" />
                 </copy>
                 <unzip dest="${project.build.directory}/jboss-sigar">
                    <fileset dir="${project.build.directory}/jboss-sigar" includes="*.zip" />
                    <patternset>
                       <include name="**/lib/sigar.jar" />
                       <include name="**/lib/bcel*.jar" />
                       <include name="**/lib/*.so" />
                       <include name="**/lib/*.sl" />
                       <include name="**/lib/*.dll" />
                       <include name="**/lib/*.dylib" />
                    </patternset>
                 </unzip>
                 <move todir="${project.build.directory}/jboss-sigar" flatten="true">
                    <fileset dir="${project.build.directory}/jboss-sigar">
                       <include name="**/lib/*" />
                    </fileset>
                 </move>
                 <delete dir="${project.build.directory}/jboss-sigar/hyperic-sigar-${sigar.version}" />
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludedGroups>${rhq.testng.excludedGroups}</excludedGroups>
          <!-- need to point the library path to the location of the native libraries -->
          <argLine>-Dorg.hyperic.sigar.path=${project.build.directory}/jboss-sigar</argLine>
          <!--
          <argLine>-Dorg.hyperic.sigar.path=${project.build.directory}/jboss-sigar -Dsigar.nativeLogging=true -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</argLine>
           -->
        </configuration>
      </plugin>

    </plugins>
  </build>

</project>

POM Entry

<dependency>
   <groupId>org.rhq</groupId>
   <artifactId>rhq-core-native-system</artifactId>
   <version>1.2.0.ga</version>
</dependency>

Download

If you think the following rhq-core-native-system-1.2.0.ga.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download rhq-core-native-system-1.2.0.ga.jar file




PreviousNext

Related