On 3/17/2011 9:08 AM, Nguyen Tien Luong 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.
We have a similar need. We do it outside maven with a launch script that copies everything when we launch project B.
We have another case where a lot of files need to be copied from one project to another at build time. We do it using Ant. You can call Ant from within maven. Ant has good tools for zipping and unzipping.
Another way to do it is by creating your own maven plugin and doing it in Java.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
