You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ep...@apache.org on 2006/04/26 11:39:05 UTC

svn commit: r397157 - in /maven/plugins/trunk/maven-compiler-plugin/src/test: java/org/apache/maven/plugin/ java/org/apache/maven/plugin/stubs/ resources/unit/compiler-args-test/ resources/unit/compiler-args-test/src/ resources/unit/compiler-args-test/...

Author: epunzalan
Date: Wed Apr 26 02:38:53 2006
New Revision: 397157

URL: http://svn.apache.org/viewcvs?rev=397157&view=rev
Log:
PR: MCOMPILER-34

Finished plugin tests using the test harness 

Added:
    maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java   (contents, props changed)
      - copied, changed from r397023, maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTest.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/
    maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java
Removed:
    maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTest.java
Modified:
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
    maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java

Copied: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java (from r397023, maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTest.java)
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java?p2=maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java&p1=maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTest.java&r1=397023&r2=397157&rev=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTest.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java Wed Apr 26 02:38:53 2006
@@ -1,7 +1,7 @@
 package org.apache.maven.plugin;
 
 /*
- * Copyright 2001-2005 The Apache Software Foundation.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,60 +16,46 @@
  * limitations under the License.
  */
 
-
+import org.apache.maven.plugin.stubs.CompilerManagerStub;
+import org.apache.maven.plugin.stubs.DebugEnabledLog;
 import org.apache.maven.plugin.testing.AbstractMojoTestCase;
-import org.codehaus.plexus.util.FileUtils;
+import org.apache.maven.plugin.testing.stubs.ArtifactStub;
 
 import java.io.File;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
 
-public class CompilerMojoTest
+public class CompilerMojoTestCase
     extends AbstractMojoTestCase
 {
-    protected void setUp()
-        throws Exception
-    {
-
-        // required for mojo lookups to work
-        super.setUp();
-
-        FileUtils.deleteDirectory( new File( getBasedir(), "target/test/unit" ) );
-    }
-
     /**
-     * tests the proper discovery and configuration of the mojo
+     * tests the ability of the plugin to compile a basic file
      *
      * @throws Exception
      */
-    public void testCompilerTestEnvironment()
+    public void testCompilerBasic()
         throws Exception
     {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
 
-        File testPom = new File( getBasedir(), "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
+        compileMojo.execute();
 
-        CompilerMojo mojo = (CompilerMojo) lookupMojo( "compile", testPom );
+        File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile0.class" );
 
-        assertNotNull( mojo );
-    }
+        assertTrue( testClass.exists() );
 
-    /**
-     * tests the ability of the plugin to compile a basic file
-     *
-     * @throws Exception
-     */
-    public void testCompilerBasic()
-        throws Exception
-    {
-        File testPom = new File( getBasedir(), "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
 
-        CompilerMojo mojo = (CompilerMojo) lookupMojo( "compile", testPom );
+        testCompileMojo.execute();
 
-        assertNotNull( mojo );
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile0Test.class" );
 
-        mojo.execute();
-
-        File testClass =
-            new File( getBasedir(), "target/test/unit/compiler-basic-test/target/classes/TestCompile0.class" );
-        assertTrue( FileUtils.fileExists( testClass.getAbsolutePath() ) );
+        assertTrue( testClass.exists() );
     }
 
     /**
@@ -80,19 +66,19 @@
     public void testCompilerEmptySource()
         throws Exception
     {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-empty-source-test/plugin-config.xml" );
 
-        File testPom =
-            new File( getBasedir(), "target/test-classes/unit/compiler-empty-source-test/plugin-config.xml" );
+        compileMojo.execute();
 
-        CompilerMojo mojo = (CompilerMojo) lookupMojo( "compile", testPom );
+        assertFalse( compileMojo.getOutputDirectory().exists() );
 
-        assertNotNull( mojo );
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-empty-source-test/plugin-config.xml" );
 
-        mojo.execute();
+        testCompileMojo.execute();
 
-        File testClass =
-            new File( getBasedir(), "target/test/unit/compiler-empty-source-test/target/classes/TestCompile1.class" );
-        assertFalse( FileUtils.fileExists( testClass.getAbsolutePath() ) );
+        assertFalse( testCompileMojo.getOutputDirectory().exists() );
     }
 
     /**
@@ -103,25 +89,46 @@
     public void testCompilerIncludesExcludes()
         throws Exception
     {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-includes-excludes-test/plugin-config.xml" );
 
-        File testPom =
-            new File( getBasedir(), "target/test-classes/unit/compiler-includes-excludes-test/plugin-config.xml" );
+        Set includes = new HashSet();
+        includes.add( "**/TestCompile4*.java" );
+        setVariableValueToObject( compileMojo, "includes", includes );
 
-        CompilerMojo mojo = (CompilerMojo) lookupMojo( "compile", testPom );
+        Set excludes = new HashSet();
+        excludes.add( "**/TestCompile2*.java" );
+        excludes.add( "**/TestCompile3*.java");
+        setVariableValueToObject( compileMojo, "excludes", excludes );
 
-        assertNotNull( mojo );
+        compileMojo.execute();
+
+        File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile2.class" );
+        assertFalse( testClass.exists() );
+
+        testClass = new File( compileMojo.getOutputDirectory(), "TestCompile3.class" );
+        assertFalse( testClass.exists() );
+
+        testClass = new File( compileMojo.getOutputDirectory(), "TestCompile4.class" );
+        assertTrue( testClass.exists() );
+
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo,
+                                 "target/test-classes/unit/compiler-includes-excludes-test/plugin-config.xml" );
+
+        setVariableValueToObject( testCompileMojo, "testIncludes", includes );
+        setVariableValueToObject( testCompileMojo, "testExcludes", excludes );
+
+        testCompileMojo.execute();
 
-        mojo.execute();
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile2TestCase.class" );
+        assertFalse( testClass.exists() );
 
-        File testClass = new File( getBasedir(),
-                                   "target/test/unit/compiler-includes-excludes-test/target/classes/TestCompile4.class" );
-        assertTrue( FileUtils.fileExists( testClass.getAbsolutePath() ) );
-        File testClass2 = new File( getBasedir(),
-                                    "target/test/unit/compiler-includes-excludes-test/target/classes/TestCompile2.class" );
-        assertFalse( FileUtils.fileExists( testClass2.getAbsolutePath() ) );
-        File testClass3 = new File( getBasedir(),
-                                    "target/test/unit/compiler-includes-excludes-test/target/classes/TestCompile3.class" );
-        assertFalse( FileUtils.fileExists( testClass3.getAbsolutePath() ) );
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile3TestCase.class" );
+        assertFalse( testClass.exists() );
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile4TestCase.class" );
+        assertTrue( testClass.exists() );
     }
 
     /**
@@ -132,24 +139,150 @@
     public void testCompilerFork()
         throws Exception
     {
+        CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-fork-test/plugin-config.xml" );
+
+        compileMojo.execute();
+
+        File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile1.class" );
+        assertTrue( testClass.exists() );
+
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-fork-test/plugin-config.xml" );
+
+        testCompileMojo.execute();
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile1TestCase.class" );
+        assertTrue( testClass.exists() );
+    }
+
+    public void testOneOutputFileForAllInput()
+        throws Exception
+    {
+        CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-one-output-file-test/plugin-config.xml" );
 
-        File testPom = new File( getBasedir(), "target/test-classes/unit/compiler-fork-test/plugin-config.xml" );
+        setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub() );
+
+        compileMojo.execute();
+
+        File testClass = new File( compileMojo.getOutputDirectory(), "compiled.class" );
+        assertTrue( testClass.exists() );
+
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-one-output-file-test/plugin-config.xml" );
+
+        setVariableValueToObject( testCompileMojo, "compilerManager", new CompilerManagerStub() );
+
+        testCompileMojo.execute();
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "compiled.class" );
+        assertTrue( testClass.exists() );
+    }
+
+    public void testCompilerArgs()
+        throws Exception
+    {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-args-test/plugin-config.xml" );
+
+        setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub() );
+
+        compileMojo.execute();
+
+        File testClass = new File( compileMojo.getOutputDirectory(), "compiled.class" );
+        assertTrue( testClass.exists() );
+    }
+
+    public void testOneOutputFileForAllInput2()
+        throws Exception
+    {
+        CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-one-output-file-test2/plugin-config.xml" );
+
+        setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub() );
+
+        Set includes = new HashSet();
+        includes.add( "**/TestCompile4*.java" );
+        setVariableValueToObject( compileMojo, "includes", includes );
+
+        Set excludes = new HashSet();
+        excludes.add( "**/TestCompile2*.java" );
+        excludes.add( "**/TestCompile3*.java");
+        setVariableValueToObject( compileMojo, "excludes", excludes );
+
+        compileMojo.execute();
+
+        File testClass = new File( compileMojo.getOutputDirectory(), "compiled.class" );
+        assertTrue( testClass.exists() );
+
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-one-output-file-test2/plugin-config.xml" );
+
+        setVariableValueToObject( testCompileMojo, "compilerManager", new CompilerManagerStub() );
+        setVariableValueToObject( testCompileMojo, "testIncludes", includes );
+        setVariableValueToObject( testCompileMojo, "testExcludes", excludes );
+
+        testCompileMojo.execute();
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "compiled.class" );
+        assertTrue( testClass.exists() );
+    }
+
+    public void testCompileFailure()
+        throws Exception
+    {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-fail-test/plugin-config.xml" );
+
+        setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub( true ) );
+
+        try
+        {
+            compileMojo.execute();
+
+            fail( "Should throw an exception" );
+        }
+        catch ( CompilationFailureException e )
+        {
+            //expected
+        }
+    }
+
+    private CompilerMojo getCompilerMojo( String pomXml )
+        throws Exception
+    {
+        File testPom = new File( getBasedir(), pomXml );
 
         CompilerMojo mojo = (CompilerMojo) lookupMojo( "compile", testPom );
 
-        assertNotNull( mojo );
+        setVariableValueToObject( mojo, "log", new DebugEnabledLog() );
+        setVariableValueToObject( mojo, "projectArtifact", new ArtifactStub() );
+        setVariableValueToObject( mojo, "classpathElements", Collections.EMPTY_LIST );
 
-        mojo.execute();
+        assertNotNull( mojo );
 
-        assertTrue( FileUtils.fileExists( new File( getBasedir(),
-                                                    "target/test/unit/compiler-fork-test/target/classes/TestCompile1.class" ).getAbsolutePath() ) );
+        return mojo;
     }
 
-    protected void tearDown()
+    private TestCompilerMojo getTestCompilerMojo( CompilerMojo compilerMojo, String pomXml )
         throws Exception
     {
+        File testPom = new File( getBasedir(), pomXml );
+
+        TestCompilerMojo mojo = (TestCompilerMojo) lookupMojo( "testCompile", testPom );
+
+        setVariableValueToObject( mojo, "log", new DebugEnabledLog() );
+
+        File buildDir = (File) getVariableValueFromObject( compilerMojo, "buildDirectory" );
+        File testClassesDir = new File( buildDir, "test-classes" );
+        setVariableValueToObject( mojo, "outputDirectory", testClassesDir );
+
+        List testClasspathList = new ArrayList();
+        testClasspathList.add( System.getProperty( "localRepository" ) + "/junit/junit/3.8.1/junit-3.8.1.jar" );
+        testClasspathList.add( compilerMojo.getOutputDirectory().getPath() );
+        setVariableValueToObject( mojo, "classpathElements", testClasspathList );
 
-        //FileUtils.deleteDirectory( new File ("target/test/unit/compiler") );
+        String testSourceRoot = testPom.getParent() + "/src/test/java";
+        setVariableValueToObject( mojo, "compileSourceRoots", Collections.singletonList( testSourceRoot ) );
 
+        return mojo;
     }
 }

Propchange: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,45 @@
+package org.apache.maven.plugin.stubs;
+
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.codehaus.plexus.compiler.manager.CompilerManager;
+import org.codehaus.plexus.compiler.manager.NoSuchCompilerException;
+
+/**
+ * @author Edwin Punzalan
+ */
+public class CompilerManagerStub
+    implements CompilerManager
+{
+    private boolean shouldFail;
+
+    public CompilerManagerStub()
+    {
+        this( false );
+    }
+
+    public CompilerManagerStub( boolean shouldFail )
+    {
+        this.shouldFail = shouldFail;
+    }
+
+    public org.codehaus.plexus.compiler.Compiler getCompiler( String compilerId )
+        throws NoSuchCompilerException
+    {
+        return new CompilerStub( shouldFail );
+    }
+}

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,104 @@
+package org.apache.maven.plugin.stubs;
+
+import org.codehaus.plexus.compiler.CompilerConfiguration;
+import org.codehaus.plexus.compiler.CompilerException;
+import org.codehaus.plexus.compiler.CompilerOutputStyle;
+import org.codehaus.plexus.compiler.CompilerError;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @author Edwin Punzalan
+ */
+public class CompilerStub
+    implements org.codehaus.plexus.compiler.Compiler
+{
+    private boolean shouldFail;
+
+    public CompilerStub()
+    {
+        this( false );
+    }
+
+    public CompilerStub( boolean shouldFail )
+    {
+        this.shouldFail = shouldFail;
+    }
+
+    public CompilerOutputStyle getCompilerOutputStyle()
+    {
+        return CompilerOutputStyle.ONE_OUTPUT_FILE_FOR_ALL_INPUT_FILES;
+    }
+
+    public String getInputFileEnding( CompilerConfiguration compilerConfiguration )
+        throws CompilerException
+    {
+        return "java";
+    }
+
+    public String getOutputFileEnding( CompilerConfiguration compilerConfiguration )
+        throws CompilerException
+    {
+        return "class";
+    }
+
+    public String getOutputFile( CompilerConfiguration compilerConfiguration )
+        throws CompilerException
+    {
+        return "output-file";
+    }
+
+    public boolean canUpdateTarget( CompilerConfiguration compilerConfiguration )
+        throws CompilerException
+    {
+        return false;
+    }
+
+    public List compile( CompilerConfiguration compilerConfiguration )
+        throws CompilerException
+    {
+        File outputDir = new File( compilerConfiguration.getOutputLocation() );
+
+        try
+        {
+            outputDir.mkdirs();
+
+            File outputFile = new File( outputDir, "compiled.class" );
+            if ( !outputFile.exists() && !outputFile.createNewFile() )
+            {
+                throw new CompilerException( "could not create output file: " + outputFile.getAbsolutePath() );
+            }
+        }
+        catch ( IOException e )
+        {
+            throw new CompilerException( "An exception occurred while creating output file", e );
+        }
+
+        return Collections.singletonList( new CompilerError( "message 1", shouldFail ) );
+    }
+
+    public String[] createCommandLine( CompilerConfiguration compilerConfiguration )
+        throws CompilerException
+    {
+        return new String[0];
+    }
+}

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,36 @@
+package org.apache.maven.plugin.stubs;
+
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.maven.plugin.logging.SystemStreamLog;
+
+/**
+ * @author Edwin Punzalan
+ */
+public class DebugEnabledLog
+    extends SystemStreamLog
+{
+    public DebugEnabledLog()
+    {
+        super();
+    }
+
+    public boolean isDebugEnabled()
+    {
+        return true;
+    }
+}

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -0,0 +1,41 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compileSourceRoots>
+            <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-args-test/src/main/java</compileSourceRoot>
+          </compileSourceRoots>
+          <compilerId>javac</compilerId>
+          <debug>true</debug>
+          <outputDirectory>${basedir}/target/test/unit/compiler-args-test/target/classes</outputDirectory>
+          <buildDirectory>${basedir}/target/test/unit/compiler-args-test/target</buildDirectory>
+          <compilerArguments>
+            <compilerArgument>
+              <param1>value1</param1>
+              <param2>value2</param2>
+            </compilerArgument>
+          </compilerArguments>
+          <compilerArgument>param value</compilerArgument>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class TestCompile0
+{
+
+    public TestCompile0()
+    {
+
+        System.out.println("Woo Hoo!");
+    }
+
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile0Test
+    extends TestCase
+{
+    public void testCompile0Test()
+    {
+        TestCompile0 test = new TestCompile0();
+    }
+}
\ No newline at end of file

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -1,3 +1,19 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project>
   <build>
     <plugins>
@@ -11,7 +27,6 @@
           <debug>true</debug>
           <outputDirectory>${basedir}/target/test/unit/compiler-basic-test/target/classes</outputDirectory>
           <buildDirectory>${basedir}/target/test/unit/compiler-basic-test/target</buildDirectory>
-          <projectArtifact implementation="org.apache.maven.plugin.testing.stubs.ArtifactStub"/>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java Wed Apr 26 02:38:53 2006
@@ -1,4 +1,18 @@
-
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 public class TestCompile0
 {

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile0Test
+    extends TestCase
+{
+    public void testCompile0Test()
+    {
+        TestCompile0 test = new TestCompile0();
+    }
+}
\ No newline at end of file

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -1,3 +1,19 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project>
   <build>
     <plugins>
@@ -11,7 +27,6 @@
           <debug>true</debug>
           <outputDirectory>${basedir}/target/test/unit/compiler-empty-source-test/target/classes</outputDirectory>
           <buildDirectory>${basedir}/target/test/unit/compiler-empty-source-test/target</buildDirectory>
-          <projectArtifact implementation="org.apache.maven.plugin.testing.stubs.ArtifactStub"/>
         </configuration>
       </plugin>
     </plugins>

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -0,0 +1,34 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compileSourceRoots>
+            <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-fail-test/src/main/java</compileSourceRoot>
+          </compileSourceRoots>
+          <compilerId>javac</compilerId>
+          <debug>true</debug>
+          <outputDirectory>${basedir}/target/test/unit/compiler-fail-test/target/classes</outputDirectory>
+          <buildDirectory>${basedir}/target/test/unit/compiler-fail-test/target</buildDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class TestCompile0
+{
+
+    public TestCompile0()
+    {
+
+        System.out.println("Woo Hoo!");
+    }
+
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile0Test
+    extends TestCase
+{
+    public void testCompile0Test()
+    {
+        TestCompile0 test = new TestCompile0();
+    }
+}
\ No newline at end of file

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -1,3 +1,19 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project>
   <build>
     <plugins>
@@ -18,9 +34,9 @@
           </compileSourceRoots>
           <compilerId>javac</compilerId>
           <debug>true</debug>
+          <executable>javac</executable>
           <outputDirectory>${basedir}/target/test/unit/compiler-fork-test/target/classes</outputDirectory>
           <buildDirectory>${basedir}/target/test/unit/compiler-fork-test/target</buildDirectory>
-          <projectArtifact implementation="org.apache.maven.plugin.testing.stubs.ArtifactStub"/>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java Wed Apr 26 02:38:53 2006
@@ -1,4 +1,18 @@
-
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 public class TestCompile1
 {

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile1TestCase
+    extends TestCase
+{
+    public void testCompile1()
+    {
+        TestCompile1 test = new TestCompile1();
+    }
+}
\ No newline at end of file

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -1,3 +1,19 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project>
   <build>
     <plugins>
@@ -20,19 +36,18 @@
             </excludes>
             -->
 
-          <includes>
-                <includes>**/TestCompile4.java</includes>
+          <!--includes>
+                <includes>**/TestCompile4*.java</includes>
           </includes>
           <excludes>
-              <exclude>**/TestCompile2.java</exclude>
-              <exclude>**/TestCompile3.java</exclude>
-          </excludes>
+              <exclude>**/TestCompile2*.java</exclude>
+              <exclude>**/TestCompile3*.java</exclude>
+          </excludes-->
           
           <compilerId>javac</compilerId>
           <debug>true</debug>
           <outputDirectory>${basedir}/target/test/unit/compiler-includes-excludes-test/target/classes</outputDirectory>
           <buildDirectory>${basedir}/target/test/unit/compiler-includes-excludes-test/target</buildDirectory>
-          <projectArtifact implementation="org.apache.maven.plugin.testing.stubs.ArtifactStub"/>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java Wed Apr 26 02:38:53 2006
@@ -1,4 +1,18 @@
-
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 public class TestCompile2
 {

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java Wed Apr 26 02:38:53 2006
@@ -1,4 +1,18 @@
-
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 public class TestCompile3
 {

Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java?rev=397157&r1=397156&r2=397157&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java Wed Apr 26 02:38:53 2006
@@ -1,4 +1,18 @@
-
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 public class TestCompile4
 {

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile2TestCase
+    extends TestCase
+{
+    public void testCompile2()
+    {
+        TestCompile2 test = new TestCompile2();
+    }
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile3TestCase
+    extends TestCase
+{
+    public void testCompile3()
+    {
+        TestCompile3 test = new TestCompile3();
+    }
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile4TestCase
+    extends TestCase
+{
+    public void testCompile4()
+    {
+        TestCompile4 test = new TestCompile4();
+    }
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml Wed Apr 26 02:38:53 2006
@@ -0,0 +1,34 @@
+<!--
+  ~ Copyright 2001-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compileSourceRoots>
+            <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-one-output-file-test2/src/main/java</compileSourceRoot>
+          </compileSourceRoots>
+          <compilerId>javac</compilerId>
+          <debug>true</debug>
+          <outputDirectory>${basedir}/target/test/unit/compiler-one-output-file-test2/target/classes</outputDirectory>
+          <buildDirectory>${basedir}/target/test/unit/compiler-one-output-file-test2/target</buildDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class TestCompile2
+{
+
+    public TestCompile2()
+    {
+
+        System.out.println("Woo Hoo!");
+    }
+
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class TestCompile3
+{
+
+    public TestCompile3()
+    {
+
+        System.out.println("Woo Hoo!");
+    }
+
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class TestCompile4
+{
+
+    public TestCompile4()
+    {
+
+        System.out.println("Woo Hoo!");
+    }
+
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile2TestCase
+    extends TestCase
+{
+    public void testCompile2()
+    {
+        TestCompile2 test = new TestCompile2();
+    }
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile3TestCase
+    extends TestCase
+{
+    public void testCompile3()
+    {
+        TestCompile3 test = new TestCompile3();
+    }
+}
\ No newline at end of file

Added: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java?rev=397157&view=auto
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java (added)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java Wed Apr 26 02:38:53 2006
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import junit.framework.TestCase;
+
+public class TestCompile4TestCase
+    extends TestCase
+{
+    public void testCompile4()
+    {
+        TestCompile4 test = new TestCompile4();
+    }
+}
\ No newline at end of file