os-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>1.7.1</version> </dependency>
<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> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>9</version> </parent> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>1.7.1</version> <packaging>maven-plugin</packaging> <name>os-maven-plugin</name> <url>https://github.com/trustin/os-maven-plugin/</url> <description> A Maven extension/plugin that generates various useful platform-dependent project properties normalized from ${os.name} and ${os.arch}. </description> <organization> <name>Trustin Lee</name> <url>http://t.motd.kr/</url> </organization> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <inceptionYear>2014</inceptionYear> <scm> <url>https://github.com/trustin/os-maven-plugin</url> <connection>scm:git:git://github.com/trustin/os-maven-plugin.git</connection> <developerConnection>scm:git:ssh://git@github.com/trustin/os-maven-plugin.git</developerConnection> <tag>HEAD</tag> </scm> <developers> <developer> <id>trustin</id> <name>Trustin Lee</name> <email>t@motd.kr</email> <url>http://t.motd.kr/</url> <organization>Trustin Lee</organization> <organizationUrl>http://t.motd.kr/</organizationUrl> </developer> </developers> <prerequisites> <maven>3.1</maven> </prerequisites> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.javadoc.failOnError>false</maven.javadoc.failOnError> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.5.3</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.5.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.5.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.1.0</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency> <dependency> <groupId>org.eclipse</groupId> <artifactId>ui</artifactId> <version>3.3.0-I20070614-0800</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>org.eclipse</groupId> <artifactId>swt</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> <debug>true</debug> <optimize>true</optimize> </configuration> </plugin> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> <version>1.7.1</version> <executions> <execution> <goals> <goal>generate-metadata</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> <configuration> <goalPrefix>os</goalPrefix> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-goal</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- ensure that only methods available in java 1.6 can be used even when compiling with java 1.7+ --> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.18</version> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java18</artifactId> <version>1.0</version> </signature> </configuration> <executions> <execution> <phase>process-classes</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> <configuration> <archive> <manifestEntries> <Bundle-ManifestVersion>2</Bundle-ManifestVersion> <Bundle-Name>os-maven-plugin</Bundle-Name> <Bundle-SymbolicName>kr.motd.maven.os;singleton:=true</Bundle-SymbolicName> <Bundle-Version>${project.version}</Bundle-Version> <Require-Bundle>org.eclipse.core.runtime,org.eclipse.ui</Require-Bundle> <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment> </manifestEntries> </archive> </configuration> </plugin> </plugins> </build> </project>