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 54e7873052 Align jakarta.annotations package with 3.0 specification
54e7873052 is described below

commit 54e7873052d5b73146853fa626f75623534c36e8
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri May 24 14:32:29 2024 +0100

    Align jakarta.annotations package with 3.0 specification
---
 build.xml                                |  2 +-
 java/jakarta/annotation/ManagedBean.java | 39 --------------------------------
 2 files changed, 1 insertion(+), 40 deletions(-)

diff --git a/build.xml b/build.xml
index ecc7ee4767..277c0873c8 100644
--- a/build.xml
+++ b/build.xml
@@ -68,7 +68,7 @@
   <property name="jaspic.spec.version"     value="3.1" />
   <property name="jaspic.revision"         value="-SNAPSHOT" />
   <property name="annotation.spec.version" value="3.0" />
-  <property name="annotation.revision"     value="-SNAPSHOT" />
+  <property name="annotation.revision"     value="" />
 
   <!-- 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
deleted file mode 100644
index 7a839d802d..0000000000
--- a/java/jakarta/annotation/ManagedBean.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package jakarta.annotation;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Identifies a POJO as a managed bean.
- *
- * @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
-     */
-    String value() default "";
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to