RE: Unwanted jars getting copied

2011-03-21 Thread Fuke, Amol
/plugin /plugins /build /project -Original Message- From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com] Sent: Tuesday, March 01, 2011 10:58 PM To: Fuke, Amol Cc: Maven Users List Subject: Re: Unwanted jars getting copied On 1 March 2011 10

Re: Unwanted jars getting copied

2011-03-21 Thread Kalpak Gadre
jars getting copied On 1 March 2011 10:24, Fuke, Amolamol.fuke...@nielsen.com wrote: Also is there any way we can replace hard coding with variable names? I have below code and I want server path with variables. target delete includeEmptyDirs=true dir=C:/Tomcat6/webapps/outbound

RE: Unwanted jars getting copied

2011-03-01 Thread Fuke, Amol
. Thanks, Amol -Original Message- From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com] Sent: Monday, February 28, 2011 10:39 PM To: Maven Users List Cc: Fuke, Amol Subject: Re: Unwanted jars getting copied On 28 February 2011 06:53, Fuke, Amol amol.fuke...@nielsen.com wrote:  I am using

RE: Unwanted jars getting copied

2011-03-01 Thread Fuke, Amol
Users List Subject: Re: Unwanted jars getting copied On 1 March 2011 05:29, Fuke, Amol amol.fuke...@nielsen.com wrote: Thanks Hilco for the reply. We are using war plugin also; plugin                                groupIdorg.apache.maven.plugins/groupId

Re: Unwanted jars getting copied

2011-03-01 Thread Hilco Wijbenga
On 1 March 2011 10:24, Fuke, Amol amol.fuke...@nielsen.com wrote: Also is there any way we can replace hard coding with variable names? I have below code and I want server path with variables. target        delete includeEmptyDirs=true dir=C:/Tomcat6/webapps/outbound /        copy

Re: Unwanted jars getting copied

2011-02-28 Thread Hilco Wijbenga
On 28 February 2011 06:53, Fuke, Amol amol.fuke...@nielsen.com wrote:  I am using below snippet to copy dependant jars from lib to war. But this also copying some unwanted jars like rt.jar and tools.jar.  Is there any way I exclude them from getting copied into my war.  plugin  

Re: Unwanted jars getting copied

2011-02-28 Thread Hilco Wijbenga
On 1 March 2011 05:29, Fuke, Amol amol.fuke...@nielsen.com wrote: Thanks Hilco for the reply. We are using war plugin also; plugin                                groupIdorg.apache.maven.plugins/groupId                                artifactIdmaven-war-plugin/artifactId                    

Unwanted jars getting copied

2011-02-27 Thread Fuke, Amol
Hi All , I am using below snippet to copy dependant jars from lib to war. But this also copying some unwanted jars like rt.jar and tools.jar. Is there any way I exclude them from getting copied into my war. plugin artifactIdmaven-dependency-plugin/artifactId executions

Re: Unwanted jars getting copied

2011-02-27 Thread Sumit Teke
You can either use config parameters under dependency plugin *excludeArtifactIds http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeArtifactIds* String 2.0 Comma separated list of Artifact names too exclude. *excludeGroupIds