Martin Gainty created MNG-5519:
----------------------------------

             Summary: org.apache.maven.plugins.annotations.Parameter has 
incorrect RetentionPolicy
                 Key: MNG-5519
                 URL: https://jira.codehaus.org/browse/MNG-5519
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Plugin API
    Affects Versions: 3.0.5
         Environment: JDK 1.7
MAVEN 3.0.5
            Reporter: Martin Gainty


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

Reply via email to