All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ndx.aadarchi.maven.cdi.helper.wrappers.MojoProduces Maven / Gradle / Ivy

package org.ndx.aadarchi.maven.cdi.helper.wrappers;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * A special CDI producer annotation that must be used if you want to declare fields or methods of the Mojo as
 * producers.
* Note that it is not possible to use {@code @jakarta.enterprise.inject.Produces} as the producer annotation in * your Mojo since this would activate Maven's own pseudo CDI implementation. All other beans that are created by CDI * are then able to use {@code @Produces} as usual. * * @author Stanley Hillner * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.METHOD, ElementType.FIELD }) public @interface MojoProduces { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy