logo       

[PATCH] Maven2 Plugin: msg#00068

jakarta.turbine.torque.devel

Subject: [PATCH] Maven2 Plugin

below is a small patch to the OM mojo in torque. I haven't committed in a while on the project, and am not *that* familiar with the plugins for maven2, but there seems to be a typo which prevents the om goal to integrate with the maven2 lifecycle. All the other goals seem fine. This does work here when I rebuild the plugin using these settings.

Could someone review and try it?

----

Index: src/main/java/org/apache/torque/mojo/OMMojo.java
===================================================================
--- src/main/java/org/apache/torque/mojo/OMMojo.java (revision 488127)
+++ src/main/java/org/apache/torque/mojo/OMMojo.java (working copy)
@@ -32,8 +32,8 @@
* @author <a href="fischer@xxxxxxxxxxxx">Thomas Fischer</a>
*
* @goal om
- * @execute phase="generate-sources"
- * @requiresDependencyResolution compile
+ * @phase generate-sources
+ * @requires DependencyResolution compile
*/
public class OMMojo
extends DataModelTaskMojo

--
=====================================================================
Jeffrey D. Brekke jbrekke@xxxxxxxxx
Wisconsin, USA brekke@xxxxxxxxxx
ekkerbj@xxxxxxxxx
http://www.bloglines.com/blog/jbrekke ekkerbj@xxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise