Sorry this was my stupid mistake. I had named the EAR project id the
same as the main project id.
Usually when I do this (copy and paste bloop) I do it among 2
subprojects.. It's pretty obvious when you do that because the build
will skip one of the subprojects but I guess when it's between the main
and a child project it causes other issues. :-/

Thanks :)
Tim Chen
[EMAIL PROTECTED]


-----Original Message-----
From: Jefferson K. French [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 13, 2003 12:17 AM
To: Maven Users List
Subject: Re: ear Module breaks multiproject


Do you have any dependencies to build your EAR in your main project.xml?
If so, that could be the problem since your ear/project.xml will inherit
the dependencies.

  Jeff

On Fri, 12 Dec 2003, at 13:02:49 [GMT -0500] Tim Chen wrote:

> I followed the link on someone else post and trimmed by project.xml 
> and
> project.properties.
> I found that I get the error regardless of whether the type is a jar
or 
> an ear.
> Any ideas what might cause a plugin to lose it's goal definitions?

> +----------------------------------------
> | Executing multiproject:install-callback MIT Factory Ear Module
> | Memory: 37M/51M
> +----------------------------------------

> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/
> Element... maven:reactor
> Line...... 174
> Column.... 9
> Unknown goal "multiproject:install-callback"
> Total time: 39 seconds
> Finished at: Fri Dec 12 12:59:53 EST 2003

> Thanks.
> -Tim

> maven.multiproject.type=ear
> maven.ear.appxml.generate=true

> --------------------

> <?xml version="1.0"?>
> <project>
>     <extend>${basedir}/../../project.xml</extend>
>     <!-- a unique name for this project -->
>     <groupId>MITFactory</groupId>
>     <id>MITFactory</id>
>     <name>MIT Factory Ear Module</name>
>     <description>Sample EAR project.</description>
>     <shortDescription>Sample EAR project</shortDescription>
>     <dependencies>
>         <dependency>
>             <groupId>${pom.groupId}</groupId>
>             <artifactId>MITFactoryBackend</artifactId>
>             <version>${pom.currentVersion}</version>
>             <type>ejb</type>
>             <properties>
>                 <ear.bundle>true</ear.bundle>
>             </properties>
>         </dependency>
>         <dependency>
>             <groupId>${pom.groupId}</groupId>
>             <artifactId>MITFactoryCommon</artifactId>
>             <version>${pom.currentVersion}</version>
>             <properties>
>                 <ear.bundle>true</ear.bundle>
>             </properties>
>         </dependency>
>         <dependency>
>             <groupId>${pom.groupId}</groupId>
>             <artifactId>MITFactoryService</artifactId>
>             <version>${pom.currentVersion}</version>
>             <type>sar</type>
>             <properties>
>                 <ear.bundle>true</ear.bundle>
>             </properties>
>         </dependency>
>         <dependency>
>             <groupId>${pom.groupId}</groupId>
>             <artifactId>MITFactoryDatasource</artifactId>
>             <version>${pom.currentVersion}</version>
>             <type>sar</type>
>             <properties>
>                 <ear.bundle>true</ear.bundle>
>             </properties>
>         </dependency>
>     </dependencies>
> </project>

-- 
mailto:[EMAIL PROTECTED]



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