浏览代码

HDDS-1135. Ozone jars are missing in the Ozone Snapshot tar. Contributed by Dinesh Chitlangia.

Márton Elek 6 年之前
父节点
当前提交
642fe6a260
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      hadoop-ozone/dist/pom.xml

+ 3 - 3
hadoop-ozone/dist/pom.xml

@@ -38,7 +38,7 @@
         <executions>
         <executions>
           <execution>
           <execution>
             <id>copy-classpath-files</id>
             <id>copy-classpath-files</id>
-            <phase>package</phase>
+            <phase>prepare-package</phase>
             <goals>
             <goals>
               <goal>copy</goal>
               <goal>copy</goal>
             </goals>
             </goals>
@@ -108,7 +108,7 @@
           </execution>
           </execution>
           <execution>
           <execution>
             <id>copy-jars</id>
             <id>copy-jars</id>
-            <phase>package</phase>
+            <phase>prepare-package</phase>
             <goals>
             <goals>
               <goal>copy-dependencies</goal>
               <goal>copy-dependencies</goal>
             </goals>
             </goals>
@@ -126,7 +126,7 @@
         <executions>
         <executions>
           <execution>
           <execution>
             <id>dist</id>
             <id>dist</id>
-            <phase>prepare-package</phase>
+            <phase>compile</phase>
             <goals>
             <goals>
               <goal>exec</goal>
               <goal>exec</goal>
             </goals>
             </goals>