oshi-core-java11
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.oshi</groupId> <artifactId>oshi-core-java11</artifactId> <version>6.6.0</version> </dependency>
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.github.oshi</groupId> <artifactId>oshi-parent</artifactId> <version>6.6.0</version> </parent> <artifactId>oshi-core-java11</artifactId> <packaging>jar</packaging> <name>oshi-core-java11</name> <properties> <oshi.core.basedir>${main.basedir}/oshi-core</oshi.core.basedir> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <maven.compiler.testSource>11</maven.compiler.testSource> <maven.compiler.testTarget>11</maven.compiler.testTarget> </properties> <dependencyManagement> <dependencies> <!-- Due to critical nature of OSHI jna usage, set to dependency management to help influence usage --> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna-jpms</artifactId> <version>${jna.version}</version> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna-platform-jpms</artifactId> <version>${jna.version}</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna-jpms</artifactId> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna-platform-jpms</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <version>${hamcrest.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>${oshi.core.basedir}/src/main/resources</directory> </resource> </resources> <testResources> <testResource> <directory>${oshi.core.basedir}/src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-sources</id> <goals> <goal>add-source</goal> </goals> <phase>generate-sources</phase> <configuration> <sources> <source>${oshi.core.basedir}/src/main/java</source> </sources> </configuration> </execution> <execution> <id>add-test-sources</id> <goals> <goal>add-test-source</goal> </goals> <phase>generate-test-sources</phase> <configuration> <sources> <source>${oshi.core.basedir}/src/test/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <source>11</source> <sourcepath>${project.basedir}/src/main/java:${oshi.core.basedir}/src/main/java</sourcepath> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <source>11</source> <sourcepath>${project.basedir}/src/main/java:${oshi.core.basedir}/src/main/java</sourcepath> </configuration> </plugin> </plugins> </reporting> </project>