dion 2002/06/10 19:20:29
Modified: src/java/org/apache/maven Build.java
Log:
Start replacement of verify-project targets
Revision Changes Path
1.5 +22 -1 jakarta-turbine-maven/src/java/org/apache/maven/Build.java
Index: Build.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/Build.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Build.java 10 Jun 2002 16:56:06 -0000 1.4
+++ Build.java 11 Jun 2002 02:20:29 -0000 1.5
@@ -161,9 +161,30 @@
/**
* Run the build as currently configured
+ *
*/
public void run()
{
+ // verify project is ok first
+ verifyProject();
+ // resolve action to run
+ // execute action(s)
+ }
+
+ /**
+ * <p>Verify the project as done in init:
+ * <ol>
+ * <li>Update the pom if needed.</li>
+ * <li>...</li>
+ * </ol>
+ * </p>
+ */
+ private void verifyProject()
+ {
+ if (!project.isPomCurrent())
+ {
+
+ }
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>