Skip to main content

[identity-api-spec commits] [identity-api-spec~git:8aac9484] revised artifact naming to conform to the naming model defined by glassfi

  • From: monzillo@...
  • To: commits@...
  • Subject: [identity-api-spec commits] [identity-api-spec~git:8aac9484] revised artifact naming to conform to the naming model defined by glassfi
  • Date: Wed, 10 Jul 2013 17:45:47 +0000

Project:    identity-api-spec
Repository: git
Revision:   8aac9484c49cc47b0760532dc97c00dc6baf608c
Author:     monzillo
Date:       2013-07-10 17:45:06 UTC
Link:       

Log Message:
------------
added license files for inclusion (by link) in javadocs, and added findbugs 
exclude file.
revised artifact naming to conform to the naming model defined by glassfish


Revisions:
----------
3390fb888d8e4f597a109c6e8d0e88f3359e5e78
8aac9484c49cc47b0760532dc97c00dc6baf608c


Modified Paths:
---------------
IdentityApiGit/pom.xml


Added Paths:
------------
IdentityApiGit/src/main/java/doc-files/eval-spec-license.html
IdentityApiGit/src/main/java/doc-files/speclicense.html
IdentityApiGit/src/main/resources/exclude-common.xml


Diffs:
------
--- /dev/null
+++ b/IdentityApiGit/src/main/java/doc-files/eval-spec-license.html
@@ -0,0 +1,215 @@
+<html>
+<head>
+<title>Specification License</title>
+</head>
+<body>
+Specification: JSR-351 Java Identity API ("Specification")
+<br/>
+Version: 1.0
+<br/>
+Status: 
+<br/>
+Release: 
+<br/>
+
+<br/>
+Copyright &#169; 1997-2013 Oracle America, Inc.
+<br/>
+500 Oracle Parkway
+<br/>
+Redwood City, California 94065, U.S.A.
+<br/>
+<br/>
+All rights reserved.
+<br/>
+
+<p>
+NOTICE
+<br/>
+The Specification is protected by copyright and the information
+described therein may be protected by one or more U.S. patents, foreign
+patents, or pending applications. Except as provided under the
+following license, no part of the Specification may be reproduced in
+any form by any means without the prior written authorization of Oracle
+America, Inc. ("Oracle") and its licensors, if any. Any use of the
+Specification and the information described therein will be governed by
+the terms and conditions of this Agreement.
+</p>
+<p>
+Subject to the terms and conditions of this license, including your
+compliance with Paragraphs 1 and 2 below, Oracle hereby grants you a
+fully-paid, non-exclusive, non-transferable, limited license (without
+the right to sublicense) under Oracle's intellectual property rights
+to:
+<br/>
+1.Review the Specification for the purposes of evaluation. This
+includes: (i) developing implementations of the Specification for your
+internal, non-commercial use; (ii) discussing the Specification with
+any third party; and (iii) excerpting brief portions of the
+Specification in oral or written communications which discuss the
+Specification provided that such excerpts do not in the aggregate
+constitute a significant portion of the Technology.
+<br/>
+2.Distribute implementations of the Specification to third parties for
+their testing and evaluation use, provided that any such
+implementation:
+<br/>
+(i) does not modify, subset, superset or otherwise extend the Licensor
+Name Space, or include any public or protected packages, classes, Java
+interfaces, fields or methods within the Licensor Name Space other than
+those required/authorized by the Specification or Specifications being
+implemented;
+<br/>
+(ii) is clearly and prominently marked with the word "UNTESTED" or
+"EARLY ACCESS" or "INCOMPATIBLE" or "UNSTABLE" or "BETA" in any list of
+available builds and in proximity to every link initiating its
+download, where the list or link is under Licensee's control; and
+<br/>
+(iii) includes the following notice:
+<br/>
+"This is an implementation of an early-draft specification developed
+under the Java Community Process (JCP) and is made available for
+testing and evaluation purposes only. The code is not compatible with
+any specification of the JCP."
+</p>
+<p>
+The grant set forth above concerning your distribution of
+implementations of the specification is contingent upon your agreement
+to terminate development and distribution of your "early draft"
+implementation as soon as feasible following final completion of the
+specification. If you fail to do so, the foregoing grant shall be
+considered null and void.
+</p>
+<p>
+No provision of this Agreement shall be understood to restrict your
+ability to make and distribute to third parties applications written to
+the Specification.
+</p>
+<p>
+Other than this limited license, you acquire no right, title or
+interest in or to the Specification or any other Oracle intellectual
+property, and the Specification may only be used in accordance with the
+license terms set forth herein. This license will expire on the earlier
+of: (a) two (2) years from the date of Release listed above; (b) the
+date on which the final version of the Specification is publicly
+released; or (c) the date on which the Java Specification Request (JSR)
+to which the Specification corresponds is withdrawn. In addition, this
+license will terminate immediately without notice from Oracle if you
+fail to comply with any provision of this license. Upon termination,
+you must cease use of or destroy the Specification.
+</p>
+<p>
+"Licensor Name Space" means the public class or interface declarations
+whose names begin with "java", "javax", "com.oracle" or their
+equivalents in any subsequent naming convention adopted by Oracle
+through the Java Community Process, or any recognized successors or
+replacements thereof
+</p>
+<p>
+TRADEMARKS
+<br/>
+No right, title, or interest in or to any trademarks, service marks, or
+trade names of Oracle or Oracle's licensors is granted hereunder.
+Oracle, the Oracle logo, Java are trademarks or registered trademarks
+of Oracle USA, Inc. in the U.S. and other countries.
+</p>
+<p>
+DISCLAIMER OF WARRANTIES
+<br/>
+THE SPECIFICATION IS PROVIDED "AS IS" AND IS EXPERIMENTAL AND MAY
+CONTAIN DEFECTS OR DEFICIENCIES WHICH CANNOT OR WILL NOT BE CORRECTED
+BY ORACLE. ORACLE MAKES NO REPRESENTATIONS OR WARRANTIES, EITHER
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT
+THAT THE CONTENTS OF THE SPECIFICATION ARE
+</p>
+<p>
+SUITABLE FOR ANY PURPOSE OR THAT ANY PRACTICE OR IMPLEMENTATION OF SUCH
+CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADE
+SECRETS OR OTHER RIGHTS. This document does not represent any
+commitment to release or implement any portion of the Specification in
+any product.
+</p>
+<p>
+THE SPECIFICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL
+ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION THEREIN;
+THESE CHANGES WILL BE INCORPORATED INTO NEW VERSIONS OF THE
+SPECIFICATION, IF ANY. ORACLE MAY MAKE IMPROVEMENTS AND/OR CHANGES TO
+THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THE SPECIFICATION AT
+ANY TIME. Any use of such changes in the Specification will be governed
+by the then-current license for the applicable version of the
+Specification.
+</p>
+<p>
+LIMITATION OF LIABILITY
+<br/>
+TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ORACLE OR ITS
+LICENSORS BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION, LOST
+REVENUE, PROFITS OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
+INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE
+THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO ANY FURNISHING,
+PRACTICING, MODIFYING OR ANY USE OF THE SPECIFICATION, EVEN IF ORACLE
+AND/OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+</p>
+<p>
+You will hold Oracle (and its licensors) harmless from any claims based
+on your use of the Specification for any purposes other than the
+limited right of evaluation as described above, and from any claims
+that later versions or releases of any Specification furnished to you
+are incompatible with the Specification provided to you under this
+license.
+</p>
+<p>
+RESTRICTED RIGHTS LEGEND
+<br/>
+If this Software is being acquired by or on behalf of the U.S.
+Government or by a U.S. Government prime contractor or subcontractor
+(at any tier), then the Government's rights in the Software and
+accompanying documentation shall be only as set forth in this license;
+this is in accordance with 48 C.F.R. 227.7201 through 227.7202-4 (for
+Department of Defense (DoD) acquisitions) and with 48 C.F.R. 2.101 and
+12.212 (for non-DoD acquisitions).
+</p>
+<p>
+REPORT
+<br/>
+You may wish to report any ambiguities, inconsistencies or inaccuracies
+you may find in connection with your evaluation of the Specification
+("Feedback"). To the extent that you provide Oracle with any Feedback,
+you hereby: (i) agree that such Feedback is provided on a
+non-proprietary and non-confidential basis, and (ii) grant Oracle a
+perpetual, non-exclusive, worldwide, fully paid-up, irrevocable
+license, with the right to sublicense through multiple levels of
+sublicensees, to incorporate, disclose, and use without limitation the
+Feedback for any purpose related to the Specification and future
+versions, implementations, and test suites thereof.
+</p>
+<p>
+GENERAL TERMS
+<br/>
+Any action related to this Agreement will be governed by California law
+and controlling U.S. federal law. The U.N. Convention for the
+International Sale of Goods and the choice of law rules of any
+jurisdiction will not apply.
+</p>
+<p>
+The Specification is subject to U.S. export control laws and may be
+subject to export or import regulations in other countries. Licensee
+agrees to comply strictly with all such laws and regulations and
+acknowledges that it has the responsibility to obtain such licenses to
+export, re-export or import as may be required after delivery to
+Licensee.
+</p>
+<p>
+This Agreement is the parties' entire agreement relating to its subject
+matter. It supersedes all prior or contemporaneous oral or written
+communications, proposals, conditions, representations and warranties
+and prevails over any conflicting or additional terms of any quote,
+order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of this Agreement. No
+modification to this Agreement will be binding, unless in writing and
+signed by an authorized representative of each party.
+</p>
+</body>
+</html>--- /dev/null
+++ b/IdentityApiGit/src/main/java/doc-files/speclicense.html
@@ -0,0 +1,217 @@
+<html>
+<head>
+<title>Specification License</title>
+</head>
+<body>
+Specification: JSR-351 Java Identity API ("Specification")
+<br/>
+Version: 1.0
+<br/>
+Status: 
+<br/>
+Specification Lead: Oracle America, Inc. ("Specification Lead")
+<br/>
+Release:
+<br/>
+
+<br/>
+Copyright &#169; 1997-2013 Oracle America, Inc.
+<br/>
+All rights reserved.
+<br/>
+<p>
+LIMITED LICENSE GRANTS
+<br/>
+1. License for Evaluation Purposes. Specification Lead hereby grants
+you a fully-paid, non-exclusive, non-transferable, worldwide, limited
+license (without the right to sublicense), under Specification Lead's
+applicable intellectual property rights to view, download, use and
+reproduce the Specification only for the purpose of internal
+evaluation.  This includes (i) developing applications intended to run
+on an implementation of the Specification, provided that such
+applications do not themselves implement any portion(s) of the
+Specification, and (ii) discussing the Specification with any third
+party; and (iii) excerpting brief portions of the Specification in oral
+or written communications which discuss the Specification provided that
+such excerpts do not in the aggregate constitute a significant portion
+of the Specification.
+</p>
+<p>
+2. License for the Distribution of Compliant Implementations.
+Specification Lead  also grants you a perpetual, non-exclusive,
+non-transferable, worldwide, fully paid-up, royalty free, limited
+license (without the right to sublicense) under any applicable
+copyrights or, subject to the provisions of subsection 4 below, patent
+rights it may have covering the Specification to create and/or
+distribute an Independent Implementation of the Specification that: (a)
+fully implements the Specification including all its required
+interfaces and functionality; (b) does not modify, subset, superset or
+otherwise extend the Licensor Name Space, or include any public or
+protected packages, classes, Java interfaces, fields or methods within
+the Licensor Name Space other than those required/authorized by the
+Specification or Specifications being implemented; and (c) passes the
+Technology Compatibility Kit (including satisfying the requirements of
+the applicable TCK Users Guide) for such Specification ("Compliant
+Implementation").  In addition, the foregoing license is expressly
+conditioned on your not acting outside its scope.  No license is
+granted hereunder for any other purpose (including, for example,
+modifying the Specification, other than to the extent of your fair use
+rights, or distributing the Specification to third parties).  Also, no
+right, title, or interest in or to any trademarks, service marks, or
+trade names of Specification Lead or Specification Lead's licensors is
+granted hereunder.  Java, and Java-related logos, marks and names are
+trademarks or registered trademarks of Oracle America, Inc. in the U.S.
+and other countries.
+</p>
+<p>
+3. Pass-through Conditions. You need not include limitations (a)-(c)
+from the previous paragraph or any other particular "pass through"
+requirements in any license You grant concerning the use of your
+Independent Implementation or products derived from it.  However,
+except with respect to Independent Implementations (and products
+derived from them) that satisfy limitations (a)-(c) from the previous
+paragraph, You may neither:  (a) grant or otherwise pass through to
+your licensees any licenses under Specification Lead's  applicable
+intellectual property rights; nor (b) authorize your licensees to make
+any claims concerning their implementation's compliance with the
+Specification in question.
+</p>
+<p>
+4. Reciprocity Concerning Patent Licenses.  
+<br/>
+a.  With respect to any patent claims covered by the license granted
+under subparagraph 2 above that would be infringed by all technically
+feasible implementations of the Specification, such license is
+conditioned upon your offering on fair, reasonable and
+non-discriminatory terms, to any party seeking it from You, a
+perpetual, non-exclusive, non-transferable, worldwide license under
+Your patent rights which are or would be infringed by all technically
+feasible implementations of the Specification to develop, distribute
+and use a Compliant Implementation.
+<br/>
+b.  With respect to any patent claims owned by Specification Lead and
+covered by the license granted under subparagraph 2, whether or not
+their infringement can be avoided in a technically feasible manner when
+implementing the Specification, such license shall terminate with
+respect to such claims if You initiate a claim against Specification
+Lead that it has, in the course of performing its responsibilities as
+the Specification Lead, induced any other entity to infringe Your
+patent rights.
+<br/>
+c.  Also with respect to any patent claims owned by Specification Lead
+and covered by the license granted under subparagraph 2 above, where
+the infringement of such claims can be avoided in a technically
+feasible manner when implementing the Specification such license, with
+respect to such claims, shall terminate if You initiate a claim against
+Specification Lead  that its making, having made, using, offering to
+sell, selling or importing a Compliant Implementation infringes Your
+patent rights.
+</p>
+<p>
+5. Definitions. For the purposes of this Agreement:  "Independent
+Implementation" shall mean an implementation of the Specification that
+neither derives from any of Specification Lead's  source code or binary
+code materials nor, except with an appropriate and separate license
+from Specification Lead, includes any of Specification Lead's  source
+code or binary code materials; "Licensor Name Space" shall mean the
+public class or interface declarations whose names begin with "java",
+"javax", "com.&lt;Specification Lead&gt;" or their equivalents in any
+subsequent naming convention adopted by Oracle through the Java
+Community Process, or any recognized successors or replacements
+thereof; and "Technology Compatibility Kit" or "TCK" shall mean the
+test suite and accompanying TCK User's Guide provided by Specification
+Lead  which corresponds to the Specification and that was available
+either (i) from Specification Lead's 120 days before the first release
+of Your Independent Implementation that allows its use for commercial
+purposes, or (ii) more recently than 120 days from such release but
+against which You elect to test Your implementation of the
+Specification.
+</p>
+<p>
+This Agreement will terminate immediately without notice from
+Specification Lead if you breach the Agreement or act outside the scope
+of the licenses granted above.
+</p>
+<p>
+DISCLAIMER OF WARRANTIES 
+<br/>
+THE SPECIFICATION IS PROVIDED "AS IS". SPECIFICATION LEAD MAKES NO
+REPRESENTATIONS OR WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT
+NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE, NON-INFRINGEMENT (INCLUDING AS A CONSEQUENCE OF ANY PRACTICE
+OR IMPLEMENTATION OF THE SPECIFICATION), OR THAT THE CONTENTS OF THE
+SPECIFICATION ARE SUITABLE FOR ANY PURPOSE.  This document does not
+represent any commitment to release or implement any portion of the
+Specification in any product. In addition, the Specification could
+include technical inaccuracies or typographical errors.
+</p>
+<p>
+LIMITATION OF LIABILITY
+<br/>
+TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SPECIFICATION
+LEAD OR ITS LICENSORS BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT
+LIMITATION, LOST REVENUE, PROFITS OR DATA, OR FOR SPECIAL, INDIRECT,
+CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND
+REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED IN ANY
+WAY TO YOUR HAVING, IMPELEMENTING OR OTHERWISE USING USING  THE
+SPECIFICATION, EVEN IF SPECIFICATION LEAD AND/OR ITS LICENSORS HAVE
+BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  You will indemnify,
+hold harmless, and defend Specification Lead and its licensors from any
+claims arising or resulting from: (i) your use of the Specification;
+(ii) the use or distribution of your Java application, applet and/or
+implementation; and/or (iii) any claims that later versions or releases
+of any Specification furnished to you are incompatible with the
+Specification provided to you under this license.
+</p>
+<p>
+RESTRICTED RIGHTS LEGEND 
+<br/>
+U.S. Government: If this Specification is being acquired by or on
+behalf of the U.S. Government or by a U.S. Government prime contractor
+or subcontractor (at any tier), then the Government's rights in the
+Software and accompanying documentation shall be only as set forth in
+this license; this is in accordance with 48 C.F.R. 227.7201 through
+227.7202-4 (for Department of Defense (DoD) acquisitions) and with 48
+C.F.R. 2.101 and 12.212 (for non-DoD acquisitions).
+</p>
+<p>
+REPORT
+<br/>
+If you provide Specification Lead with any comments or suggestions
+concerning the Specification ("Feedback"), you hereby: (i) agree that
+such Feedback is provided on a non-proprietary and non-confidential
+basis, and (ii) grant Specification Lead a perpetual, non-exclusive,
+worldwide, fully paid-up, irrevocable license, with the right to
+sublicense through multiple levels of sublicensees, to incorporate,
+disclose, and use without limitation the Feedback for any purpose.
+</p>
+<p>
+GENERAL TERMS
+<br/>
+Any action related to this Agreement will be governed by California law
+and controlling U.S. federal law. The U.N. Convention for the
+International Sale of Goods and the choice of law rules of any
+jurisdiction will not apply.
+</p>
+<p>
+The Specification is subject to U.S. export control laws and may be
+subject to export or import regulations in other countries. Licensee
+agrees to comply strictly with all such laws and regulations and
+acknowledges that it has the responsibility to obtain such licenses to
+export, re-export or import as may be required after delivery to
+Licensee.
+</p>
+<p>
+This Agreement is the parties' entire agreement relating to its subject
+matter. It supersedes all prior or contemporaneous oral or written
+communications, proposals, conditions, representations and warranties
+and prevails over any conflicting or additional terms of any quote,
+order,  acknowledgment, or other communication between the parties
+relating to its subject matter during the term of this Agreement. No
+modification to this Agreement will be binding, unless in writing and
+signed by an authorized representative of each party.
+</p>
+<br/>
+Rev. April, 2006
+</body>
+</html>--- /dev/null
+++ b/IdentityApiGit/src/main/resources/exclude-common.xml
@@ -0,0 +1,108 @@
+<!--
+
+    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+    Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights 
reserved.
+
+    The contents of this file are subject to the terms of either the GNU
+    General Public License Version 2 only ("GPL") or the Common Development
+    and Distribution License("CDDL") (collectively, the "License").  You
+    may not use this file except in compliance with the License.  You can
+    obtain a copy of the License at
+    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
+    or packager/legal/LICENSE.txt.  See the License for the specific
+    language governing permissions and limitations under the License.
+
+    When distributing the software, include this License Header Notice in 
each
+    file and include the License file at packager/legal/LICENSE.txt.
+
+    GPL Classpath Exception:
+    Oracle designates this particular file as subject to the "Classpath"
+    exception as provided by Oracle in the GPL Version 2 section of the 
License
+    file that accompanied this code.
+
+    Modifications:
+    If applicable, add the following below the License Header, with the 
fields
+    enclosed by brackets [] replaced by your own identifying information:
+    "Portions Copyright [year] [name of copyright owner]"
+
+    Contributor(s):
+    If you wish your version of this file to be governed by only the CDDL or
+    only the GPL Version 2, indicate your decision by adding "[Contributor]
+    elects to include this software in this distribution under the [CDDL or 
GPL
+    Version 2] license."  If you don't indicate a single choice of license, a
+    recipient has the option to distribute your version of this file under
+    either the CDDL, the GPL Version 2 or to extend the choice of license to
+    its licensees as provided above.  However, if you add GPL Version 2 code
+    and therefore, elected the GPL Version 2 license, then the option applies
+    only if the new code is made subject to such option by the copyright
+    holder.
+
+-->
+
+<FindBugsFilter>
+    <!--
+        Sure, these inner classes might be more efficient if they
+        were static, but the code would be harder to read too.
+    -->
+    <Match>
+       <Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON"/>
+    </Match>
+
+    <!--
+        We ignore Exception all over the place.  Mostly it's on purpose.
+    -->
+    <Match>
+       <Bug pattern="DE_MIGHT_IGNORE"/>
+    </Match>
+
+    <!--
+        And sometimes we catch Exception even though it's not throw,
+        just to be sure to catch any problems that might occur.
+    -->
+    <Match>
+       <Bug pattern="REC_CATCH_EXCEPTION"/>
+    </Match>
+
+    <!--
+        Arrays are passed in and out of internal APIs all over the place.
+        Mostly this is just fine.  Finding the few places where this might
+        be a real issue is a problem for another day.
+    -->
+    <Match>
+        <Or>
+            <Bug pattern="EI_EXPOSE_REP"/>
+            <Bug pattern="EI_EXPOSE_REP2"/>
+        </Or>
+    </Match>
+
+    <!--
+        Yes, zero length arrays are preferred, but this isn't worth fixing.
+    -->
+    <Match>
+       <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
+    </Match>
+
+    <!--
+        Lots of classes extend serializable classes but we never depend
+        on their serialized state, so we don't worry about this.
+    -->
+    <Match>
+       <Bug pattern="SE_NO_SERIALVERSIONID"/>
+    </Match>
+
+    <!--
+        Exclude all low priority bugs in the EJB CMP code,
+       which we really don't want to touch.
+    -->
+    <Match>
+       <Or>
+           <Priority value="2"/>
+           <Priority value="3"/>
+       </Or>
+       <Or>
+           <Class name="~com\.sun\.jdo\.spi\.persistence\..*"/>
+           <Class name="~com\.sun\.jdo\.api\.persistence\..*"/>
+       </Or>
+    </Match>
+</FindBugsFilter>

--- a/IdentityApiGit/pom.xml
+++ b/IdentityApiGit/pom.xml
@@ -1,13 +1,80 @@
-<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";>
+<?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 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
+    
     <modelVersion>4.0.0</modelVersion>
 
+    <parent>
+        <groupId>net.java</groupId>
+        <artifactId>jvnet-parent</artifactId>
+        <version>3</version>
+        <relativePath />
+    </parent>
+    
     <groupId>javax.security.identity</groupId>
-    <artifactId>jsr351-api</artifactId>
+    <artifactId>javax.security.identity-api</artifactId>
     <version>1.0-SNAPSHOT</version>
     <packaging>jar</packaging>
 
-    <name>JSR 351 API</name>
-    <url>http://java.net</url>
+    <properties>
+        <non.final>false</non.final>
+        <extension.name>javax.security.identity</extension.name>
+        <spec.version>1.0</spec.version>
+        <findbugs.version>2.4.0</findbugs.version>
+        <findbugs.skip>false</findbugs.skip>
+        <findbugs.exclude>exclude-common.xml</findbugs.exclude>
+        <findbugs.threshold>Low</findbugs.threshold>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <netbeans.hint.license>jsr-351-spec</netbeans.hint.license>
+    </properties>
+    
+    <name>Java Identity API ${spec.version}</name>
+    <description>JSR 351 API</description>
+    <url>http://jcp.org/en/jsr/detail?id=351</url>
+    
+    
+    <developers>
+        <developer>
+            <id>monzillo</id>
+            <name>Ronald Monzillo</name>
+            <organization>Oracle, Inc.</organization>
+            <roles>
+                <role>lead</role>
+            </roles>
+        </developer>
+    </developers>
+    
+    <organization>
+        <name>JSR 351 Community</name>
+        <url>https://identity-api-spec.java.net</url>
+    </organization>
+    
+    <!--licenses>
+        <license>
+            <name>CDDL + GPLv2 with classpath exception</name>
+            <url>https://glassfish.java.net/nonav/public/CDDL+GPL.html</url>
+            <distribution>repo</distribution>
+            <comments>A business-friendly OSS license</comments>
+        </license>
+    </licenses-->
+    
+    <issueManagement>
+        <system>jira</system>
+        <url>http://java.net/jira/browse/IDENTITY_API_SPEC</url>
+    </issueManagement>
+    
+    <mailingLists>
+        <mailingList>
+            <name>Identity API users</name>
+            <archive>users@...</archive>
+        </mailingList>
+    </mailingLists>
+    
     <distributionManagement>
         <!--repository>
           <uniqueVersion>false</uniqueVersion>
@@ -16,76 +83,231 @@
           <url>https://maven.java.net/content/repositories/releases/</url>
         </repository-->
         <snapshotRepository>
-          <uniqueVersion>false</uniqueVersion>
-          <id>maven.java.net</id>
-          <name>maven.java.net-jsr351-snapshots</name>
-          <url>https://maven.java.net/content/repositories/snapshots/</url>
+            <uniqueVersion>false</uniqueVersion>
+            <id>maven.java.net</id>
+            <name>maven.java.net-jsr351-snapshots</name>
+            <url>https://maven.java.net/content/repositories/snapshots/</url>
         </snapshotRepository>
     </distributionManagement>

     <scm>
-    
<connection>scm:git:ssh://${release.admin}@git.java.net/identity-api-spec~git</connection>
-    
<developerConnection>scm:git:ssh://${release.admin}@git.java.net/identity-api-spec~git</developerConnection>
-    <url>ssh://${release.admin}@git.java.net/identity-api-spec~git</url>
-      <tag>jsr351-api-1.0-SNAPSHOT</tag>
-  </scm>
+        <connection>scm:git:git://java.net/identity-api-spec~git</connection>
+        
<!--connection>scm:git:ssh://${user.name}@git.java.net/identity-api-spec~git</connection-->
+        
<developerConnection>scm:git:ssh://${user.name}@git.java.net/identity-api-spec~git</developerConnection>
+        
<url>http://java.net/projects/identity-api-spec/sources/git/show</url>
+        <!--url>ssh://${user.name}@git.java.net/identity-api-spec~git</url-->
+        <!-- tag>identity-api-spec-1.0-SNAPSHOT</tag -->
+    </scm>   
     <build>
+        <defaultGoal>install</defaultGoal>
+        <resources>
+            <resource>
+                <directory>src/main/java</directory>
+                <includes>
+                    <include>**/*.properties</include>
+                    <include>**/*.html</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>src/main/resources</directory>
+                <excludes>
+                    <exclude>META-INF/README</exclude>
+                    <exclude>${findbugs.exclude}</exclude>
+                </excludes>
+            </resource>
+        </resources>        
         <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-release-plugin</artifactId>
-            <version>2.3.2</version>
-          </plugin>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.8.1</version>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.2</version>
+                <version>2.5.1</version>
                 <configuration>
                     <source>1.6</source>
                     <target>1.6</target>
-                    <compilerArgument>-Xlint</compilerArgument>
+                    <compilerArgument>-Xlint:unchecked</compilerArgument>
                     <showDeprecation>true</showDeprecation>
-                    <showWarnings>true</showWarnings>
+                <showWarnings>true</showWarnings>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.glassfish.build</groupId>
+                <artifactId>spec-version-maven-plugin</artifactId>
+                <version>1.2</version>
+                <configuration>
+                    <spec>
+                        <nonFinal>${non.final}</nonFinal>
+                        <jarType>api</jarType>
+                        <specVersion>${spec.version}</specVersion>
+                        <specImplVersion>${project.version}</specImplVersion>
+                        <apiPackage>${extension.name}</apiPackage>
+                    </spec>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>set-spec-properties</goal>
+                            <goal>check-module</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.3</version>
+                <configuration>
+                    <supportedProjectTypes>
+                        <supportedProjectType>jar</supportedProjectType>
+                    </supportedProjectTypes>
+                    <instructions>
+                        
<Bundle-Version>${spec.bundle.version}</Bundle-Version>
+                        
<Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
+                        
<Extension-Name>${spec.extension.name}</Extension-Name>
+                        
<Implementation-Version>${spec.implementation.version}</Implementation-Version>
+                        
<Specification-Version>${spec.specification.version}</Specification-Version>  
                      
+                        <Bundle-Description>
+                            Identity API ${spec.version} Design Specification
+                        </Bundle-Description>
+                        <Specification-Vendor>Oracle 
Corporation</Specification-Vendor>
+                        
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
+                        
<Implementation-Vendor-Id>org.glassfish</Implementation-Vendor-Id>
+                        <_include>-${basedir}/osgi.bundle</_include>
+                    </instructions>
                 </configuration>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-source-plugin</artifactId>
-                <version>2.1.2</version>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.4</version>
+                <configuration>
+                   <useDefaultManifestFile>true</useDefaultManifestFile>
+                    <excludes>
+                        <exclude>**/*.java</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <version>1.2.1</version>
                 <executions>
                   <execution>
-                    <id>attach-sources</id>
-                    <phase>verify</phase>
                     <goals>
-                      <goal>jar-no-fork</goal>
+                      <goal>process</goal>
                     </goals>
-                 </execution>
-               </executions>
+                    <configuration>
+                      <resourceBundles>
+                        
<resourceBundle>org.glassfish:legal:1.1</resourceBundle>
+                      </resourceBundles>
+                    </configuration>
+                  </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>2.1</version>
+                <configuration>
+                    <includePom>true</includePom>
+                </configuration>
+                <executions>
+                    <execution>
+                       <id>attach-sources</id>
+                       <goals>
+                           <goal>jar-no-fork</goal> 
+                       </goals>
+                    </execution>
+                </executions>
             </plugin>
-        </plugins>
-    </build>
-    <reporting>
-        <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <version>2.8.1</version>
                 <configuration>
-                    <overview>${basedir}/overview.html</overview>
+                    <groups>
+                        <group>
+                            <title>Identity API Documentation</title>
+                            <packages>
+                                javax.security.identity
+                                javax.security.identity.annotations
+                                javax.security.identity.auth
+                                javax.security.identity.client
+                                javax.security.identity.client.expression
+                                javax.security.identity.client.qualifiers
+                                javax.security.identity.provider
+                            </packages>
+                        </group>
+                    </groups>
+                    <bottom>
+<![CDATA[Copyright &#169; 1997-2013,
+    <a href="http://www.oracle.com";>Oracle</a>
+    and/or its affiliates. All Rights Reserved.
+    Use is subject to
+    <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license 
terms</a>.
+    <br>Comments to : users@...
+]]>
+                    </bottom>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>attach-javadocs</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                     </execution>
+                </executions>
+            </plugin>     
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>${findbugs.version}</version>
+                <configuration>
+                    <threshold>${findbugs.threshold}</threshold>
+                    
<excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
+                    <findbugsXmlOutput>true</findbugsXmlOutput>
+                    <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <mavenExecutorId>forked-path</mavenExecutorId>
+                    <useReleaseProfile>false</useReleaseProfile>
+                    <arguments>${release.arguments}</arguments>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <version>3.1</version>
+                <configuration>
+                    <reporting>
+                        <plugins>
+                            <plugin>
+                                <groupId>org.codehaus.mojo</groupId>
+                                
<artifactId>findbugs-maven-plugin</artifactId>
+                                <version>${findbugs.version}</version>
+                                <configuration>
+                                    
<threshold>${findbugs.threshold}</threshold>
+                                    
<excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
+                                </configuration>
+                            </plugin>
+                        </plugins>                        
+                    </reporting>
                 </configuration>
             </plugin>
         </plugins>
-    </reporting>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <netbeans.hint.license>jsr-351-spec</netbeans.hint.license>
-    </properties>
-
+    </build>
+    
     <dependencies>
         <dependency>
             
@@ -97,7 +319,7 @@
            
            
            
-        -->
+            -->
             
             <groupId>javax.enterprise</groupId>
             <artifactId>cdi-api</artifactId>
@@ -105,4 +327,18 @@
             <type>jar</type>
         </dependency>
     </dependencies>
+    
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.8.1</version>
+                <configuration>
+                    <overview>${basedir}/overview.html</overview>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
+
 </project>





[identity-api-spec commits] [identity-api-spec~git:8aac9484] revised artifact naming to conform to the naming model defined by glassfi

monzillo 07/10/2013
 
 
Close
loading
Please Confirm
Close