Thanks Alexandre,
 
Sorry for confusion.
Actually, I have following parent POM 
 
   <dependencies>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>3.8.1</version>
       <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>j2ee</groupId>
       <artifactId>j2ee</artifactId>
       <version>1.5</version>
       <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>com.honda</groupId>
       <artifactId>GALC_Core</artifactId>
       <version>1.0</version>
       <scope>compile</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>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>j2ee</groupId>
>       <artifactId>j2ee</artifactId>
>       <version>1.5</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>com.honda</groupId>
>       <artifactId>GALC_Core</artifactId>
>       <version>1.0</version>
>       <scope>compile</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]

Reply via email to