You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2007/01/15 04:46:21 UTC
svn commit: r496220 [1/2] - in /maven/plugins/trunk/maven-compiler-plugin:
./ src/it/ src/it/test1/ src/main/java/org/apache/maven/plugin/ src/site/
src/site/fml/ src/test/java/org/apache/maven/plugin/
src/test/java/org/apache/maven/plugin/stubs/ src/t...
Author: brett
Date: Sun Jan 14 19:46:19 2007
New Revision: 496220
URL: http://svn.apache.org/viewvc?view=rev&rev=496220
Log:
update license headers, reformat
Modified:
maven/plugins/trunk/maven-compiler-plugin/pom.xml
maven/plugins/trunk/maven-compiler-plugin/src/it/pom.xml
maven/plugins/trunk/maven-compiler-plugin/src/it/test1/pom.xml
maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerMojo.java
maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml
maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/plugin-config.xml
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java
maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java
Modified: maven/plugins/trunk/maven-compiler-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/pom.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/pom.xml Sun Jan 14 19:46:19 2007
@@ -1,5 +1,26 @@
<?xml version='1.0' encoding='UTF-8'?>
-<project 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' xmlns='http://maven.apache.org/POM/4.0.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.
+ -->
+
+<project 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'
+ xmlns='http://maven.apache.org/POM/4.0.0'>
<parent>
<artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/it/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/pom.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/it/pom.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/it/pom.xml Sun Jan 14 19:46:19 2007
@@ -1,9 +1,28 @@
<?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">
+ 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>
@@ -12,6 +31,6 @@
<modules>
<module>test1</module>
- </modules>
+ </modules>
</project>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/it/test1/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/test1/pom.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/it/test1/pom.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/it/test1/pom.xml Sun Jan 14 19:46:19 2007
@@ -1,15 +1,34 @@
<?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">
+ 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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
package org.apache.maven.plugin;
/*
- * Copyright 2001-2005 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilationFailureException.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilationFailureException.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilationFailureException.java Sun Jan 14 19:46:19 2007
@@ -1,26 +1,29 @@
package org.apache.maven.plugin;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
-import org.codehaus.plexus.compiler.CompilerError;
-
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id$
@@ -50,6 +53,7 @@
/**
* 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
*/
Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerMojo.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerMojo.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerMojo.java Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
package org.apache.maven.plugin;
/*
- * Copyright 2001-2005 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
@@ -29,7 +32,7 @@
/**
* Compiles application sources
- *
+ *
* @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
* @version $Id$
* @goal compile
Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
package org.apache.maven.plugin;
/*
- * Copyright 2001-2005 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml Sun Jan 14 19:46:19 2007
@@ -1,42 +1,51 @@
<?xml version="1.0"?>
<!--
- ~ Copyright 2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
+ <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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
- ~ Copyright 2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/CompilerMojoTestCase.java Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
package org.apache.maven.plugin;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
@@ -39,8 +42,7 @@
public void testCompilerBasic()
throws Exception
{
- CompilerMojo compileMojo =
- getCompilerMojo( "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
+ CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-basic-test/plugin-config.xml" );
compileMojo.execute();
@@ -98,7 +100,7 @@
Set excludes = new HashSet();
excludes.add( "**/TestCompile2*.java" );
- excludes.add( "**/TestCompile3*.java");
+ excludes.add( "**/TestCompile3*.java" );
setVariableValueToObject( compileMojo, "excludes", excludes );
compileMojo.execute();
@@ -112,9 +114,8 @@
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" );
+ TestCompilerMojo testCompileMojo = getTestCompilerMojo( compileMojo,
+ "target/test-classes/unit/compiler-includes-excludes-test/plugin-config.xml" );
setVariableValueToObject( testCompileMojo, "testIncludes", includes );
setVariableValueToObject( testCompileMojo, "testExcludes", excludes );
@@ -158,7 +159,8 @@
public void testOneOutputFileForAllInput()
throws Exception
{
- CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-one-output-file-test/plugin-config.xml" );
+ CompilerMojo compileMojo =
+ getCompilerMojo( "target/test-classes/unit/compiler-one-output-file-test/plugin-config.xml" );
setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub() );
@@ -167,8 +169,8 @@
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" );
+ TestCompilerMojo testCompileMojo = getTestCompilerMojo( compileMojo,
+ "target/test-classes/unit/compiler-one-output-file-test/plugin-config.xml" );
setVariableValueToObject( testCompileMojo, "compilerManager", new CompilerManagerStub() );
@@ -181,8 +183,7 @@
public void testCompilerArgs()
throws Exception
{
- CompilerMojo compileMojo =
- getCompilerMojo( "target/test-classes/unit/compiler-args-test/plugin-config.xml" );
+ CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-args-test/plugin-config.xml" );
setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub() );
@@ -195,7 +196,8 @@
public void testOneOutputFileForAllInput2()
throws Exception
{
- CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-one-output-file-test2/plugin-config.xml" );
+ CompilerMojo compileMojo =
+ getCompilerMojo( "target/test-classes/unit/compiler-one-output-file-test2/plugin-config.xml" );
setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub() );
@@ -205,7 +207,7 @@
Set excludes = new HashSet();
excludes.add( "**/TestCompile2*.java" );
- excludes.add( "**/TestCompile3*.java");
+ excludes.add( "**/TestCompile3*.java" );
setVariableValueToObject( compileMojo, "excludes", excludes );
compileMojo.execute();
@@ -213,8 +215,8 @@
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" );
+ 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 );
@@ -229,8 +231,7 @@
public void testCompileFailure()
throws Exception
{
- CompilerMojo compileMojo =
- getCompilerMojo( "target/test-classes/unit/compiler-fail-test/plugin-config.xml" );
+ CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-fail-test/plugin-config.xml" );
setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub( true ) );
@@ -249,7 +250,8 @@
public void testCompileFailOnError()
throws Exception
{
- CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-failonerror-test/plugin-config.xml" );
+ CompilerMojo compileMojo =
+ getCompilerMojo( "target/test-classes/unit/compiler-failonerror-test/plugin-config.xml" );
setVariableValueToObject( compileMojo, "compilerManager", new CompilerManagerStub( true ) );
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerManagerStub.java Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
package org.apache.maven.plugin.stubs;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/CompilerStub.java Sun Jan 14 19:46:19 2007
@@ -1,30 +1,33 @@
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 org.codehaus.plexus.compiler.CompilerError;
import java.io.File;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
-
-/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
/**
* @author Edwin Punzalan
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/java/org/apache/maven/plugin/stubs/DebugEnabledLog.java Sun Jan 14 19:46:19 2007
@@ -1,19 +1,22 @@
package org.apache.maven.plugin.stubs;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile0()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile0()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-empty-source-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
@@ -21,7 +24,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compileSourceRoots>
- <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-empty-source-test/src/main/java</compileSourceRoot>
+ <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-empty-source-test/src/main/java
+ </compileSourceRoot>
</compileSourceRoots>
<compilerId>javac</compilerId>
<debug>true</debug>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile0()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
@@ -20,7 +23,7 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <failOnError>false</failOnError>
+ <failOnError>false</failOnError>
<compileSourceRoots>
<compileSourceRoot>${basedir}/target/test-classes/unit/compiler-fail-test/src/main/java</compileSourceRoot>
</compileSourceRoots>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile0()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile1()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/plugin-config.xml Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ 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
~
- ~ 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
~
- ~ 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.
+ ~ 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>
@@ -21,20 +24,21 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compileSourceRoots>
- <compileSourceRoot>${basedir}/target/test-classes/unit/compiler-includes-excludes-test/src/main/java</compileSourceRoot>
+ <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>
- -->
+ <!--
+ 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>
@@ -43,7 +47,7 @@
<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>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile2()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}
Modified: maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java?view=diff&rev=496220&r1=496219&r2=496220
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java Sun Jan 14 19:46:19 2007
@@ -1,17 +1,20 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * 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
*
- * 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
*
- * 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.
+ * 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
@@ -20,7 +23,7 @@
public TestCompile3()
{
- System.out.println("Woo Hoo!");
+ System.out.println( "Woo Hoo!" );
}
}