Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/pom.xml?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/pom.xml
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/pom.xml
 Tue Sep 16 20:58:10 2014
@@ -1,49 +1,69 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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/xsd/maven-4.0.0.xsd";>
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.apache.maven.plugins.compiler.it</groupId>
-  <artifactId>mcompiler-21_methodname-change</artifactId>
-  <version>1.0-SNAPSHOT</version>
-
-  <description>
-    This IT tests what happens if the method name in a single class BeanA gets 
changed.
-    In this case 'mvn compile' (without a clean) should fail as  BeanA2
-    still uses the old method of BeanA.
-  </description>
-
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>@project.version@</version>
-        </plugin>      
-      </plugins>
-    </pluginManagement> 
-    <plugins>
-      <plugin>
-        <!-- Called as second invoker goal to simulate file adjustment -->
-        <groupId>org.codehaus.gmaven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
-        <version>1.4</version>
-        <configuration>
-          <source>
-            def beanAFile = new File( project.basedir, 
'src/main/java/BeanA.java' )
-            
-            processFileInplace( beanAFile ) { text -> 
-              text.replaceAll( /getI/, 'getI_doesntexistanymore')
-            }
-            
-            def processFileInplace(file, Closure processText) {
-              def text = file.text
-              file.write(processText(text))
-            }
-          </source>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
+<?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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.compiler.it</groupId>
+  <artifactId>mcompiler-21_methodname-change</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <description>
+    This IT tests what happens if the method name in a single class BeanA gets 
changed.
+    In this case 'mvn compile' (without a clean) should fail as  BeanA2
+    still uses the old method of BeanA.
+  </description>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>@project.version@</version>
+        </plugin>      
+      </plugins>
+    </pluginManagement> 
+    <plugins>
+      <plugin>
+        <!-- Called as second invoker goal to simulate file adjustment -->
+        <groupId>org.codehaus.gmaven</groupId>
+        <artifactId>gmaven-plugin</artifactId>
+        <version>1.4</version>
+        <configuration>
+          <source>
+            def beanAFile = new File( project.basedir, 
'src/main/java/BeanA.java' )
+            
+            processFileInplace( beanAFile ) { text -> 
+              text.replaceAll( /getI/, 'getI_doesntexistanymore')
+            }
+            
+            def processFileInplace(file, Closure processText) {
+              def text = file.text
+              file.write(processText(text))
+            }
+          </source>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java
 Tue Sep 16 20:58:10 2014
@@ -1,15 +1,34 @@
-/**
- * dumb test bean
- */
-public class BeanA {
-
-    private int i,y;
-
-    public int getI() {
-        return i;
-    }
-
-    public void setI(int i) {
-        this.i = i;
-    }
-}
+/*
+ * 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.
+ */
+
+/**
+ * dumb test bean
+ */
+public class BeanA {
+
+    private int i,y;
+
+    public int getI() {
+        return i;
+    }
+
+    public void setI(int i) {
+        this.i = i;
+    }
+}

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java
 Tue Sep 16 20:58:10 2014
@@ -1,16 +1,35 @@
-/**
- * dumb test bean
- */
-public class BeanA2 {
-
-    private int i;
-    private BeanA beanA;
-
-    public int getI() {
-        return beanA.getI();
-    }
-
-    public void setI(int i) {
-        beanA.setI(i);
-    }
-}
+/*
+ * 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.
+ */
+
+/**
+ * dumb test bean
+ */
+public class BeanA2 {
+
+    private int i;
+    private BeanA beanA;
+
+    public int getI() {
+        return beanA.getI();
+    }
+
+    public void setI(int i) {
+        beanA.setI(i);
+    }
+}

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/invoker.properties?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/invoker.properties
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/invoker.properties
 Tue Sep 16 20:58:10 2014
@@ -1,2 +1,19 @@
+# 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.
+
 # NOTE: javac has been localized for Japanese, i.e. javac won't output English 
messages in this locale...
 invoker.mavenOpts = -Duser.language=ja

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/main/java/MyClass.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/main/java/MyClass.java?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/main/java/MyClass.java
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/main/java/MyClass.java
 Tue Sep 16 20:58:10 2014
@@ -1,3 +1,22 @@
+/*
+ * 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 MyClass
 {
 

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/test/java/MyTest.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/test/java/MyTest.java?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/test/java/MyTest.java
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/src/test/java/MyTest.java
 Tue Sep 16 20:58:10 2014
@@ -1,3 +1,22 @@
+/*
+ * 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 MyTest
 {
 

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/verify.bsh?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/verify.bsh
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/non-english-warnings/verify.bsh
 Tue Sep 16 20:58:10 2014
@@ -1,3 +1,22 @@
+/*
+ * 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 java.io.*;
 import java.util.*;
 import java.util.regex.*;

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/test1/src/main/java/MyClass.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/test1/src/main/java/MyClass.java?rev=1625390&r1=1625389&r2=1625390&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/test1/src/main/java/MyClass.java
 (original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/test1/src/main/java/MyClass.java
 Tue Sep 16 20:58:10 2014
@@ -1,3 +1,22 @@
+/*
+ * 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 MyClass
 {
 


Reply via email to