I guess you are declaring your dependency in your parents to tell
Maven which version it should use? If it's the case, you should should
use the dependencyManagement section instead.
On 4/7/06, Vijay Shanker [EMAIL PROTECTED] wrote:
Thanks Alexandre,
Sorry for confusion.
Actually, I have following parent POM
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopecompile/scope
/dependency
dependency
groupIdj2ee/groupId
artifactIdj2ee/artifactId
version1.5/version
scopecompile/scope
/dependency
dependency
groupIdcom.honda/groupId
artifactIdGALC_Core/artifactId
version1.0/version
scopecompile/scope
/dependency
Now, I would like to exclude GALC_Core dependency inside child POM. I think
we can use dependencyManagement tag in parnet POM.
Now I have problem that Continuum is not building all projects, when I try to
build parent POM. Any suggestion would be appreciated.
Thanks,
Vijay
From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Sent: Fri 4/7/2006 7:40 AM
To: Maven Users List
Subject: Re: excluding parent jar
You can't have a parent project which produce a jar file. A parent
project should always have a pom packaging value.
On 4/6/06, Vijay Shanker [EMAIL PROTECTED] wrote:
Hi there,
Could you please let me know how to exclude parent POM's jar in child POM?
I have following pom.xml
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopecompile/scope
/dependency
dependency
groupIdj2ee/groupId
artifactIdj2ee/artifactId
version1.5/version
scopecompile/scope
/dependency
dependency
groupIdcom.honda/groupId
artifactIdGALC_Core/artifactId
version1.0/version
scopecompile/scope
/dependency
I would like to exclude GALC_Core in child POM.
Thanking you in advance.
Vijay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Alexandre Poitras
Québec, Canada
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Alexandre Poitras
Québec, Canada
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]