1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 5 6 Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. 7 8 The contents of this file are subject to the terms of either the GNU 9 General Public License Version 2 only ("GPL") or the Common Development 10 and Distribution License("CDDL") (collectively, the "License"). You 11 may not use this file except in compliance with the License. You can 12 obtain a copy of the License at 13 https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html 14 or packager/legal/LICENSE.txt. See the License for the specific 15 language governing permissions and limitations under the License. 16 17 When distributing the software, include this License Header Notice in each 18 file and include the License file at packager/legal/LICENSE.txt. 19 20 GPL Classpath Exception: 21 Oracle designates this particular file as subject to the "Classpath" 22 exception as provided by Oracle in the GPL Version 2 section of the License 23 file that accompanied this code. 24 25 Modifications: 26 If applicable, add the following below the License Header, with the fields 27 enclosed by brackets [] replaced by your own identifying information: 28 "Portions Copyright [year] [name of copyright owner]" 29 30 Contributor(s): 31 If you wish your version of this file to be governed by only the CDDL or 32 only the GPL Version 2, indicate your decision by adding "[Contributor] 33 elects to include this software in this distribution under the [CDDL or GPL 34 Version 2] license." If you don't indicate a single choice of license, a 35 recipient has the option to distribute your version of this file under 36 either the CDDL, the GPL Version 2 or to extend the choice of license to 37 its licensees as provided above. However, if you add GPL Version 2 code 38 and therefore, elected the GPL Version 2 license, then the option applies 39 only if the new code is made subject to such option by the copyright 40 holder. 41 42 --> 43 44 <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"> 45 <modelVersion>4.0.0</modelVersion> 46 <parent> 47 <groupId>net.java</groupId> 48 <artifactId>jvnet-parent</artifactId> 49 <version>3</version> 50 </parent> 51 52 <groupId>javax.annotation</groupId> 53 <artifactId>javax.annotation-api</artifactId> 54 <version>1.2</version> 55 56 <properties> 57 <non.final>false</non.final> 58 <spec.version>1.2</spec.version> 59 <extension.name>javax.annotation</extension.name> 60 <bundle.symbolicName>javax.annotation-api</bundle.symbolicName> 61 <vendor.name>Oracle Corporation</vendor.name> 62 <implementation.vendor.id>org.glassfish</implementation.vendor.id> 63 <findbugs.version>2.3.1</findbugs.version> 64 <findbugs.exclude>exclude.xml</findbugs.exclude> 65 <findbugs.threshold>Low</findbugs.threshold> 66 </properties> 67 <name>${extension.name} API</name> 68 <description>Common Annotations for the JavaTM Platform API</description> 69 70 <url>http://jcp.org/en/jsr/detail?id=250</url> 71 72 <developers> 73 <developer> 74 <id>mode</id> 75 <name>Rajiv Mordani</name> 76 <organization>Oracle, Inc.</organization> 77 <roles> 78 <role>lead</role> 79 </roles> 80 </developer> 81 </developers> 82 83 <organization> 84 <name>GlassFish Community</name> 85 <url>https://glassfish.java.net</url> 86 </organization> 87 <licenses> 88 <license> 89 <name>CDDL + GPLv2 with classpath exception</name> 90 <url>https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</url> 91 <distribution>repo</distribution> 92 <comments>A business-friendly OSS license</comments> 93 </license> 94 </licenses> 95 <issueManagement> 96 <system>jira</system> 97 <url>http://java.net/jira/browse/GLASSFISH</url> 98 </issueManagement> 99 <mailingLists> 100 <mailingList> 101 <name>GlassFish Developer</name> 102 <archive>users@https://glassfish.java.net</archive> 103 </mailingList> 104 </mailingLists> 105 <scm> 106 <connection>scm:svn:https://svn.java.net/svn/glassfish~svn/tags/javax.annotation-api-1.2</connection> 107 <developerConnection>scm:svn:https://svn.java.net/svn/glassfish~svn/tags/javax.annotation-api-1.2</developerConnection> 108 <url>http://java.net/projects/glassfish/sources/svn/show/tags/javax.annotation-api-1.2</url> 109 </scm> 110 111 <build> 112 <resources> 113 <resource> 114 <directory>src/main/java</directory> 115 <includes> 116 <include>**/*.properties</include> 117 <include>**/*.html</include> 118 </includes> 119 </resource> 120 <resource> 121 <directory>src/main/resources</directory> 122 <excludes> 123 <exclude>META-INF/README</exclude> 124 </excludes> 125 </resource> 126 </resources> 127 <plugins> 128 <plugin> 129 <artifactId>maven-compiler-plugin</artifactId> 130 <version>2.5.1</version> 131 <configuration> 132 <source>1.6</source> 133 <target>1.6</target> 134 <compilerArgument>-Xlint:unchecked</compilerArgument> 135 </configuration> 136 </plugin> 137 <plugin> 138 <groupId>org.glassfish.build</groupId> 139 <artifactId>spec-version-maven-plugin</artifactId> 140 <version>1.2</version> 141 <configuration> 142 <spec> 143 <nonFinal>${non.final}</nonFinal> 144 <jarType>api</jarType> 145 <specVersion>${spec.version}</specVersion> 146 <specImplVersion>${project.version}</specImplVersion> 147 <apiPackage>${extension.name}</apiPackage> 148 </spec> 149 </configuration> 150 <executions> 151 <execution> 152 <goals> 153 <goal>set-spec-properties</goal> 154 <goal>check-module</goal> 155 </goals> 156 </execution> 157 </executions> 158 </plugin> 159 <plugin> 160 <groupId>org.apache.felix</groupId> 161 <artifactId>maven-bundle-plugin</artifactId> 162 <version>1.4.3</version> 163 <configuration> 164 <supportedProjectTypes> 165 <supportedProjectType>jar</supportedProjectType> 166 </supportedProjectTypes> 167 <instructions> 168 <Bundle-Version>${spec.bundle.version}</Bundle-Version> 169 <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName> 170 <Extension-Name>${spec.extension.name}</Extension-Name> 171 <Implementation-Version>${spec.implementation.version}</Implementation-Version> 172 <Specification-Version>${spec.specification.version}</Specification-Version> 173 <Bundle-Description> 174 Java(TM) Common Annotations ${spec.version} API Design Specification 175 </Bundle-Description> 176 <Specification-Vendor>${vendor.name}</Specification-Vendor> 177 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> 178 <Implementation-Vendor-Id>${implementation.vendor.id}</Implementation-Vendor-Id> 179 </instructions> 180 </configuration> 181 <executions> 182 <execution> 183 <id>bundle-manifest</id> 184 <phase>process-classes</phase> 185 <goals> 186 <goal>manifest</goal> 187 </goals> 188 </execution> 189 </executions> 190 </plugin> 191 <plugin> 192 <groupId>org.apache.maven.plugins</groupId> 193 <artifactId>maven-jar-plugin</artifactId> 194 <version>2.4</version> 195 <configuration> 196 <archive> 197 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> 198 </archive> 199 <excludes> 200 <exclude>**/*.java</exclude> 201 </excludes> 202 </configuration> 203 </plugin> 204 <plugin> 205 <groupId>org.apache.maven.plugins</groupId> 206 <artifactId>maven-remote-resources-plugin</artifactId> 207 <version>1.2.1</version> 208 <executions> 209 <execution> 210 <goals> 211 <goal>process</goal> 212 </goals> 213 <configuration> 214 <resourceBundles> 215 <resourceBundle>org.glassfish:legal:1.1</resourceBundle> 216 </resourceBundles> 217 </configuration> 218 </execution> 219 </executions> 220 </plugin> 221 <plugin> 222 <groupId>org.apache.maven.plugins</groupId> 223 <artifactId>maven-source-plugin</artifactId> 224 <version>2.1</version> 225 <configuration> 226 <includePom>true</includePom> 227 </configuration> 228 <executions> 229 <execution> 230 <id>attach-sources</id> 231 <goals> 232 <goal>jar-no-fork</goal> 233 </goals> 234 </execution> 235 </executions> 236 </plugin> 237 <plugin> 238 <groupId>org.apache.maven.plugins</groupId> 239 <artifactId>maven-javadoc-plugin</artifactId> 240 <version>2.8</version> 241 <executions> 242 <execution> 243 <phase>javadoc</phase> 244 <goals> 245 <goal>javadoc</goal> 246 </goals> 247 <configuration> 248 <groups> 249 <group> 250 <title>Common Annotations API Documentation</title> 251 <packages>javax.annotation</packages> 252 </group> 253 </groups> 254 <bottom> 255 <![CDATA[Copyright © 1999-2013, 256 <a href="http://www.oracle.com">Oracle</a> 257 and/or its affiliates. All Rights Reserved. 258 Use is subject to 259 <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>. 260 ]]> 261 </bottom> 262 </configuration> 263 </execution> 264 </executions> 265 </plugin> 266 <plugin> 267 <groupId>org.codehaus.mojo</groupId> 268 <artifactId>findbugs-maven-plugin</artifactId> 269 <version>${findbugs.version}</version> 270 <configuration> 271 <threshold>${findbugs.threshold}</threshold> 272 <excludeFilterFile>${findbugs.exclude}</excludeFilterFile> 273 <findbugsXmlOutput>true</findbugsXmlOutput> 274 <findbugsXmlWithMessages>true</findbugsXmlWithMessages> 275 </configuration> 276 </plugin> 277 <plugin> 278 <groupId>org.apache.maven.plugins</groupId> 279 <artifactId>maven-release-plugin</artifactId> 280 <configuration> 281 <mavenExecutorId>forked-path</mavenExecutorId> 282 <useReleaseProfile>false</useReleaseProfile> 283 <arguments>${release.arguments}</arguments> 284 </configuration> 285 </plugin> 286 <plugin> 287 <groupId>org.apache.maven.plugins</groupId> 288 <artifactId>maven-site-plugin</artifactId> 289 <version>3.1</version> 290 <configuration> 291 <reporting> 292 <plugins> 293 <plugin> 294 <groupId>org.codehaus.mojo</groupId> 295 <artifactId>findbugs-maven-plugin</artifactId> 296 <version>${findbugs.version}</version> 297 <configuration> 298 <threshold>${findbugs.threshold}</threshold> 299 <excludeFilterFile>${findbugs.exclude}</excludeFilterFile> 300 </configuration> 301 </plugin> 302 </plugins> 303 </reporting> 304 </configuration> 305 </plugin> 306 </plugins> 307 </build> 308 </project> 309