Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Commit a8f384c

Browse files
Adding automatic module name and removing java.net references (#1)
1 parent 91defd4 commit a8f384c

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Java(TM) Common Annotations
2+
3+
The intention of Java(TM) Common Annotations is to develop annotations for common semantic
4+
concepts in the Java SE and Java EE platforms that apply across a variety of individual
5+
technologies. It was envisioned that various JSRs would use annotations to enable a declarative
6+
style of programming. It would be especially valuable to have consistency within the Java EE
7+
component JSRs, but it is also valuable to allow consistency between Java EE and Java SE.
8+
9+
This standalone release of Java(TM) Common Annotations uses a
10+
[Java Platform Module System](http://openjdk.java.net/projects/jigsaw/spec/)
11+
"automatic" module name of `java.annotation`, to match the module name
12+
used in JDK 9. A future version will include full module metadata.

pom.xml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
44
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
55
6-
Copyright (c) 2012-2016 Oracle and/or its affiliates. All rights reserved.
6+
Copyright (c) 2012-2017 Oracle and/or its affiliates. All rights reserved.
77
88
The contents of this file are subject to the terms of either the GNU
99
General Public License Version 2 only ("GPL") or the Common Development
1010
and Distribution License("CDDL") (collectively, the "License"). You
1111
may not use this file except in compliance with the License. You can
1212
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
13+
https://oss.oracle.com/licenses/CDDL+GPL-1.1
14+
or LICENSE.txt. See the License for the specific
1515
language governing permissions and limitations under the License.
1616
1717
When distributing the software, include this License Header Notice in each
18-
file and include the License file at packager/legal/LICENSE.txt.
18+
file and include the License file at LICENSE.txt.
1919
2020
GPL Classpath Exception:
2121
Oracle designates this particular file as subject to the "Classpath"
@@ -51,7 +51,7 @@
5151

5252
<groupId>javax.annotation</groupId>
5353
<artifactId>javax.annotation-api</artifactId>
54-
<version>1.4-SNAPSHOT</version>
54+
<version>1.3.1-SNAPSHOT</version>
5555

5656
<properties>
5757
<non.final>false</non.final>
@@ -70,10 +70,10 @@
7070
<url>http://jcp.org/en/jsr/detail?id=250</url>
7171

7272
<developers>
73-
<developer>
74-
<id>mode</id>
75-
<name>Rajiv Mordani</name>
76-
<organization>Oracle, Inc.</organization>
73+
<developer>
74+
<id>ldemichiel</id>
75+
<name>Linda De Michiel</name>
76+
<organization>Oracle Corp.</organization>
7777
<roles>
7878
<role>lead</role>
7979
</roles>
@@ -82,30 +82,30 @@
8282

8383
<organization>
8484
<name>GlassFish Community</name>
85-
<url>https://glassfish.java.net</url>
85+
<url>https://javaee.github.io/glassfish</url>
8686
</organization>
8787
<licenses>
8888
<license>
8989
<name>CDDL + GPLv2 with classpath exception</name>
90-
<url>https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</url>
90+
<url>https://github.com/javaee/javax.annotation/blob/master/LICENSE</url>
9191
<distribution>repo</distribution>
9292
<comments>A business-friendly OSS license</comments>
9393
</license>
9494
</licenses>
9595
<issueManagement>
96-
<system>jira</system>
97-
<url>http://java.net/jira/browse/GLASSFISH</url>
96+
<system>GitHub</system>
97+
<url>https://github.com/javaee/javax.annotation/issues</url>
9898
</issueManagement>
9999
<mailingLists>
100100
<mailingList>
101101
<name>GlassFish Developer</name>
102-
<archive>users@https://glassfish.java.net</archive>
102+
<archive>javaee-spec@javaee.groups.io</archive>
103103
</mailingList>
104104
</mailingLists>
105105
<scm>
106-
<connection>scm:svn:https://svn.java.net/svn/glassfish~svn/trunk/api/javaee-api/javax.annotation</connection>
107-
<developerConnection>scm:svn:https://svn.java.net/svn/glassfish~svn/trunk/api/javaee-api/javax.annotation</developerConnection>
108-
<url>http://java.net/projects/glassfish/sources/svn/show/trunk/api/javaee-api/javax.annotation</url>
106+
<connection>scm:git:https://github.com/javaee/javax.annotation.git</connection>
107+
<developerConnection>scm:git:git@github.com:javaee/javax.annotation.git</developerConnection>
108+
<url>https://github.com/javaee/javax.annotation</url>
109109
</scm>
110110

111111
<build>
@@ -197,6 +197,12 @@
197197
<configuration>
198198
<archive>
199199
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
200+
<manifestEntries>
201+
<!-- for JDK 9 -->
202+
<Automatic-Module-Name>
203+
java.annotation
204+
</Automatic-Module-Name>
205+
</manifestEntries>
200206
</archive>
201207
<excludes>
202208
<exclude>**/*.java</exclude>
@@ -254,7 +260,7 @@
254260
</group>
255261
</groups>
256262
<bottom>
257-
<![CDATA[Copyright &#169; 1999-2013,
263+
<![CDATA[Copyright &#169; 1999-2017,
258264
<a href="http://www.oracle.com">Oracle</a>
259265
and/or its affiliates. All Rights Reserved.
260266
Use is subject to

0 commit comments

Comments
 (0)