[jboss-cvs] JBossAS SVN: r72911 - in projects/maven/plugins: branches and 75 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 1 04:52:18 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-05-01 04:52:18 -0400 (Thu, 01 May 2008)
New Revision: 72911

Added:
   projects/maven/plugins/branches/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/pom.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/pom.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/pom.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/java/MyClass.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilerMojo.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-using-different-jdk.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-with-memory-enhancements.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/pass-compiler-arguments.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/set-compiler-source-and-target.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/index.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/non-javac-compilers.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/usage.apt
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/fml/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/fml/faq.fml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/site.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-empty-source-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java
   projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java
Log:
Initial import


Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/pom.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/pom.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/pom.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,65 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <artifactId>maven-plugins</artifactId>
+    <groupId>org.apache.maven.plugins</groupId>
+    <version>8</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>maven-compiler-plugin</artifactId>
+  <packaging>maven-plugin</packaging>
+  <name>Maven Compiler Plugin</name>
+  <version>2.0.2</version>
+  <inceptionYear>2001</inceptionYear>
+  <prerequisites>
+    <maven>2.0</maven>
+  </prerequisites>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://jira.codehaus.org/browse/MCOMPILER</url>
+  </issueManagement>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>2.0</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-compiler-api</artifactId>
+      <version>1.5.3</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-compiler-manager</artifactId>
+      <version>1.5.3</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-compiler-javac</artifactId>
+      <version>1.5.3</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>2.0</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-plugin-testing-harness</artifactId>
+      <version>1.0-beta-1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <scm>
+    <connection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-compiler-plugin-2.0.2</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-compiler-plugin-2.0.2</developerConnection>
+    <url>https://svn.apache.org/repos/asf/maven/plugins/tags/maven-compiler-plugin-2.0.2</url>
+  </scm>
+</project>
\ No newline at end of file


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/pom.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/pom.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/pom.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/pom.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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 xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.compiler</groupId>
+  <artifactId>it</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>Compiler plugin integration tests</name>
+
+  <modules>
+    <module>test1</module>
+  </modules>
+
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/pom.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/pom.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/pom.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/pom.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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 xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.compiler</groupId>
+  <artifactId>test1</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <name>Test for fork configuration</name>
+  <description>Test for forking compiler configuration</description>
+
+  <dependencies>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <fork>true</fork>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/pom.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/java/MyClass.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/java/MyClass.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/java/MyClass.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,4 @@
+public class MyClass
+{
+
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/it/test1/src/main/java/MyClass.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,640 @@
+package org.apache.maven.plugin;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.Compiler;
+import org.codehaus.plexus.compiler.CompilerConfiguration;
+import org.codehaus.plexus.compiler.CompilerError;
+import org.codehaus.plexus.compiler.CompilerException;
+import org.codehaus.plexus.compiler.CompilerOutputStyle;
+import org.codehaus.plexus.compiler.manager.CompilerManager;
+import org.codehaus.plexus.compiler.manager.NoSuchCompilerException;
+import org.codehaus.plexus.compiler.util.scan.InclusionScanException;
+import org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.mapping.SingleTargetSourceMapping;
+import org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping;
+import org.codehaus.plexus.compiler.util.scan.mapping.SuffixMapping;
+import org.codehaus.plexus.util.StringUtils;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * TODO: At least one step could be optimized, currently the plugin will do two
+ * scans of all the source code if the compiler has to have the entire set of
+ * sources. This is currently the case for at least the C# compiler and most
+ * likely all the other .NET compilers too.
+ *
+ * @author others
+ * @author <a href="mailto:trygvis at inamo.no">Trygve Laugst&oslash;l</a>
+ * @version $Id$
+ */
+public abstract class AbstractCompilerMojo
+    extends AbstractMojo
+{
+    // ----------------------------------------------------------------------
+    // Configurables
+    // ----------------------------------------------------------------------
+
+    /**
+     * Indicates whether the build will continue even if there are compilation errors; defaults to true.
+     *
+     * @parameter expression="${maven.compiler.failOnError}" default-value="true"
+     */
+    private boolean failOnError = true;
+
+    /**
+     * Set to true to include debugging information in the compiled class files.
+     *
+     * @parameter expression="${maven.compiler.debug}" default-value="true"
+     */
+    private boolean debug = true;
+
+    /**
+     * Set to true to show messages about what the compiler is doing.
+     *
+     * @parameter expression="${maven.compiler.verbose}" default-value="false"
+     */
+    private boolean verbose;
+
+    /**
+     * Sets whether to show source locations where deprecated APIs are used.
+     *
+     * @parameter expression="${maven.compiler.showDeprecation}" default-value="false"
+     */
+    private boolean showDeprecation;
+
+    /**
+     * Set to true to optimize the compiled code using the compiler's optimization methods.
+     *
+     * @parameter expression="${maven.compiler.optimize}" default-value="false"
+     */
+    private boolean optimize;
+
+    /**
+     * Set to true to show compilation warnings.
+     *
+     * @parameter expression="${maven.compiler.showWarnings}" default-value="false"
+     */
+    private boolean showWarnings;
+
+    /**
+     * The -source argument for the Java compiler.
+     *
+     * @parameter expression="${maven.compiler.source}"
+     */
+    private String source;
+
+    /**
+     * The -target argument for the Java compiler.
+     *
+     * @parameter expression="${maven.compiler.target}"
+     */
+    private String target;
+
+    /**
+     * The -encoding argument for the Java compiler.
+     *
+     * @parameter expression="${maven.compiler.encoding}"
+     */
+    private String encoding;
+
+    /**
+     * Sets the granularity in milliseconds of the last modification
+     * date for testing whether a source needs recompilation.
+     *
+     * @parameter expression="${lastModGranularityMs}" default-value="0"
+     */
+    private int staleMillis;
+
+    /**
+     * The compiler id of the compiler to use. See this
+     * <a href="non-javac-compilers.html">guide</a> for more information.
+     *
+     * @parameter expression="${maven.compiler.compilerId}" default-value="javac"
+     */
+    private String compilerId;
+
+    /**
+     * Version of the compiler to use, ex. "1.3", "1.5", if fork is set to true.
+     *
+     * @parameter expression="${maven.compiler.compilerVersion}"
+     */
+    private String compilerVersion;
+
+    /**
+     * Allows running the compiler in a separate process.
+     * If "false" it uses the built in compiler, while if "true" it will use an executable.
+     *
+     * @parameter default-value="false"
+     */
+    private boolean fork;
+
+    /**
+     * Initial size, in megabytes, of the memory allocation pool, ex. "64", "64m"
+     * if fork is set to true.
+     *
+     * @parameter expression="${maven.compiler.meminitial}"
+     */
+    private String meminitial;
+
+    /**
+     * Sets the maximum size, in megabytes, of the memory allocation pool, ex. "128", "128m"
+     * if fork is set to true.
+     *
+     * @parameter expression="${maven.compiler.maxmem}"
+     */
+    private String maxmem;
+
+    /**
+     * Sets the executable of the compiler to use when fork is true.
+     *
+     * @parameter expression="${maven.compiler.executable}"
+     */
+    private String executable;
+
+    /**
+     * <p>
+     * Sets the arguments to be passed to the compiler (prepending a dash) if fork is set to true.
+     * </p>
+     * <p>
+     * This is because the list of valid arguments passed to a Java compiler
+     * varies based on the compiler version.
+     * </p>
+     *
+     * @parameter
+     */
+    private Map compilerArguments;
+
+    /**
+     * <p>
+     * Sets the unformatted argument string to be passed to the compiler if fork is set to true.
+     * </p>
+     * <p>
+     * This is because the list of valid arguments passed to a Java compiler
+     * varies based on the compiler version.
+     * </p>
+     *
+     * @parameter
+     */
+    private String compilerArgument;
+
+    /**
+     * Sets the name of the output file when compiling a set of
+     * sources to a single file.
+     *
+     * @parameter expression="${project.build.finalName}"
+     */
+    private String outputFileName;
+
+    // ----------------------------------------------------------------------
+    // Read-only parameters
+    // ----------------------------------------------------------------------
+
+    /**
+     * The directory to run the compiler from if fork is true.
+     *
+     * @parameter expression="${basedir}"
+     * @required
+     * @readonly
+     */
+    private File basedir;
+
+    /**
+     * The target directory of the compiler if fork is true.
+     *
+     * @parameter expression="${project.build.directory}"
+     * @required
+     * @readonly
+     */
+    private File buildDirectory;
+
+    /**
+     * Plexus compiler manager.
+     *
+     * @component
+     */
+    private CompilerManager compilerManager;
+
+    protected abstract SourceInclusionScanner getSourceInclusionScanner( int staleMillis );
+
+    protected abstract SourceInclusionScanner getSourceInclusionScanner( String inputFileEnding );
+
+    protected abstract List getClasspathElements();
+
+    protected abstract List getCompileSourceRoots();
+
+    protected abstract File getOutputDirectory();
+
+    public void execute()
+        throws MojoExecutionException, CompilationFailureException
+    {
+        // ----------------------------------------------------------------------
+        // Look up the compiler. This is done before other code than can
+        // cause the mojo to return before the lookup is done possibly resulting
+        // in misconfigured POMs still building.
+        // ----------------------------------------------------------------------
+
+        Compiler compiler;
+
+        getLog().debug( "Using compiler '" + compilerId + "'." );
+
+        try
+        {
+            compiler = compilerManager.getCompiler( compilerId );
+        }
+        catch ( NoSuchCompilerException e )
+        {
+            throw new MojoExecutionException( "No such compiler '" + e.getCompilerId() + "'." );
+        }
+
+        // ----------------------------------------------------------------------
+        //
+        // ----------------------------------------------------------------------
+
+        List compileSourceRoots = removeEmptyCompileSourceRoots( getCompileSourceRoots() );
+
+        if ( compileSourceRoots.isEmpty() )
+        {
+            getLog().info( "No sources to compile" );
+
+            return;
+        }
+
+        if ( getLog().isDebugEnabled() )
+        {
+            getLog().debug( "Source directories: " + compileSourceRoots.toString().replace( ',', '\n' ) );
+            getLog().debug( "Classpath: " + getClasspathElements().toString().replace( ',', '\n' ) );
+            getLog().debug( "Output directory: " + getOutputDirectory() );
+        }
+
+        // ----------------------------------------------------------------------
+        // Create the compiler configuration
+        // ----------------------------------------------------------------------
+
+        CompilerConfiguration compilerConfiguration = new CompilerConfiguration();
+
+        compilerConfiguration.setOutputLocation( getOutputDirectory().getAbsolutePath() );
+
+        compilerConfiguration.setClasspathEntries( getClasspathElements() );
+
+        compilerConfiguration.setSourceLocations( compileSourceRoots );
+
+        compilerConfiguration.setOptimize( optimize );
+
+        compilerConfiguration.setDebug( debug );
+
+        compilerConfiguration.setVerbose( verbose );
+
+        compilerConfiguration.setShowWarnings( showWarnings );
+
+        compilerConfiguration.setShowDeprecation( showDeprecation );
+
+        compilerConfiguration.setSourceVersion( source );
+
+        compilerConfiguration.setTargetVersion( target );
+
+        compilerConfiguration.setSourceEncoding( encoding );
+
+        if ( ( compilerArguments != null ) || ( compilerArgument != null ) )
+        {
+            LinkedHashMap cplrArgsCopy = new LinkedHashMap();
+            if ( compilerArguments != null )
+            {
+                for ( Iterator i = compilerArguments.entrySet().iterator(); i.hasNext(); )
+                {
+                    Map.Entry me = (Map.Entry) i.next();
+                    String key = (String) me.getKey();
+                    String value = (String) me.getValue();
+                    if ( !key.startsWith( "-" ) )
+                    {
+                        key = "-" + key;
+                    }
+                    cplrArgsCopy.put( key, value );
+                }
+            }
+            if ( !StringUtils.isEmpty( compilerArgument ) )
+            {
+                cplrArgsCopy.put( compilerArgument, null );
+            }
+            compilerConfiguration.setCustomCompilerArguments( cplrArgsCopy );
+        }
+
+        compilerConfiguration.setFork( fork );
+
+        if ( fork )
+        {
+            if ( !StringUtils.isEmpty( meminitial ) )
+            {
+                String value = getMemoryValue( meminitial );
+
+                if ( value != null )
+                {
+                    compilerConfiguration.setMeminitial( value );
+                }
+                else
+                {
+                    getLog().info( "Invalid value for meminitial '" + meminitial + "'. Ignoring this option." );
+                }
+            }
+
+            if ( !StringUtils.isEmpty( maxmem ) )
+            {
+                String value = getMemoryValue( maxmem );
+
+                if ( value != null )
+                {
+                    compilerConfiguration.setMaxmem( value );
+                }
+                else
+                {
+                    getLog().info( "Invalid value for maxmem '" + maxmem + "'. Ignoring this option." );
+                }
+            }
+        }
+
+        compilerConfiguration.setExecutable( executable );
+
+        compilerConfiguration.setWorkingDirectory( basedir );
+
+        compilerConfiguration.setCompilerVersion( compilerVersion );
+
+        compilerConfiguration.setBuildDirectory( buildDirectory );
+
+        compilerConfiguration.setOutputFileName( outputFileName );
+
+        // TODO: have an option to always compile (without need to clean)
+        Set staleSources;
+
+        boolean canUpdateTarget;
+
+        try
+        {
+            staleSources =
+                computeStaleSources( compilerConfiguration, compiler, getSourceInclusionScanner( staleMillis ) );
+
+            canUpdateTarget = compiler.canUpdateTarget( compilerConfiguration );
+
+            if ( compiler.getCompilerOutputStyle().equals( CompilerOutputStyle.ONE_OUTPUT_FILE_FOR_ALL_INPUT_FILES ) &&
+                !canUpdateTarget )
+            {
+                getLog().info( "RESCANNING!" );
+                // TODO: This second scan for source files is sub-optimal
+                String inputFileEnding = compiler.getInputFileEnding( compilerConfiguration );
+
+                Set sources = computeStaleSources( compilerConfiguration, compiler,
+                                                   getSourceInclusionScanner( inputFileEnding ) );
+
+                compilerConfiguration.setSourceFiles( sources );
+            }
+            else
+            {
+                compilerConfiguration.setSourceFiles( staleSources );
+            }
+        }
+        catch ( CompilerException e )
+        {
+            throw new MojoExecutionException( "Error while computing stale sources.", e );
+        }
+
+        if ( staleSources.isEmpty() )
+        {
+            getLog().info( "Nothing to compile - all classes are up to date" );
+
+            return;
+        }
+
+        // ----------------------------------------------------------------------
+        // Dump configuration
+        // ----------------------------------------------------------------------
+
+        if ( getLog().isDebugEnabled() )
+        {
+            getLog().debug( "Classpath:" );
+
+            for ( Iterator it = getClasspathElements().iterator(); it.hasNext(); )
+            {
+                String s = (String) it.next();
+
+                getLog().debug( " " + s );
+            }
+
+            getLog().debug( "Source roots:" );
+
+            for ( Iterator it = getCompileSourceRoots().iterator(); it.hasNext(); )
+            {
+                String root = (String) it.next();
+
+                getLog().debug( " " + root );
+            }
+
+            if ( fork )
+            {
+                try
+                {
+                    if ( compilerConfiguration.getExecutable() != null )
+                    {
+                        getLog().debug( "Excutable: " );
+                        getLog().debug( " " + compilerConfiguration.getExecutable() );
+                    }
+
+                    String[] cl = compiler.createCommandLine( compilerConfiguration );
+                    if ( cl != null && cl.length > 0 )
+                    {
+                        StringBuffer sb = new StringBuffer();
+                        sb.append( cl[0] );
+                        for ( int i = 1; i < cl.length; i++ )
+                        {
+                            sb.append( " " );
+                            sb.append( cl[i] );
+                        }
+                        getLog().debug( "Command line options:" );
+                        getLog().debug( sb );
+                    }
+                }
+                catch ( CompilerException ce )
+                {
+                    getLog().debug( ce );
+                }
+            }
+        }
+
+        // ----------------------------------------------------------------------
+        // Compile!
+        // ----------------------------------------------------------------------
+
+        List messages;
+
+        try
+        {
+            messages = compiler.compile( compilerConfiguration );
+        }
+        catch ( Exception e )
+        {
+            // TODO: don't catch Exception
+            throw new MojoExecutionException( "Fatal error compiling", e );
+        }
+
+        boolean compilationError = false;
+
+        for ( Iterator i = messages.iterator(); i.hasNext(); )
+        {
+            CompilerError message = (CompilerError) i.next();
+
+            if ( message.isError() )
+            {
+                compilationError = true;
+                break;
+            }
+        }
+
+        if ( compilationError && failOnError )
+        {
+            throw new CompilationFailureException( messages );
+        }
+        else
+        {
+            for ( Iterator i = messages.iterator(); i.hasNext(); )
+            {
+                CompilerError message = (CompilerError) i.next();
+
+                getLog().warn( message.toString() );
+            }
+        }
+    }
+
+    private String getMemoryValue( String setting )
+    {
+        String value = null;
+
+        // Allow '128' or '128m'
+        if ( isDigits( setting ) )
+        {
+            value = setting + "m";
+        }
+        else
+        {
+            if ( ( isDigits( setting.substring( 0, setting.length() - 1 ) ) ) &&
+                ( setting.toLowerCase().endsWith( "m" ) ) )
+            {
+                value = setting;
+            }
+        }
+        return value;
+    }
+
+    private boolean isDigits( String string )
+    {
+        for ( int i = 0; i < string.length(); i++ )
+        {
+            if ( !Character.isDigit( string.charAt( i ) ) )
+            {
+                return false;
+            }
+        }
+        return true;
+    }
+
+    private Set computeStaleSources( CompilerConfiguration compilerConfiguration, Compiler compiler,
+                                     SourceInclusionScanner scanner )
+        throws MojoExecutionException, CompilerException
+    {
+        CompilerOutputStyle outputStyle = compiler.getCompilerOutputStyle();
+
+        SourceMapping mapping;
+
+        File outputDirectory;
+
+        if ( outputStyle == CompilerOutputStyle.ONE_OUTPUT_FILE_PER_INPUT_FILE )
+        {
+            mapping = new SuffixMapping( compiler.getInputFileEnding( compilerConfiguration ), compiler
+                .getOutputFileEnding( compilerConfiguration ) );
+
+            outputDirectory = getOutputDirectory();
+        }
+        else if ( outputStyle == CompilerOutputStyle.ONE_OUTPUT_FILE_FOR_ALL_INPUT_FILES )
+        {
+            mapping = new SingleTargetSourceMapping( compiler.getInputFileEnding( compilerConfiguration ), compiler
+                .getOutputFile( compilerConfiguration ) );
+
+            outputDirectory = buildDirectory;
+        }
+        else
+        {
+            throw new MojoExecutionException( "Unknown compiler output style: '" + outputStyle + "'." );
+        }
+
+        scanner.addSourceMapping( mapping );
+
+        Set staleSources = new HashSet();
+
+        for ( Iterator it = getCompileSourceRoots().iterator(); it.hasNext(); )
+        {
+            String sourceRoot = (String) it.next();
+
+            File rootFile = new File( sourceRoot );
+
+            if ( !rootFile.isDirectory() )
+            {
+                continue;
+            }
+
+            try
+            {
+                staleSources.addAll( scanner.getIncludedSources( rootFile, outputDirectory ) );
+            }
+            catch ( InclusionScanException e )
+            {
+                throw new MojoExecutionException(
+                    "Error scanning source root: \'" + sourceRoot + "\' " + "for stale files to recompile.", e );
+            }
+        }
+
+        return staleSources;
+    }
+
+    /**
+     * @todo also in ant plugin. This should be resolved at some point so that it does not need to
+     * be calculated continuously - or should the plugins accept empty source roots as is?
+     */
+    private static List removeEmptyCompileSourceRoots( List compileSourceRootsList )
+    {
+        List newCompileSourceRootsList = new ArrayList();
+        if ( compileSourceRootsList != null )
+        {
+            // copy as I may be modifying it
+            for ( Iterator i = compileSourceRootsList.iterator(); i.hasNext(); )
+            {
+                String srcDir = (String) i.next();
+                if ( !newCompileSourceRootsList.contains( srcDir ) && new File( srcDir ).exists() )
+                {
+                    newCompileSourceRootsList.add( srcDir );
+                }
+            }
+        }
+        return newCompileSourceRootsList;
+    }
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilationFailureException.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilationFailureException.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,76 @@
+package org.apache.maven.plugin;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.CompilerError;
+
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:jason at maven.org">Jason van Zyl</a>
+ * @version $Id$
+ */
+public class CompilationFailureException
+    extends MojoFailureException
+{
+    private static final String LS = System.getProperty( "line.separator" );
+
+    public CompilationFailureException( List messages )
+    {
+        super( null, shortMessage( messages ), longMessage( messages ) );
+    }
+
+    public static String longMessage( List messages )
+    {
+        StringBuffer sb = new StringBuffer();
+
+        for ( Iterator it = messages.iterator(); it.hasNext(); )
+        {
+            CompilerError compilerError = (CompilerError) it.next();
+
+            sb.append( compilerError ).append( LS );
+        }
+        return sb.toString();
+    }
+
+    /**
+     * Short message will have the error message if there's only one, useful for errors forking the compiler
+     *
+     * @param messages
+     * @return the short error message
+     */
+    public static String shortMessage( List messages )
+    {
+        StringBuffer sb = new StringBuffer();
+
+        sb.append( "Compilation failure" );
+
+        if ( messages.size() == 1 )
+        {
+            sb.append( LS );
+
+            CompilerError compilerError = (CompilerError) messages.get( 0 );
+
+            sb.append( compilerError ).append( LS );
+        }
+        return sb.toString();
+    }
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilerMojo.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilerMojo.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilerMojo.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,160 @@
+package org.apache.maven.plugin;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.artifact.Artifact;
+import org.codehaus.plexus.compiler.util.scan.SimpleSourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.StaleSourceScanner;
+
+import java.io.File;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+/**
+ * Compiles application sources
+ *
+ * @author <a href="mailto:jason at maven.org">Jason van Zyl </a>
+ * @version $Id$
+ * @goal compile
+ * @phase compile
+ * @requiresDependencyResolution compile
+ */
+public class CompilerMojo
+    extends AbstractCompilerMojo
+{
+    /**
+     * The source directories containing the sources to be compiled.
+     *
+     * @parameter expression="${project.compileSourceRoots}"
+     * @required
+     * @readonly
+     */
+    private List compileSourceRoots;
+
+    /**
+     * Project classpath.
+     *
+     * @parameter expression="${project.compileClasspathElements}"
+     * @required
+     * @readonly
+     */
+    private List classpathElements;
+
+    /**
+     * The directory for compiled classes.
+     *
+     * @parameter expression="${project.build.outputDirectory}"
+     * @required
+     * @readonly
+     */
+    private File outputDirectory;
+
+    /**
+     * Project artifacts.
+     *
+     * @parameter expression="${project.artifact}"
+     * @required
+     * @readonly
+     * @todo this is an export variable, really
+     */
+    private Artifact projectArtifact;
+
+    /**
+     * A list of inclusion filters for the compiler.
+     *
+     * @parameter
+     */
+    private Set includes = new HashSet();
+
+    /**
+     * A list of exclusion filters for the compiler.
+     *
+     * @parameter
+     */
+    private Set excludes = new HashSet();
+
+    protected List getCompileSourceRoots()
+    {
+        return compileSourceRoots;
+    }
+
+    protected List getClasspathElements()
+    {
+        return classpathElements;
+    }
+
+    protected File getOutputDirectory()
+    {
+        return outputDirectory;
+    }
+
+    public void execute()
+        throws MojoExecutionException, CompilationFailureException
+    {
+        super.execute();
+
+        projectArtifact.setFile( outputDirectory );
+    }
+
+    protected SourceInclusionScanner getSourceInclusionScanner( int staleMillis )
+    {
+        SourceInclusionScanner scanner = null;
+
+        if ( includes.isEmpty() && excludes.isEmpty() )
+        {
+            scanner = new StaleSourceScanner( staleMillis );
+        }
+        else
+        {
+            if ( includes.isEmpty() )
+            {
+                includes.add( "**/*.java" );
+            }
+            scanner = new StaleSourceScanner( staleMillis, includes, excludes );
+        }
+
+        return scanner;
+    }
+
+    protected SourceInclusionScanner getSourceInclusionScanner( String inputFileEnding )
+    {
+        SourceInclusionScanner scanner = null;
+
+        if ( includes.isEmpty() && excludes.isEmpty() )
+        {
+            includes = Collections.singleton( "**/*." + inputFileEnding );
+            scanner = new SimpleSourceInclusionScanner( includes, Collections.EMPTY_SET );
+        }
+        else
+        {
+            if ( includes.isEmpty() )
+            {
+                includes.add( "**/*." + inputFileEnding );
+            }
+            scanner = new SimpleSourceInclusionScanner( includes, excludes );
+        }
+
+        return scanner;
+    }
+
+}
\ No newline at end of file


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/CompilerMojo.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,162 @@
+package org.apache.maven.plugin;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.util.scan.SimpleSourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.StaleSourceScanner;
+
+import java.io.File;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+/**
+ * Compiles application test sources
+ *
+ * @author <a href="mailto:jason at maven.org">Jason van Zyl</a>
+ * @version $Id$
+ * @goal testCompile
+ * @phase test-compile
+ * @requiresDependencyResolution test
+ */
+public class TestCompilerMojo
+    extends AbstractCompilerMojo
+{
+    /**
+     * Set this to 'true' to bypass unit tests entirely.
+     * Its use is NOT RECOMMENDED, but quite convenient on occasion.
+     *
+     * @parameter expression="${maven.test.skip}"
+     */
+    private boolean skip;
+
+    /**
+     * The source directories containing the test-source to be compiled.
+     *
+     * @parameter expression="${project.testCompileSourceRoots}"
+     * @required
+     * @readonly
+     */
+    private List compileSourceRoots;
+
+    /**
+     * Project test classpath.
+     *
+     * @parameter expression="${project.testClasspathElements}"
+     * @required
+     * @readonly
+     */
+    private List classpathElements;
+
+    /**
+     * The directory where compiled test classes go.
+     *
+     * @parameter expression="${project.build.testOutputDirectory}"
+     * @required
+     * @readonly
+     */
+    private File outputDirectory;
+
+    /**
+     * A list of inclusion filters for the compiler.
+     *
+     * @parameter
+     */
+    private Set testIncludes = new HashSet();
+
+    /**
+     * A list of exclusion filters for the compiler.
+     *
+     * @parameter
+     */
+    private Set testExcludes = new HashSet();
+
+    public void execute()
+        throws MojoExecutionException, CompilationFailureException
+    {
+        if ( skip )
+        {
+            getLog().info( "Not compiling test sources" );
+        }
+        else
+        {
+            super.execute();
+        }
+    }
+
+    protected List getCompileSourceRoots()
+    {
+        return compileSourceRoots;
+    }
+
+    protected List getClasspathElements()
+    {
+        return classpathElements;
+    }
+
+    protected File getOutputDirectory()
+    {
+        return outputDirectory;
+    }
+
+    protected SourceInclusionScanner getSourceInclusionScanner( int staleMillis )
+    {
+        SourceInclusionScanner scanner = null;
+
+        if ( testIncludes.isEmpty() && testExcludes.isEmpty() )
+        {
+            scanner = new StaleSourceScanner( staleMillis );
+        }
+        else
+        {
+            if ( testIncludes.isEmpty() )
+            {
+                testIncludes.add( "**/*.java" );
+            }
+            scanner = new StaleSourceScanner( staleMillis, testIncludes, testExcludes );
+        }
+
+        return scanner;
+    }
+
+    protected SourceInclusionScanner getSourceInclusionScanner( String inputFileEnding )
+    {
+        SourceInclusionScanner scanner = null;
+
+        if ( testIncludes.isEmpty() && testExcludes.isEmpty() )
+        {
+            testIncludes = Collections.singleton( "**/*." + inputFileEnding );
+            scanner = new SimpleSourceInclusionScanner( testIncludes, Collections.EMPTY_SET );
+        }
+        else
+        {
+            if ( testIncludes.isEmpty() )
+            {
+                testIncludes.add( "**/*." + inputFileEnding );
+            }
+            scanner = new SimpleSourceInclusionScanner( testIncludes, testExcludes );
+        }
+
+        return scanner;
+    }
+
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-using-different-jdk.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-using-different-jdk.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-using-different-jdk.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,54 @@
+ ------
+ Compiling Sources Using A Different JDK
+ ------
+ Edwin Punzalan
+ ------
+ 05 July 2006
+ ------
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Compiling Sources Using A Different JDK
+
+  The <<<compilerVersion>>> parameter can be used to specify the version of the
+  compiler that the plugin will use. However, you also need to set <<<fork>>>
+  to <<<true>>> for this to work. For example:
+
++-------
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <verbose>true</verbose>
+          <fork>true</fork>
+          <executable><!-- path-to-javac --></executable>
+          <compilerVersion>1.3</compilerVersion>
+        </configuration>
+      </plugin>
+    </plugins>
+    [...]
+  </build>
+  [...]
+</project>
++-------
\ No newline at end of file

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-with-memory-enhancements.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-with-memory-enhancements.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/compile-with-memory-enhancements.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,53 @@
+ ------
+ Compile Using Memory Allocation Enhancements
+ ------
+ Edwin Punzalan
+ ------
+ 05 July 2006
+ ------
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Compile Using Memory Allocation Enhancements
+
+  The Compiler Plugin accepts configurations for <<<meminitial>>> and
+  <<<maxmem>>>.  You can follow the example below to set the initial memory
+  size to 128MB and the maximum memory usage to 512MB:
+
++-----
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <fork>true</fork>
+          <meminitial>128m</meminitial>
+          <maxmem>512m</maxmem>
+        </configuration>
+      </plugin>
+    </plugins>
+    [...]
+  </build>
+  [...]
+</project>
++-----
\ No newline at end of file

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/pass-compiler-arguments.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/pass-compiler-arguments.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/pass-compiler-arguments.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,78 @@
+ ------
+ Pass Compiler Arguments
+ ------
+ Edwin Punzalan
+ ------
+ 05 July 2006
+ ------
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Pass Compiler Arguments
+
+  Sometimes, you need to pass other compiler arguments that are not handled by
+  the Compiler Plugin itself but is supported by the <<<compilerId>>> selected.
+  For such arguments, the Compiler Plugin's <<<compilerArguments>>> will be
+  used.  The following example passes compiler arguments to the <<<javac>>>
+  compiler:
+
++-----
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compilerArgument>-verbose -bootclasspath ${java.home}\lib\rt.jar</compilerArgument>
+        </configuration>
+      </plugin>
+    </plugins>
+    [...]
+  </build>
+  [...]
+</project>
++-----
+
+  Or you can also use the Map version:
+
++-----
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compilerArguments>
+            <verbose />
+            <bootclasspath>${java.home}\lib\rt.jar</bootclasspath>
+          </compilerArguments>
+        </configuration>
+      </plugin>
+    </plugins>
+    [...]
+  </build>
+  [...]
+</project>
++-----

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/set-compiler-source-and-target.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/set-compiler-source-and-target.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/examples/set-compiler-source-and-target.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,57 @@
+ ------
+ Setting the -source and -target of the Java Compiler
+ ------
+ Edwin Punzalan
+ ------
+ 05 July 2006
+ ------
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Setting the <<<-source>>> and <<<-target>>> of the Java Compiler
+
+  Sometimes when you may need to compile a certain project to a different
+  version than what you are currently using.  The <<<javac>>> can accept
+  such command using <<<-source>>> and <<<-target>>>.  The Compiler Plugin
+  can also be configured to provide these options during compilation.
+
+  For example, if you want to enable assertions (-source 1.4) and also want the
+  compiled classes to be compatible with JVM 1.4 (-target 1.4), you can then
+  put:
+
++-----
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.4</source>
+          <target>1.4</target>
+        </configuration>
+      </plugin>
+    </plugins>
+    [...]
+  </build>
+  [...]
+</project>
++-----
\ No newline at end of file

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/index.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/index.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/index.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,66 @@
+ ------
+ Introduction
+ ------
+ Edwin Punzalan
+ ------
+ 06 July 2006
+ ------
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Maven Compiler Plugin
+
+  The Compiler Plugin is used to compile the sources of your project.  The
+  default compiler is <<<javac>>> and is used to compile Java sources.  Other
+  compilers can be used and work has already started on AspectJ, .NET, and C#.
+
+  This Compiler Plugin is the Maven 2 version of Maven 1.x's Java Plugin.
+
+  <<NOTE:>> <To know more about the Java JDK 1.4 javac, please see:
+  {{http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html#basic}}.>
+
+* Goals Overview
+
+  The Compiler Plugin has two goals.  Both are already bound to their proper
+  phases within the Maven Lifecycle and are therefore, automatically executed
+  during their respective phases.
+
+  * {{{compile-mojo.html}compiler:compile}} is bound to the compile phase and
+  is used to compile the main source files.
+
+  * {{{testCompile-mojo.html}compiler:testCompile}} is bound to the
+  test-compile phase and is used to compile the test source files.
+
+* Usage
+
+  Instructions on how to use the Compiler Plugin can be found
+  {{{usage.html}here}}.
+
+* Examples
+
+  To provide you with better understanding on some usages of the Compiler
+  Plugin, you can take a look into the following examples:
+
+  * {{{examples/compile-using-different-jdk.html}Compile Using A Different JDK}}
+
+  * {{{examples/set-compiler-source-and-target.html}Compile Using -source and -target javac Options}}
+
+  * {{{examples/compile-with-memory-enhancements.html}Compile Using Memory Allocation Enhancement}}
+
+  * {{{examples/pass-compiler-arguments.html}Pass Compiler Arguments}}

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/non-javac-compilers.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/non-javac-compilers.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/non-javac-compilers.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,78 @@
+ ------
+ Using Non-Javac Compilers
+ ------
+ Edwin Punzalan
+ ------
+ 19 July 2006
+ ------
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Using Non-Javac Compilers
+
+  Contrary to this plugin's name, the Compiler Plugin does not compile the
+  sources of your project by itself. To compile, the Compiler Plugin uses
+  another class to compile them. The parameter <<<compilerId>>> determines
+  which class will be used. Currently, the Compiler Plugin is bundled with the
+  <<<javac>>> compiler artifact with artifactId <<<plexus-compiler-javac>>>,
+  which can be seen as one of the dependencies declared inside the Compiler
+  Plugin's POM.
+
+  Plexus have some other compiler Ids available under the groupId
+  <<<org.codehaus.plexus>>>:
+
+  * <<<aspectj>>> with artifactId <<<plexus-compiler-aspectj>>>.
+
+  * <<<csharp>>> with artifactId <<<plexus-compiler-csharp>>>.
+
+  * <<<eclipse>>> with artifactId <<<plexus-compiler-eclipse>>>.
+
+  * <<<jikes>>> with artifactId <<<plexus-compiler-jikes>>>.
+
+
+* Using The Other Plexus Compilers
+
+  To use any of the non-javac compilers, you need to make the artifact available
+  in the classpath when the Compiler Plugin runs. This is possible by adding the
+  dependency when declaring the plugin in your project's pom.xml. The example
+  below shows how to use the <<<csharp>>> compiler:
+
++-----
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      [...]
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compilerId>csharp</compilerId>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-compiler-csharp</artifactId>
+            <version>1.5.2</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+  [...]
+</project>
++-----

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/usage.apt
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/usage.apt	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/apt/usage.apt	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,69 @@
+ ------
+ Usage
+ ------
+ Edwin Punzalan
+ ------
+ 05 July 2006
+
+~~ Copyright 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+
+Maven 2 Compiler Plugin: Usage
+
+* Compiling Your Java Sources
+
+  The goals for the Compiler Plugin are bound to their respective phases in the
+  build lifecycle.  So to compile your sources, you need only to tell maven
+  until which lifecycle to execute.  The following will compile your sources:
+
++-----
+mvn compile
++-----
+
+  To compile your test sources, you'll do:
+
++-----
+mvn test-compile
++-----
+
+  The above command will execute both <<<compiler:compile>>> and
+  <<<compiler:test-compile>>> since the compile phase happens a few phases
+  before the test-compile phase.
+
+* Configuring Your Compiler Plugin
+
+  Since the Compiler Plugin executes automatically during their phases, you
+  don't have to put <<<executions>>> unlike the other plugins.
+
++-----
+<project>
+  ...
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <!-- put your configurations here -->
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  ...
+</project>
++-----

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/fml/faq.fml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/fml/faq.fml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/fml/faq.fml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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.
+  -->
+
+<faqs id="FAQ" title="Frequently Asked Questions">
+  <part id="General">
+    <faq id="compile-error-reports">
+      <question>Is there a way to get Maven to report the number of compile errors found?</question>
+      <answer>
+        <p>
+          Currently, this type of summary information is not built into the compiler plugin, but it
+          would be possible to add. If this feature is important to you, add your vote to
+          <a href="http://jira.codehaus.org/browse/MNG-1854">MNG-1854</a>
+          .
+        </p>
+      </answer>
+    </faq>
+    <faq id="how-to-add-generated-sources">
+      <question>How do I add my generated sources to the compile path of Maven, when using modello?</question>
+      <answer>
+        <p>Modello generate the sources in the generate-sources phase and automatically adds the
+          source directory for compilation in maven. So you don't have to copy the generated sources.
+        </p>
+        <p>You have to declare the modello-plugin in the build of your plugin for source generation
+          (in that way the sources are generated each time).
+        </p>
+        <p>The Modello website can be found
+          <a href="http://modello.codehaus.org/">here</a>
+          .
+        </p>
+      </answer>
+    </faq>
+  </part>
+</faqs>

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/site.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/site.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/site.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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>
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="Goals" href="plugin-info.html"/>
+      <item name="Usage" href="usage.html"/>
+      <item name="FAQ" href="faq.html"/>
+    </menu>
+    <menu name="Examples">
+      <item name="Compile Using A Different JDK" href="examples/compile-using-different-jdk.html"/>
+      <item name="Compile Using -source and -target javac Options" href="examples/set-compiler-source-and-target.html"/>
+      <item name="Compile Using Memory Allocation Enhancements" href="examples/compile-with-memory-enhancements.html"/>
+      <item name="Pass Compiler Arguments" href="examples/pass-compiler-arguments.html"/>
+      <item name="Non-javac compilerIds" href="non-javac-compilers.html"/>
+    </menu>
+  </body>
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/site/site.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,308 @@
+package org.apache.maven.plugin;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.stubs.CompilerManagerStub;
+import org.apache.maven.plugin.stubs.DebugEnabledLog;
+import org.apache.maven.plugin.testing.AbstractMojoTestCase;
+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 CompilerMojoTestCase
+    extends AbstractMojoTestCase
+{
+    /**
+     * tests the ability of the plugin to compile a basic file
+     *
+     * @throws Exception
+     */
+    public void testCompilerBasic()
+        throws Exception
+    {
+        CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
+
+        compileMojo.execute();
+
+        File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile0.class" );
+
+        assertTrue( testClass.exists() );
+
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
+
+        testCompileMojo.execute();
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile0Test.class" );
+
+        assertTrue( testClass.exists() );
+    }
+
+    /**
+     * tests the ability of the plugin to respond to empty source
+     *
+     * @throws Exception
+     */
+    public void testCompilerEmptySource()
+        throws Exception
+    {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-empty-source-test/plugin-config.xml" );
+
+        compileMojo.execute();
+
+        assertFalse( compileMojo.getOutputDirectory().exists() );
+
+        TestCompilerMojo testCompileMojo =
+            getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-empty-source-test/plugin-config.xml" );
+
+        testCompileMojo.execute();
+
+        assertFalse( testCompileMojo.getOutputDirectory().exists() );
+    }
+
+    /**
+     * tests the ability of the plugin to respond to includes and excludes correctly
+     *
+     * @throws Exception
+     */
+    public void testCompilerIncludesExcludes()
+        throws Exception
+    {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-includes-excludes-test/plugin-config.xml" );
+
+        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(), "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();
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile2TestCase.class" );
+        assertFalse( testClass.exists() );
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile3TestCase.class" );
+        assertFalse( testClass.exists() );
+
+        testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile4TestCase.class" );
+        assertTrue( testClass.exists() );
+    }
+
+    /**
+     * tests the ability of the plugin to fork and successfully compile
+     *
+     * @throws Exception
+     */
+    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" );
+
+        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
+        }
+    }
+
+    public void testCompileFailOnError()
+        throws Exception
+    {
+        CompilerMojo compileMojo =
+            getCompilerMojo( "target/test-classes/unit/compiler-failonerror-test/plugin-config.xml" );
+
+        setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub( true ) );
+
+        try
+        {
+            compileMojo.execute();
+            assertTrue( true );
+        }
+        catch ( CompilationFailureException e )
+        {
+            fail( "The compilation error should have been consumed because failOnError = false" );
+        }
+    }
+
+    private CompilerMojo getCompilerMojo( String pomXml )
+        throws Exception
+    {
+        File testPom = new File( getBasedir(), pomXml );
+
+        CompilerMojo mojo = (CompilerMojo) lookupMojo( "compile", testPom );
+
+        setVariableValueToObject( mojo, "log", new DebugEnabledLog() );
+        setVariableValueToObject( mojo, "projectArtifact", new ArtifactStub() );
+        setVariableValueToObject( mojo, "classpathElements", Collections.EMPTY_LIST );
+
+        assertNotNull( mojo );
+
+        return mojo;
+    }
+
+    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 );
+
+        String testSourceRoot = testPom.getParent() + "/src/test/java";
+        setVariableValueToObject( mojo, "compileSourceRoots", Collections.singletonList( testSourceRoot ) );
+
+        return mojo;
+    }
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,48 @@
+package org.apache.maven.plugin.stubs;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 );
+    }
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,107 @@
+package org.apache.maven.plugin.stubs;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.CompilerConfiguration;
+import org.codehaus.plexus.compiler.CompilerError;
+import org.codehaus.plexus.compiler.CompilerException;
+import org.codehaus.plexus.compiler.CompilerOutputStyle;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * @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];
+    }
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,39 @@
+package org.apache.maven.plugin.stubs;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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;
+    }
+}


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,37 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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-basic-test/src/main/java</compileSourceRoot>
+          </compileSourceRoots>
+          <compilerId>javac</compilerId>
+          <debug>true</debug>
+          <outputDirectory>${basedir}/target/test/unit/compiler-basic-test/target/classes</outputDirectory>
+          <buildDirectory>${basedir}/target/test/unit/compiler-basic-test/target</buildDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,38 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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-empty-source-test/src/main/java
+            </compileSourceRoot>
+          </compileSourceRoots>
+          <compilerId>javac</compilerId>
+          <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>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,37 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,38 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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>
+          <failOnError>false</failOnError>
+          <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>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,47 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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>
+          <fork>true</fork>
+          <!--
+             basedir is required to be set when forking
+          -->
+          <basedir>${basedir}</basedir>
+          <meminitial>64m</meminitial>
+          <maxmem>128m</maxmem>
+          <showWarnings>true</showWarnings>
+          <verbose>true</verbose>
+          <compileSourceRoots>
+            <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-fork-test/src/main/java</compileSourceRoot>
+          </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>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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
+{
+
+    public TestCompile1()
+    {
+
+        System.out.println( "Woo Hoo!" );
+    }
+
+}
\ No newline at end of file


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,59 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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-includes-excludes-test/src/main/java
+            </compileSourceRoot>
+          </compileSourceRoots>
+          <!--
+          one would think that if you specifically include something and then do a pattern exclude that happened
+          to catch that include, the include would take precedence...which it doesn't seem to
+          -->
+          <!--
+          <includes>
+              <includes>**/TestCompile4.java</includes>
+          </includes>
+          <excludes>
+            <exclude>**/TestCompile*.java</exclude>
+          </excludes>
+          -->
+
+          <!--includes>
+                <includes>**/TestCompile4*.java</includes>
+          </includes>
+          <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>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,38 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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-test/src/main/java
+            </compileSourceRoot>
+          </compileSourceRoots>
+          <compilerId>javac</compilerId>
+          <debug>true</debug>
+          <outputDirectory>${basedir}/target/test/unit/compiler-one-output-file-test/target/classes</outputDirectory>
+          <buildDirectory>${basedir}/target/test/unit/compiler-one-output-file-test/target</buildDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,38 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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>


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java
===================================================================
--- projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java	                        (rev 0)
+++ projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java	2008-05-01 08:52:18 UTC (rev 72911)
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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


Property changes on: projects/maven/plugins/branches/maven-compiler-plugin-2.0.2/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jboss-cvs-commits mailing list