avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1097968 - in /avro/trunk: ./ lang/java/maven-plugin/ lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/
Date Fri, 29 Apr 2011 22:09:04 GMT
Author: cutting
Date: Fri Apr 29 22:09:03 2011
New Revision: 1097968

URL: http://svn.apache.org/viewvc?rev=1097968&view=rev
Log:
AVRO-812. Java: Implement help goal for Maven plugin.  Contributed by Holger Hoffstätte.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/java/maven-plugin/pom.xml
    avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
    avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/ProtocolMojo.java
    avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/SchemaMojo.java

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1097968&r1=1097967&r2=1097968&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Fri Apr 29 22:09:03 2011
@@ -65,6 +65,9 @@ Avro 1.5.1 (unreleased)
     AVRO-791. Java: Add avro-tools-nodeps jar.  Also change 'mvn
     install' to not GPG sign things by default.  (scottcarey via cutting)
 
+    AVRO-812. Java: Implement help goal for Maven plugin.
+    (Holger Hoffstätte via cutting)
+
   BUG FIXES
 
     AVRO-786. Java: Fix equals() to work on objects containing maps. (cutting)

Modified: avro/trunk/lang/java/maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/maven-plugin/pom.xml?rev=1097968&r1=1097967&r2=1097968&view=diff
==============================================================================
--- avro/trunk/lang/java/maven-plugin/pom.xml (original)
+++ avro/trunk/lang/java/maven-plugin/pom.xml Fri Apr 29 22:09:03 2011
@@ -27,7 +27,7 @@
   </parent>
   <artifactId>avro-maven-plugin</artifactId>
   <name>Apache Avro Maven Plugin</name>
-  <description>Maven plulgin for Avro IDL and Specific API Compilers</description>
+  <description>Maven plugin for Avro IDL and Specific API Compilers</description>
   <packaging>maven-plugin</packaging>
   
   <properties>
@@ -39,6 +39,21 @@
   </prerequisites>
 
   <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-plugin-plugin</artifactId>
+        <version>2.7</version>
+        <executions>
+          <execution>
+            <id>generated-helpmojo</id>
+            <goals>
+              <goal>helpmojo</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
 
   <dependencies>

Modified: avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java?rev=1097968&r1=1097967&r2=1097968&view=diff
==============================================================================
--- avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
(original)
+++ avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
Fri Apr 29 22:09:03 2011
@@ -27,7 +27,7 @@ import org.apache.avro.compiler.idl.Pars
 import org.apache.avro.compiler.specific.SpecificCompiler;
 
 /**
- * Compile an Avro schema file.
+ * Generate Java classes and interfaces from AvroIDL files (.avdl)
  * 
  * @goal idl-protocol
  * @phase generate-sources

Modified: avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/ProtocolMojo.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/ProtocolMojo.java?rev=1097968&r1=1097967&r2=1097968&view=diff
==============================================================================
--- avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/ProtocolMojo.java
(original)
+++ avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/ProtocolMojo.java
Fri Apr 29 22:09:03 2011
@@ -24,7 +24,7 @@ import java.io.IOException;
 import org.apache.avro.compiler.specific.SpecificCompiler;
 
 /**
- * Compile an Avro protocol schema file.
+ * Generate Java classes and interfaces from Avro protocol files (.avpr)
  * 
  * @goal protocol
  * @phase generate-sources

Modified: avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/SchemaMojo.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/SchemaMojo.java?rev=1097968&r1=1097967&r2=1097968&view=diff
==============================================================================
--- avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/SchemaMojo.java (original)
+++ avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/SchemaMojo.java Fri
Apr 29 22:09:03 2011
@@ -24,7 +24,7 @@ import java.io.IOException;
 import org.apache.avro.compiler.specific.SpecificCompiler;
 
 /**
- * Compile an Avro schema file.
+ * Generate Java classes from Avro schema files (.avsc)
  * 
  * @goal schema
  * @phase generate-sources



Mime
View raw message