Ver código fonte

HADOOP-17661. mvn versions:set fails to parse pom.xml. (#2952)

Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Reviewed-by: Hui Fei <ferhui@apache.org>
Wei-Chiu Chuang 4 anos atrás
pai
commit
66dda86fec
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      hadoop-project/pom.xml

+ 5 - 5
hadoop-project/pom.xml

@@ -2283,11 +2283,11 @@
               <fork>true</fork>
               <fork>true</fork>
               <source>${javac.version}</source>
               <source>${javac.version}</source>
               <target>${javac.version}</target>
               <target>${javac.version}</target>
-              <compilerArguments>
-                <Xlint/>
-				<Xlint:-unchecked/>
-                <Xmaxwarns>9999</Xmaxwarns>
-              </compilerArguments>
+              <compilerArgs>
+                <arg>-Xlint</arg>
+                <arg>-Xlint:unchecked</arg>
+                <arg>-Xmaxwarns=9999</arg>
+              </compilerArgs>
             </configuration>
             </configuration>
           </plugin>
           </plugin>
         </plugins>
         </plugins>