avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1562204 - in /avro/trunk: CHANGES.txt doc/src/content/xdocs/mr.xml
Date Tue, 28 Jan 2014 20:02:23 GMT
Author: cutting
Date: Tue Jan 28 20:02:23 2014
New Revision: 1562204

URL: http://svn.apache.org/r1562204
Log:
AVRO-1441. Java: Improve documentation for Maven configuration.  Contributed by Jesse Anderson.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/doc/src/content/xdocs/mr.xml

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1562204&r1=1562203&r2=1562204&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Tue Jan 28 20:02:23 2014
@@ -8,6 +8,9 @@ Trunk (not yet released)
 
   IMPROVEMENTS
 
+    AVRO-1441. Java: Improve documentation for Maven configuration.
+    (Jesse Anderson via cutting)
+
   BUG FIXES
 
     AVRO-1446. C#: Correctly handle system errors in RPC.

Modified: avro/trunk/doc/src/content/xdocs/mr.xml
URL: http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/mr.xml?rev=1562204&r1=1562203&r2=1562204&view=diff
==============================================================================
--- avro/trunk/doc/src/content/xdocs/mr.xml (original)
+++ avro/trunk/doc/src/content/xdocs/mr.xml Tue Jan 28 20:02:23 2014
@@ -84,13 +84,20 @@
       </goals>
       <configuration>
         <sourceDirectory>${project.basedir}/../</sourceDirectory>
-        <outputDirectory>${project.basedir}/src/main/java/</outputDirectory>
+        <outputDirectory>${project.basedir}/target/generated-sources/</outputDirectory>
       </configuration>
     </execution>
   </executions>
 </plugin>
       </source>
       <p>
+        If you do not configure the <em>sourceDirectory</em> and <em>outputDirectory</em>

+        properties, the defaults will be used. The <em>sourceDirectory</em> property

+        defaults to <em>src/main/avro</em>. The <em>outputDirectory</em>
property 
+        defaults to <em>target/generated-sources</em>. You can change the paths
to 
+        match your project layout.
+      </p>
+      <p>
         Alternatively, Avro jars can be downloaded directly from the <a
         href="http://avro.apache.org/releases.html">Apache Avro&#153;
         Releases</a> page.  The relevant Avro jars for this guide are



Mime
View raw message