dion 2003/09/17 02:06:24 Modified: src/plugins-build/changes/src/test/plugin-test maven.xml src/plugins-build/plugin/src/test/plugin-test maven.xml src/plugins-build/gump/src/test/plugin-test maven.xml src/plugins-build/checkstyle/src/test/plugin-test maven.xml src/plugins-build/clean/src/test/plugin-test maven.xml src/plugins-build/ant/src/test/plugin-test maven.xml Added: src/plugins-build/java/src/test/plugin-test/src/main/org/apache/maven Dummy.java src/plugins-build/java/src/test/plugin-test maven.xml project.xml .cvsignore Log: Add test project for java plugin. Only tests java:compile at the moment. Change test project goal to "testPlugin" as it was conflicting with the test plugin causing reactor issues Revision Changes Path 1.1 maven/src/plugins-build/java/src/test/plugin-test/src/main/org/apache/maven/Dummy.java Index: Dummy.java =================================================================== package org.apache.maven; public class Dummy { public String badChecky = "error"; } 1.1 maven/src/plugins-build/java/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== <project xmlns:util="jelly:util" xmlns:j="jelly:core"> <goal name="testPlugin" prereqs="test-java-compile"> <attainGoal name="clean"/> <echo>clean done</echo> </goal> <goal name="test-java-compile"> <attainGoal name="java:compile"/> <j:set var="expectedFile" value="${maven.build.dest}/org/apache/maven/Dummy.class"/> <util:file var="file" name="${expectedFile}" /> <j:if test="${!(file.exists())}"> <fail>${expectedFile} not generated</fail> </j:if> </goal> </project> 1.1 maven/src/plugins-build/java/src/test/plugin-test/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <project> <pomVersion>3</pomVersion> <id>test-maven-java-plugin</id> <name>Test project for Maven Java Plugin</name> <groupId>maven</groupId> <currentVersion>1.0-SNAPSHOT</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org/</url> <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo> </organization> <inceptionYear>2001</inceptionYear> <package>org.apache.maven</package> <logo>http://maven.apache.org/images/maven.jpg</logo> <description>Test for Maven Java plugin</description> <shortDescription>Test for Maven Java plugin</shortDescription> <url>http://maven.apache.org/reference/plugins/java/</url> <siteDirectory>/www/maven.apache.org/reference/plugins/java/</siteDirectory> <repository> <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven/src/plugins-build/java/</connection> <url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/java/</url> </repository> <developers> <developer> <name>dIon Gillard</name> <id>dion</id> <email>[EMAIL PROTECTED]</email> <organization>Multitask Consulting</organization> <roles> <role>Documentation</role> </roles> </developer> </developers> <build> <sourceDirectory>src/main</sourceDirectory> </build> </project> 1.1 maven/src/plugins-build/java/src/test/plugin-test/.cvsignore Index: .cvsignore =================================================================== gump.xml *.log 1.2 +1 -1 maven/src/plugins-build/changes/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/changes/src/test/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Sep 2003 08:23:52 -0000 1.1 +++ maven.xml 17 Sep 2003 09:06:23 -0000 1.2 @@ -1,7 +1,7 @@ <project xmlns:util="jelly:util" xmlns:j="jelly:core"> - <goal name="test" prereqs="test-changes-report"> + <goal name="testPlugin" prereqs="test-changes-report"> <attainGoal name="clean"/> </goal> 1.2 +1 -1 maven/src/plugins-build/plugin/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/plugin/src/test/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Sep 2003 07:57:07 -0000 1.1 +++ maven.xml 17 Sep 2003 09:06:23 -0000 1.2 @@ -1,5 +1,5 @@ <project xmlns:j="jelly:core" xmlns:u="jelly:util"> - <goal name="test" prereqs="test-generate-docs"> + <goal name="testPlugin" prereqs="test-generate-docs"> <attainGoal name="clean"/> </goal> 1.2 +1 -1 maven/src/plugins-build/gump/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/gump/src/test/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Sep 2003 07:50:37 -0000 1.1 +++ maven.xml 17 Sep 2003 09:06:23 -0000 1.2 @@ -1,7 +1,7 @@ <project xmlns:util="jelly:util" xmlns:j="jelly:core"> - <goal name="test" prereqs="test-gump"> + <goal name="testPlugin" prereqs="test-gump"> <attainGoal name="clean"/> </goal> 1.2 +1 -1 maven/src/plugins-build/checkstyle/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/checkstyle/src/test/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Sep 2003 08:37:20 -0000 1.1 +++ maven.xml 17 Sep 2003 09:06:23 -0000 1.2 @@ -1,7 +1,7 @@ <project xmlns:util="jelly:util" xmlns:j="jelly:core"> - <goal name="test" prereqs="test-checkstyle-report"> + <goal name="testPlugin" prereqs="test-checkstyle-report"> <attainGoal name="clean"/> </goal> 1.2 +1 -1 maven/src/plugins-build/clean/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/clean/src/test/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Sep 2003 08:05:53 -0000 1.1 +++ maven.xml 17 Sep 2003 09:06:23 -0000 1.2 @@ -1,6 +1,6 @@ <project xmlns:j="jelly:core" xmlns:u="jelly:util"> - <goal name="test" prereqs="test-clean"> + <goal name="testPlugin" prereqs="test-clean"> </goal> <goal name="test-clean"> 1.2 +1 -1 maven/src/plugins-build/ant/src/test/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/ant/src/test/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Sep 2003 08:13:23 -0000 1.1 +++ maven.xml 17 Sep 2003 09:06:24 -0000 1.2 @@ -1,7 +1,7 @@ <project xmlns:util="jelly:util" xmlns:j="jelly:core"> - <goal name="test" prereqs="test-ant"> + <goal name="testPlugin" prereqs="test-ant"> <attainGoal name="clean"/> </goal>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]