Browse Source

HADOOP-14677. mvn clean compile fails. Contributed by Andras Bokor.

Akira Ajisaka 7 years ago
parent
commit
0fd6d0f2d3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      hadoop-maven-plugins/pom.xml

+ 4 - 1
hadoop-maven-plugins/pom.xml

@@ -79,6 +79,9 @@
   </dependencies>
   <build>
     <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
@@ -86,7 +89,7 @@
         <executions>
           <execution>
             <id>default-descriptor</id>
-            <phase>process-classes</phase>
+            <phase>compile</phase>
           </execution>
         </executions>
       </plugin>