Great thanks, I do use assembly-plugin and dependency-plugin in my situation :x
For someone want to know more: - [ Create ZIP file (don't really necessary): http://stackoverflow.com/questions/2514429/creating-a-zip-archive-of-the-maven-target-directory ] - Unpack : http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html Luong ________________________________ From: Jochen Wiedmann <jochen.wiedm...@gmail.com> To: Maven Users List <users@maven.apache.org> Sent: Thu, 17 March, 2011 15:17:45 Subject: Re: ZIP and UNZIP the code source in another project In PROJECT-A, use the assembly plugin to create an artifact. In PROJECT-B, use the dependency-plugin to extract said artifact. On Thu, Mar 17, 2011 at 3:08 PM, Nguyen Tien Luong <tienluon...@yahoo.com> wrote: > Hi maven's users, > > Maybe the title is not understandable enough, here is my example: > > I have PROJECT-A which contains only JSP files. > > For each PROJECT-B which depends on PROJECT-A, I want that maven go and get the > JSP files in PROJECT-A and put in PROJECT-B with same folder's structure. > > So I don't know if with maven, we have somethings to for example ZIP all JSP > file of PROJECT-A. When we have a dependency of PROJECT-A, maven will get this > compressing, UNZIP and copy in PROJECT-B > > Let me know if we have another way to do this kind of work. > > Thanks alot :x > > Luong > > > > -- I Am What I Am And That's All What I Yam (Popeye) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org