sonatype / install4j-support

Install4j Support
http://sonatype.github.io/install4j-support/
11 stars 11 forks source link

.tar.gz becomes .gz on attach #20

Closed stain closed 10 years ago

stain commented 10 years ago

If I use <attach>true</attach> with a install4j Unix archive, then the .tar extension is chopped of from .tar.gz on attachment:

[INFO] Installing /home/stain/src/net.sf.taverna.t2.taverna-commandline/target/media/taverna-commandline-core-2.5-SNAPSHOT-unix.tar.gz to /home/stain/.m2/repository/net/sf/taverna/t2/taverna-commandline-core/2.5-SNAPSHOT/taverna-commandline-core-2.5-SNAPSHOT-unix.gz

Suggested fix is to change CompileMojo#getType to have special cases for .tar.gz and .tar.bz2 (I will submit such a patch)

jdillon commented 10 years ago

fixed: https://github.com/sonatype/install4j-support/commit/8ffb5dd76381486a93fc25493b035155675ebd62

thx