HDDS-1629. Tar file creation can be optional for non-dist builds. Contributed by Elek, Marton. (#887)
This commit is contained in:
parent
1fc359fc10
commit
e140a45046
49
hadoop-ozone/dist/pom.xml
vendored
49
hadoop-ozone/dist/pom.xml
vendored
@ -225,24 +225,6 @@
|
|||||||
</arguments>
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
|
||||||
<id>tar-ozone</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>exec</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<executable>${shell-executable}</executable>
|
|
||||||
<workingDirectory>${project.build.directory}
|
|
||||||
</workingDirectory>
|
|
||||||
<arguments>
|
|
||||||
<argument>${basedir}/dev-support/bin/dist-tar-stitching
|
|
||||||
</argument>
|
|
||||||
<argument>${hdds.version}</argument>
|
|
||||||
<argument>${project.build.directory}</argument>
|
|
||||||
</arguments>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- there is no problem to have multiple versions of the jar files from
|
<!-- there is no problem to have multiple versions of the jar files from
|
||||||
@ -374,6 +356,37 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dist</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>tar-ozone</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<executable>${shell-executable}</executable>
|
||||||
|
<workingDirectory>${project.build.directory}
|
||||||
|
</workingDirectory>
|
||||||
|
<arguments>
|
||||||
|
<argument>${basedir}/dev-support/bin/dist-tar-stitching
|
||||||
|
</argument>
|
||||||
|
<argument>${hdds.version}</argument>
|
||||||
|
<argument>${project.build.directory}</argument>
|
||||||
|
</arguments>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user