Download rhq-core-native-system-4.11.0.jar file

Introduction

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

License

Open Source

Type List

rhq-core-native-system-4.11.0.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.SigarAccess.class
org.rhq.core.system.SigarAccessHandler.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-4.11.0.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>4.11.0</version>
    <relativePath>../../../pom.xml</relativePath>
  </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>
  
  <properties>
     <rhq.internal>false</rhq.internal>
  </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>
      <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
      <type>zip</type>
    </dependency>
  
    <!-- test deps -->
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </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>
              <target>
                 <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}" />
              </target>
            </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>${jacoco.unit-test.args} -Dorg.hyperic.sigar.path=${project.build.directory}/jboss-sigar</argLine>
          <!--
             <argLine>${jacoco.unit-test.args} -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>

       <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>

          <executions>
             <execution>
                <id>system-api</id>
                <phase>compile</phase>
                <goals>
                   <goal>javadoc</goal>
                </goals>
                <configuration>
                   <doctitle>RHQ ${project.version} System API</doctitle>
                   <reportOutputDirectory>${javadoc.outputDirectory}</reportOutputDirectory>
                   <author>false</author>
                   <breakiterator>true</breakiterator>
                </configuration>
             </execution>
          </executions>
       </plugin>

    </plugins>
  </build>

  <profiles>

      <profile>
         <id>javadoc</id>
         <activation>
            <property>
               <name>javadoc.outputDirectory</name>
            </property>
         </activation>

         <build>
            <plugins>

               <plugin>
                  <artifactId>maven-javadoc-plugin</artifactId>

                  <executions>
                     <execution>
                        <id>system-api</id>
                        <phase>compile</phase>
                        <goals>
                           <goal>javadoc</goal>
                        </goals>
                        <configuration>
                           <doctitle>RHQ ${project.version} System API</doctitle>
                           <windowtitle>RHQ ${project.version} System API</windowtitle>
                           <reportOutputDirectory>${javadoc.outputDirectory}</reportOutputDirectory>
                           <destDir>system</destDir>
                           <author>false</author>
                           <breakiterator>true</breakiterator>
                        </configuration>
                     </execution>
                  </executions>
               </plugin>
            </plugins>
         </build>
      </profile>
  </profiles>
  <repositories>
     <!-- This is for SIGAR 1.6.4. -->
     <repository>
          <id>jboss-thirdparty-uploads</id>
          <name>JBoss Third Party Uploads</name>
          <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
     </repository>
  </repositories>

</project>

POM Entry

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

Download

If you think the following rhq-core-native-system-4.11.0.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-4.11.0.jar file




PreviousNext

Related