Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Add deprecation information to Plexus components #108

Merged
merged 1 commit into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
* Marks a class as a Plexus component.
*
* @since 1.0-alpha-33
* @deprecated see <a href="https://github.com/eclipse/sisu.plexus/wiki/Plexus-to-JSR330">Plexus-to-JSR330</a> instead.
*/
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Inherited
@Deprecated
public @interface Component
{
Class<?> role();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
/**
* Marks a field as a configuration element with a default value.
*
* @deprecated see <a href="https://github.com/eclipse/sisu.plexus/wiki/Plexus-to-JSR330">Plexus-to-JSR330</a> instead.
* @since 1.0-alpha-33
*/
@Documented
@Retention(RUNTIME)
@Target(FIELD)
@Inherited
@Deprecated
public @interface Configuration
{
String name() default "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@
/**
* Configures a requirement.
*
* @deprecated see <a href="https://github.com/eclipse/sisu.plexus/wiki/Plexus-to-JSR330">Plexus-to-JSR330</a> instead.
* @since 1.0-alpha-33
*/
@Documented
@Retention(RUNTIME)
@Target({ FIELD, METHOD })
@Inherited
@Deprecated
public @interface Requirement
{
Class<?> role() default Object.class;
Expand Down