brett 2003/12/30 17:16:33
Modified: src/test/touchstone-build Tag: MAVEN-1_0-BRANCH maven.xml
Log:
add extra tests, annotate tests to be moved/fixed/removed
Revision Changes Path
No revision
No revision
1.43.4.4 +56 -3 maven/src/test/touchstone-build/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven/src/test/touchstone-build/maven.xml,v
retrieving revision 1.43.4.3
retrieving revision 1.43.4.4
diff -u -r1.43.4.3 -r1.43.4.4
--- maven.xml 10 Dec 2003 23:07:43 -0000 1.43.4.3
+++ maven.xml 31 Dec 2003 01:16:33 -0000 1.43.4.4
@@ -3,10 +3,10 @@
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
xmlns:u="jelly:util"
- xmlns:i="jelly:interaction"
xmlns:maven="jelly:maven"
xmlns:define="jelly:define"
xmlns:sea="sea"
+ xmlns:i="jelly:interaction"
xmlns:deploy="deploy">
<!--
@@ -43,7 +43,6 @@
| displayed problems can be moved into the 'touchstone-tests' goal to
| make sure they don't crop up again.
|
- | TODO - uncalled goals should be added or documented as broken, including goals
not called here
-->
<!--
@@ -190,6 +189,18 @@
<attainGoal name="test-preGoal-counter" />
<attainGoal name="test-postGoal-counter" />
+
+ <attainGoal name="test-reactor-resources" />
+ <attainGoal name="test-reactor-run-twice" />
+ <attainGoal name="test-plugin-attainment-reactor" />
+
+<!-- TODO [RC2] - this is the cause of the current site problems
+ <attainGoal name="test-context-switch" />
+-->
+
+<!-- TODO - this is still broken
+ <attainGoal name="test-reactor-maven-username" />
+-->
</goal>
<!--
@@ -406,6 +417,7 @@
<!--
|
| maven.username from within reactor test.
+ | @todo fix - doesn't work from test:test postGoal in root directory
|
-->
<goal name="test-reactor-maven-username">
@@ -428,6 +440,7 @@
<!--
|
| <deploy:copy-deps/> test.
+ | @todo deploy plugin-test
|
-->
<goal name="test-deploy-copy-deps">
@@ -438,6 +451,7 @@
<!--
|
| <sea:create/> test.
+ | @todo sea plugin-test
|
-->
<goal name="test-sea">
@@ -456,6 +470,7 @@
<!--
|
| <maven:concat/> test.
+ | @todo use or remove
|
-->
<goal name="test-concat">
@@ -521,8 +536,8 @@
<!--
| Test to see if Jelly interaction taglib is loaded into the
| classpath when the maven.xml file is executed.
+ | @todo automate? remove?
|-->
-
<goal name="interaction-test">
<echo>
Before the interaction tag
@@ -561,6 +576,7 @@
<!--
| This preGoal test does NOT work at the moment. This is just a
| reminder for me to get it working.
+ | @todo use or remove
|-->
<preGoal name="test">
@@ -572,6 +588,7 @@
<!--
| property wrongly treated as == null
| This test will fail until jexl(?) is fixed.
+ | @todo use or remove
|-->
<goal name="test-dot-property">
<property name="dot.property" value="true" />
@@ -700,6 +717,42 @@
<goal name="counter-post">
<echo>counter-post</echo>
+ </goal>
+
+ <goal name="test-context-switch">
+ <attainGoal name="touchstone-partner:test-context-switch" />
+ </goal>
+
+ <goal name="test-plugin-attainment-reactor">
+ <ant:echo>Testing goal attainment in a plugin via the reactor</ant:echo>
+ <maven:reactor
+ basedir="${basedir}"
+ includes="src/reactor-build/failProperty/success-1/project.xml"
+ goals="touchstone-goal-A"
+ banner="Testing"
+ ignoreFailures="false"
+ />
+ <maven:maven
+ descriptor="${basedir}/src/reactor-build/failProperty/success-1/project.xml"
+ goals="touchstone-goal-A"
+ ignoreFailures="false"
+ />
+ </goal>
+
+ <goal name="test-reactor-resources">
+ <maven:maven
+ descriptor="${basedir}/src/reactor-build/resources/project.xml"
+ goals="run"
+ ignoreFailures="false"
+ />
+ </goal>
+
+ <goal name="test-reactor-run-twice">
+ <maven:maven
+ descriptor="${basedir}/src/reactor-build/run_twice/project.xml"
+ goals="run_twice"
+ ignoreFailures="false"
+ />
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]