I need to untar a arbitrary tar.gz file(not an artifact) using maven. I used following plugin, but it untar all the content of the tar.gz file in some other .tar file. I need to get all the content to a specific folder rather than to some other tar file. Please suggest what else can I do.
Here is my pom.xml module:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>prepare</id>
<phase>validate</phase>
<configuration>
<tasks>
<echo message="prepare phase" />
<gunzip src="../gui/src/CelGui/target/cel-gui.tar.gz"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>