You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Gainty (JIRA)" <ji...@codehaus.org> on 2013/09/20 20:34:52 UTC
[jira] (MNG-5520) RuntimePolicy is incorrect for
org.apache.maven.plugins.annotations.Parameter
Martin Gainty created MNG-5520:
----------------------------------
Summary: RuntimePolicy is incorrect for org.apache.maven.plugins.annotations.Parameter
Key: MNG-5520
URL: https://jira.codehaus.org/browse/MNG-5520
Project: Maven 2 & 3
Issue Type: Bug
Components: Plugin API
Affects Versions: 3.0.4
Environment: JDK 1.7
MAVN 3.0.5
Reporter: Martin Gainty
Priority: Minor
Attachments: RobertPatrickAnnotationsTest.zip
looks like we need to hire you to check our code..(provided you work for free)
package org.apache.maven.plugins.annotations;
import java.lang.annotation.RetentionPolicy;
@Documented
@Retention( RetentionPolicy.CLASS )
@Target( { ElementType.FIELD } )
@Inherited
public @interface Parameter
RetentionPolicy parameters:
CLASS
Annotations are to be recorded in the class file by the compiler but need NOT be retained by the VM at run time.
RUNTIME
Annotations are to be recorded in the class file by the compiler and RETAINED by the VM at run time, so they may be read reflectively.
SOURCE
Annotations are to be discarded by the compiler.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira