How to unzip with Maven: http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-dependencies-mojo.html How to call other plugins from your mojo: http://stackoverflow.com/questions/4243686/how-to-programatically-invoke-a-maven-dependency-plugin/5761554#5761554 Google is your friend... Cody Fyler Lending Grid Build Team [email protected] (515)-441-0814 -----Original Message----- From: Brett Vanderveen [mailto:[email protected]] Sent: Monday, June 24, 2013 8:26 AM To: Maven Users List Subject: Re: Maven zip artifact Hi Igor, I have seen people use the Maven Antrun plugin<https://people.apache.org/~aramirez/maven-antrun-plugin/usage.html>for this: <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>install</phase> <configuration> <tasks> <!-- Using an ant task to deflate dependency.zip --> <unzip dest="${project.basedir}/deploy/target" src="dependency.zip"/> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> It's not the most elegant method, but maybe someone else can inform us of a better way. *Brett VanderVeen* | [email protected] *Gordon Food Service(r)* | IS Transportation | *www.gfs.com* P 616-717-6042 | C 630-310-0172 Street: 1300 Gezon Parkway SW | Wyoming, MI 49509-9300 Mail: Mail Code 12003 | PO Box 1787 | Grand Rapids, MI 49501-1787 On Sun, Jun 23, 2013 at 6:07 AM, Igor Zapletnev <[email protected]>wrote: > Hi all, > > I have an artifact that has dependency to artifact with zip package type. > How I can get an access (unzip and manager files inside) during > runtime in my custom Mojo? > > Thanks, > Igor > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
