I do this using the maven assembly plugin... in the pom use the following
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>build/maven-build.xml</descriptor>
</descriptors>
</configuration>
</plugin>
And then in my maven-build.xml I have something like this...
<assembly>
<id>dep</id>
<formats>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>target</directory>
<includes><include>*.jar</include></includes>
<outputDirectory>/lib</outputDirectory>
</fileSet>
<fileSet>
<includes>
<include>*.sh</include>
</includes>
<fileMode>0755</fileMode>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<unpack>false</unpack>
<scope>runtime</scope>
</dependencySet>
</dependencySets>
</assembly>