jvanzyl 2002/07/11 09:05:30
Modified: src/bin driver.jelly
Log:
o Start of the movement of the project verifier to jelly.
Revision Changes Path
1.15 +70 -34 jakarta-turbine-maven/src/bin/driver.jelly
Index: driver.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/bin/driver.jelly,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- driver.jelly 11 Jul 2002 13:37:11 -0000 1.14
+++ driver.jelly 11 Jul 2002 16:05:30 -0000 1.15
@@ -4,39 +4,6 @@
xmlns:m="maven"
xmlns:f="foo">
- <j:set var="sourcesPresent" value="false"/>
- <j:set var="dir__" value="${pom.build.sourceDirectory}X"/>
- <j:if test="${dir__ != 'X'}">
- <available
- property="sourcesPresent"
- file="${pom.build.sourceDirectory}"
- />
- </j:if>
-
- <j:set var="unitTestSourcesPresent" value="false"/>
- <j:set var="dir__" value="${pom.build.unitTestSourceDirectory}X"/>
- <j:if test="${dir__ != 'X'}">
- <available
- property="unitTestSourcesPresent"
- file="${pom.build.unitTestSourceDirectory}"
- />
- </j:if>
-
- <path id="maven.dependency.classpath">
- <j:forEach var="dep" items="${pom.dependencies}">
- <pathelement location="${maven.repo.local}/${dep.id}/jars/${dep.jar}"/>
- </j:forEach>
- </path>
-
- <path id="maven-classpath">
- <fileset dir="${maven.home}/lib"/>
- </path>
-
- <property
- name="maven-dependency-classpath"
- refid="maven.dependency.classpath"
- />
-
<!-- ================================================================== -->
<!-- M A V E N T A G L I B R A R Y -->
<!-- ================================================================== -->
@@ -118,8 +85,77 @@
</j:otherwise>
</j:choose>
</define:tag>
-
+
+ <!--
+
+ This could now be made configurable if desired. We
+ could allow the specification of a class to load as
+ the verifier or whatever we come to name it. This
+ should make mvdb happy, you whiner ;-)
+
+ -->
+
+ <define:jellybean
+ name="verify-project"
+ className="org.apache.maven.ProjectVerifier"
+ method="doExecute"
+ />
+
</define:taglib>
+
+ <!-- ================================================================== -->
+ <!-- D R I V E R I N I T I A L I Z A T I O N -->
+ <!-- ================================================================== -->
+ <!-- All things we want to provide to all plugins, or processes we -->
+ <!-- performed before every build are declared/defined here. -->
+ <!-- ================================================================== -->
+
+ <j:set var="sourcesPresent" value="false"/>
+ <j:set var="dir__" value="${pom.build.sourceDirectory}X"/>
+ <j:if test="${dir__ != 'X'}">
+ <available
+ property="sourcesPresent"
+ file="${pom.build.sourceDirectory}"
+ />
+ </j:if>
+
+ <j:set var="unitTestSourcesPresent" value="false"/>
+ <j:set var="dir__" value="${pom.build.unitTestSourceDirectory}X"/>
+ <j:if test="${dir__ != 'X'}">
+ <available
+ property="unitTestSourcesPresent"
+ file="${pom.build.unitTestSourceDirectory}"
+ />
+ </j:if>
+
+ <path id="maven.dependency.classpath">
+ <j:forEach var="dep" items="${pom.dependencies}">
+ <pathelement location="${maven.repo.local}/${dep.id}/jars/${dep.jar}"/>
+ </j:forEach>
+ </path>
+
+ <path id="maven-classpath">
+ <fileset dir="${maven.home}/lib"/>
+ </path>
+
+ <property
+ name="maven-dependency-classpath"
+ refid="maven.dependency.classpath"
+ />
+
+ <!--
+
+ Need to break the ant dependency and then we'll be cool.
+ <m:verifyProject
+ mavenRemoteRepo=""
+ mavenLocalRepo=""
+ mavenProject=""
+ proxyHost=""
+ proxyPort=""
+ />
+
+ -->
+
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>