Hi
I'm using this plug-in and I've found the same problem when creating a pkg
package, the behaviur is to copy the file to a new one with the same name of
the <to> tag value . Have you found any solution?
Thanks
Dejan Bosanac wrote:
>
> 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
>
--
View this message in context:
http://old.nabble.com/unix-maven-plugin-%3CextractFile%3E-tp28107779p33168932.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