1 <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"> 2 <modelVersion>4.0.0</modelVersion> 3 <parent> 4 <groupId>org.sonatype.oss</groupId> 5 <artifactId>oss-parent</artifactId> 6 <version>9</version> 7 </parent> 8 9 <groupId>kr.motd.maven</groupId> 10 <artifactId>os-maven-plugin</artifactId> 11 <version>1.4.0.Final</version> 12 <packaging>maven-plugin</packaging> 13 14 <name>os-maven-plugin</name> 15 <url>https://github.com/trustin/os-maven-plugin/</url> 16 <description> 17 A Maven extension/plugin that generates various useful platform-dependent project properties normalized from 18 ${os.name} and ${os.arch}. 19 </description> 20 21 <organization> 22 <name>Trustin Lee</name> 23 <url>http://t.motd.kr/</url> 24 </organization> 25 26 <licenses> 27 <license> 28 <name>Apache License, Version 2.0</name> 29 <url>http://www.apache.org/licenses/LICENSE-2.0</url> 30 </license> 31 </licenses> 32 <inceptionYear>2014</inceptionYear> 33 34 <scm> 35 <url>https://github.com/trustin/os-maven-plugin</url> 36 <connection>scm:git:git://github.com/trustin/os-maven-plugin.git</connection> 37 <developerConnection>scm:git:ssh://git (a] github.com/trustin/os-maven-plugin.git</developerConnection> 38 <tag>HEAD</tag> 39 </scm> 40 41 <developers> 42 <developer> 43 <id>trustin</id> 44 <name>Trustin Lee</name> 45 <email>t (a] motd.kr</email> 46 <url>http://t.motd.kr/</url> 47 <organization>Trustin Lee</organization> 48 <organizationUrl>http://t.motd.kr/</organizationUrl> 49 </developer> 50 </developers> 51 52 <prerequisites> 53 <maven>3.0</maven> 54 </prerequisites> 55 56 <properties> 57 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 58 <maven.javadoc.failOnError>false</maven.javadoc.failOnError> 59 </properties> 60 61 <dependencies> 62 <dependency> 63 <groupId>org.apache.maven</groupId> 64 <artifactId>maven-plugin-api</artifactId> 65 <version>3.2.1</version> 66 </dependency> 67 <dependency> 68 <groupId>org.apache.maven</groupId> 69 <artifactId>maven-core</artifactId> 70 <version>3.2.1</version> 71 <scope>provided</scope> 72 </dependency> 73 <dependency> 74 <groupId>org.apache.maven.plugin-tools</groupId> 75 <artifactId>maven-plugin-annotations</artifactId> 76 <version>3.2</version> 77 <scope>provided</scope> 78 </dependency> 79 <dependency> 80 <groupId>org.codehaus.plexus</groupId> 81 <artifactId>plexus-utils</artifactId> 82 <version>3.0.17</version> 83 </dependency> 84 <dependency> 85 <groupId>org.eclipse</groupId> 86 <artifactId>ui</artifactId> 87 <version>3.3.0-I20070614-0800</version> 88 <scope>provided</scope> 89 <exclusions> 90 <exclusion> 91 <groupId>org.eclipse</groupId> 92 <artifactId>swt</artifactId> 93 </exclusion> 94 </exclusions> 95 </dependency> 96 <dependency> 97 <groupId>junit</groupId> 98 <artifactId>junit</artifactId> 99 <version>4.11</version> 100 <scope>test</scope> 101 </dependency> 102 </dependencies> 103 104 <build> 105 <plugins> 106 <plugin> 107 <artifactId>maven-compiler-plugin</artifactId> 108 <version>3.1</version> 109 <configuration> 110 <source>1.6</source> 111 <target>1.6</target> 112 <debug>true</debug> 113 <optimize>true</optimize> 114 </configuration> 115 </plugin> 116 <plugin> 117 <groupId>org.codehaus.plexus</groupId> 118 <artifactId>plexus-component-metadata</artifactId> 119 <version>1.5.5</version> 120 <executions> 121 <execution> 122 <goals> 123 <goal>generate-metadata</goal> 124 </goals> 125 </execution> 126 </executions> 127 </plugin> 128 <plugin> 129 <artifactId>maven-plugin-plugin</artifactId> 130 <version>3.3</version> 131 <configuration> 132 <goalPrefix>os</goalPrefix> 133 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> 134 </configuration> 135 <executions> 136 <execution> 137 <id>mojo-descriptor</id> 138 <goals> 139 <goal>descriptor</goal> 140 </goals> 141 </execution> 142 <execution> 143 <id>help-goal</id> 144 <goals> 145 <goal>helpmojo</goal> 146 </goals> 147 </execution> 148 </executions> 149 </plugin> 150 <plugin> 151 <!-- ensure that only methods available in java 1.6 can 152 be used even when compiling with java 1.7+ --> 153 <groupId>org.codehaus.mojo</groupId> 154 <artifactId>animal-sniffer-maven-plugin</artifactId> 155 <version>1.9</version> 156 <dependencies> 157 <!-- Upgrade ASM and support Java 8 bytecode --> 158 <dependency> 159 <groupId>org.ow2.asm</groupId> 160 <artifactId>asm-all</artifactId> 161 <version>5.0.3</version> 162 </dependency> 163 </dependencies> 164 <configuration> 165 <signature> 166 <groupId>org.codehaus.mojo.signature</groupId> 167 <artifactId>java16</artifactId> 168 <version>1.0</version> 169 </signature> 170 </configuration> 171 <executions> 172 <execution> 173 <phase>process-classes</phase> 174 <goals> 175 <goal>check</goal> 176 </goals> 177 </execution> 178 </executions> 179 </plugin> 180 <plugin> 181 <artifactId>maven-jar-plugin</artifactId> 182 <version>2.4</version> 183 <configuration> 184 <archive> 185 <manifestEntries> 186 <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 187 <Bundle-Name>os-maven-plugin</Bundle-Name> 188 <Bundle-SymbolicName>kr.motd.maven.os;singleton:=true</Bundle-SymbolicName> 189 <Bundle-Version>${project.version}</Bundle-Version> 190 <Require-Bundle>org.eclipse.core.runtime,org.eclipse.ui</Require-Bundle> 191 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> 192 </manifestEntries> 193 </archive> 194 </configuration> 195 </plugin> 196 </plugins> 197 </build> 198 </project> 199 200