Author: rfscholte
Date: Sun Jan 15 13:21:08 2017
New Revision: 1778915

URL: http://svn.apache.org/viewvc?rev=1778915&view=rev
Log:
[MPLUGIN-321] improve documentation on maven-plugin-annotations telling that 
optional=true is sufficient

Modified:
    
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm

Modified: 
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm?rev=1778915&r1=1778914&r2=1778915&view=diff
==============================================================================
--- 
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm
 (original)
+++ 
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm
 Sun Jan 15 13:21:08 2017
@@ -94,7 +94,7 @@ Using Plugin Tools Java5 Annotations
       <groupId>org.apache.maven.plugin-tools</groupId>
       <artifactId>maven-plugin-annotations</artifactId>
       <version>${project.version}</version>
-      <scope>provided</scope><!-- annotations are needed only to build the 
plugin -->
+      <optional>true</optional> <!-- annotations are not used at runtime 
because @Retention(value=CLASS), they are needed only to build the plugin -->
     </dependency>
   </dependencies>
   ...


Reply via email to