How to unpack files using maven?
2 answers
From what I know, .tgz can be unpacked using two commands:
gzip -d file.tgz
tar xvf file.tar
Thus, you can use the maven-antrun-plugin to accomplish these two tasks:
<gunzip src="tools.tgz"/>
<untar src="tools.tar" dest="${tools.home}"/>
+5
source to share