logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1611975 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml
Date Sat, 19 Jul 2014 21:57:02 GMT
Author: mattsicker
Date: Sat Jul 19 21:57:02 2014
New Revision: 1611975

URL: http://svn.apache.org/r1611975
Log:
Update docs regarding maven-compiler-plugin and annotation processing.

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml?rev=1611975&r1=1611974&r2=1611975&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml Sat Jul 19 21:57:02 2014
@@ -44,10 +44,12 @@
             disable it. In that case, it would be important to add another compiler pass
to your build process that
             only handles annotation processing using the Log4j 2 annotation processor class,
             <code>org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor</code>.
To do this using
-            Apache Maven, add the following execution to your <i>maven-compiler-plugin</i>
build plugin:
+            Apache Maven, add the following execution to your <i>maven-compiler-plugin</i>
(version 2.2 or higher)
+            build plugin:
           </p>
           <pre class="prettyprint linenums"><![CDATA[
 <plugin>
+  <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-compiler-plugin</artifactId>
   <version>3.1</version>
   <executions>
@@ -58,7 +60,7 @@
       </goals>
       <phase>process-classes</phase>
       <configuration>
-        <process>only</process>
+        <proc>only</proc>
         <annotationProcessors>
           <annotationProcessor>org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor</annotationProcessor>
         </annotationProcessors>



Mime
View raw message