You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/06/16 10:43:58 UTC
[tomcat] branch main updated: Update to Jakarta Common Annotations 2.1.1
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new aa80348b8b Update to Jakarta Common Annotations 2.1.1
aa80348b8b is described below
commit aa80348b8baf6efc0d3258b15da523b2458d52c6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 16 11:43:50 2022 +0100
Update to Jakarta Common Annotations 2.1.1
---
build.xml | 2 +-
java/jakarta/annotation/ManagedBean.java | 4 ++++
webapps/docs/changelog.xml | 5 +++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index b6eb51a348..86684d3a73 100644
--- a/build.xml
+++ b/build.xml
@@ -68,7 +68,7 @@
<property name="jaspic.spec.version" value="3.0" />
<property name="jaspic.revision" value="" />
<property name="annotation.spec.version" value="2.1" />
- <property name="annotation.revision" value="" />
+ <property name="annotation.revision" value=".1" />
<!-- Release artifact base names -->
<property name="final.name" value="${project}-${version}" />
diff --git a/java/jakarta/annotation/ManagedBean.java b/java/jakarta/annotation/ManagedBean.java
index d7827812fc..ded1f047d4 100644
--- a/java/jakarta/annotation/ManagedBean.java
+++ b/java/jakarta/annotation/ManagedBean.java
@@ -23,9 +23,13 @@ import java.lang.annotation.Target;
/**
* @since Common Annotations 1.1
+ *
+ * @deprecated This will be removed no earlier than Jakarta EE 11. Use CDI beans
+ * instead.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
+@Deprecated(since = "2.1.1", forRemoval = true)
public @interface ManagedBean {
/**
* @return Name of the managed bean
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 059e3a9d77..2c609b519e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -112,6 +112,11 @@
files from the logging directory before the directory has been created.
Based on <pr>521</pr> by HanLi. (markt)
</fix>
+ <update>
+ Update the Jakarta Common Annotations API to 2.1.1. This deprecates the
+ <code>ManagedBean</code> annotation which will be removed in a future
+ release. (markt)
+ </update>
</changelog>
</subsection>
<subsection name="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org