Building ear, war without including resources (Maven 2.0)

2006-08-23 Thread daniele pirola
Hi, I am novice in Maven. I try to investigate if my company projects could be migrated to Maven and I have a question. We have building many projects creating ear files or war files without the corresponding resources, that is for example we deploy an application with an ear file and a

Re: Building ear, war without including resources (Maven 2.0)

2006-08-23 Thread Marco Mistroni
Hi, have same situation in my company. the quick fix i did was to use the maven-antrun-plugin to copy the content of those 'resource's directories int he target\ directory of my project that was my quick fix, i m sure some maven guru on the list will have a better solution hth marco On

Re: Building ear, war without including resources (Maven 2.0)

2006-08-23 Thread Alexandre Touret
Hello did you try to set the scope of the dependencies to system or runtime ? Regards, Alexandre daniele pirola wrote: Hi, I am novice in Maven. I try to investigate if my company projects could be migrated to Maven and I have a question. We have building many projects creating ear files or war

Re: Building ear, war without including resources (Maven 2.0)

2006-08-23 Thread Jim Stafford
This post shows a code-snippet of how one might do it. I wish I knew of a better way to refer to a specific dependency jar file within Ant so that I didn't need the crude use of fileset. Of course, I also wish the assmebly plugin had direct support for this use case as well.

RE: Building ear, war without including resources (Maven 2.0)

2006-08-23 Thread Douglas Ferguson
Could you set the scope on the dependency to compile? D- -Original Message- From: Jim Stafford [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 12:11 PM To: Maven Users List Subject: Re: Building ear, war without including resources (Maven 2.0) This post shows a code-snippet