Author: rfscholte
Date: Thu Oct  6 19:56:51 2016
New Revision: 1763652

URL: http://svn.apache.org/viewvc?rev=1763652&view=rev
Log:
[MCOMPILER-260] Incorrect <compilerArgs> behavior when multiple number <arg>'s 
have the same value

Added:
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/pom.xml
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/foo/
    
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/foo/MyClass.java

Added: 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/pom.xml?rev=1763652&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/pom.xml
 (added)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/pom.xml
 Thu Oct  6 19:56:51 2016
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.compiler.it</groupId>
+  <artifactId>mcompiler260</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <url>https://issues.apache.org/jira/browse/MCOMPILER-260</url>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>@project.version@</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+          <compilerArgs>
+              <arg>-Xmaxwarns</arg>
+              <arg>7</arg>
+              <arg>-Xmaxerrs</arg>
+              <arg>7</arg>
+          </compilerArgs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Added: 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/foo/MyClass.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/foo/MyClass.java?rev=1763652&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/foo/MyClass.java
 (added)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-260_customArguments/src/main/java/com/foo/MyClass.java
 Thu Oct  6 19:56:51 2016
@@ -0,0 +1,25 @@
+package com.foo;
+
+/*
+ * 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