Hi,

I'm trying to include extracted archive into a .deb package, but it doesn't
seems to work.

I use this in pom.xml

            <extractFile>
             
<archive>target/apache-activemq-${activemq-version}-bin.tar.gz</archive>
              <to>/opt/activemq/</to>
            </extractFile>

but it seems it just copy the archive to the given file name, so I get this
in the log

[INFO] Copy directory:
[INFO]  From:
/home/dejanb/workspace/oss/activemq/trunk/assembly/target/apache-activemq-5.4-SNAPSHOT-bin.tar.gz
[INFO]  To: opt/apache-activemq
[INFO]  No includes set
[INFO]  No excludes set
[INFO]  Pattern: null, replacement: null
[INFO]  Attributes:
[INFO]  File     : user=nobody, group=nogroup, mode=rw-r--r--
[INFO]  Directory: user=nobody, group=nogroup, mode=rwxr-xr-x

and this when listing the archive

-rw-r--r-- dejanb/dejanb 35869261 2010-04-01 13:48 ./opt/apache-activemq


Trying to extract this file works. I tried various values for include,
pattern,etc options but with no much luck.

Any pointers regarding this would be appreciated.

Regards

-----
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
-- 
View this message in context: 
http://old.nabble.com/unix-maven-plugin-%3CextractFile%3E-tp28107779p28107779.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to