Fix spec references in javadoc (#83)
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
diff --git a/api/pom.xml b/api/pom.xml
index 0b245e8..60e530a 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -337,6 +337,7 @@
<release>11</release>
<additionalOptions>--add-modules java.sql</additionalOptions>
<notimestamp>true</notimestamp>
+ <nosince>true</nosince>
<docfilessubdirs>true</docfilessubdirs>
<doctitle>Jakarta Annotations ${project.version} API Specification</doctitle>
<header><![CDATA[<br>Jakarta Annotations API v${project.version}]]></header>
diff --git a/api/src/main/java/jakarta/annotation/ManagedBean.java b/api/src/main/java/jakarta/annotation/ManagedBean.java
index 03e3f96..496ac9e 100644
--- a/api/src/main/java/jakarta/annotation/ManagedBean.java
+++ b/api/src/main/java/jakarta/annotation/ManagedBean.java
@@ -31,14 +31,14 @@
@Retention(RUNTIME)
public @interface ManagedBean {
/**
- * The name of the Managed Bean. Managed Bean names must be unique within a
- * Jakarta EE module. For each named Managed Bean, Java EE containers must make
+ * The name of the Jakarta Managed Bean. Jakarta Managed Bean names must be unique within a
+ * Jakarta EE module. For each named Jakarta Managed Bean, Jakarta EE containers must make
* available the following entries in JNDI, using the same naming scheme used
- * for EJB components.
+ * for Jakarta Enterprise Beans components.
* <p>
* In the application namespace: <p>
* java:app/<module-name>/<bean-name> <p>
- * In the module namespace of the module containing the Managed Bean:
+ * In the module namespace of the module containing the Jakarta Managed Bean:
* <p> java:module/<bean-name>
*
*/
diff --git a/api/src/main/java/jakarta/annotation/PostConstruct.java b/api/src/main/java/jakarta/annotation/PostConstruct.java
index a00c86b..29b156e 100644
--- a/api/src/main/java/jakarta/annotation/PostConstruct.java
+++ b/api/src/main/java/jakarta/annotation/PostConstruct.java
@@ -34,7 +34,7 @@
* <ul>
* <li>The method must not have any parameters except in the case of
* interceptors in which case it takes an <code>InvocationContext</code>
- * object as defined by the Interceptors specification.</li>
+ * object as defined by the Jakarta Interceptors specification.</li>
* <li>The method defined on an interceptor class or superclass of an
* interceptor class must have one of the following signatures:
* <p>
diff --git a/api/src/main/java/jakarta/annotation/PreDestroy.java b/api/src/main/java/jakarta/annotation/PreDestroy.java
index 3bfea8d..ea93380 100644
--- a/api/src/main/java/jakarta/annotation/PreDestroy.java
+++ b/api/src/main/java/jakarta/annotation/PreDestroy.java
@@ -33,7 +33,7 @@
* <ul>
* <li>The method must not have any parameters except in the case of
* interceptors in which case it takes an <code>InvocationContext</code>
- * object as defined by the Interceptors specification.</li>
+ * object as defined by the Jakarta Interceptors specification.</li>
* <li>The method defined on an interceptor class or superclass of an
* interceptor class must have one of the following signatures:
* <p>
diff --git a/api/src/main/java/jakarta/annotation/Priority.java b/api/src/main/java/jakarta/annotation/Priority.java
index e77cb0e..dfd7b1c 100644
--- a/api/src/main/java/jakarta/annotation/Priority.java
+++ b/api/src/main/java/jakarta/annotation/Priority.java
@@ -27,7 +27,7 @@
* any particular instance is defined by other specifications that
* define the use of a specific class.
* <p>
- * For example, the Interceptors specification defines the use of
+ * For example, the Jakarta Interceptors specification defines the use of
* priorities on interceptors to control the order in which
* interceptors are called.</p>
* <p>
diff --git a/api/src/main/java/jakarta/annotation/sql/DataSourceDefinition.java b/api/src/main/java/jakarta/annotation/sql/DataSourceDefinition.java
index 5cd4bfd..845e48c 100644
--- a/api/src/main/java/jakarta/annotation/sql/DataSourceDefinition.java
+++ b/api/src/main/java/jakarta/annotation/sql/DataSourceDefinition.java
@@ -126,7 +126,7 @@
* )
* </pre>
* <p>
- * An example lookup of the DataSource from an EJB:
+ * An example lookup of the DataSource from an Jakarta Enterprise Beans:
* <pre>
* @Stateless
* public class MyStatelessEJB {