/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
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
.
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
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
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
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
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
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
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