"Darren Hartford" <[EMAIL PROTECTED]> wrote on 01/05/2004 12:19:02 AM:

> Hey all,
> Regarding Maven-1.0-rc2 (binary install) on Win2000, I have the 
> following in my project.xml:
> 
> ==snip==
>    <dependency>
>       <groupId>MYPROJECT</groupId>
>       <artifactId>MYEJBSESSION</artifactId>
>       <version>${pom.currentVersion}</version>
>       <type>ejb</type>
>       <properties>
>          <ear.bundle>true</ear.bundle>
>       </properties> 
>    </dependency> 
>    <dependency>
>       <groupId>MYPROJECT</groupId>
>       <artifactId>MYEJBSESSION</artifactId>
>       <version>${pom.currentVersion}</version>
>       <type>wsr</type>
>       <properties>
>          <ear.bundle>true</ear.bundle>
>       </properties> 
>    </dependency> 
> ==end snip==
> 
> the <type>wsr</type> is a Jboss WebService aRchive.  Maybe I 
> misunderstand, but shouldn't the EAR task just take the WSR file 
> (that is indeed in the repository) and add it to the EAR file? 
> There are no errors, and uncompressing the built EAR shows the JAR's
> are there but not the WSR's.

Both dependencies specify
>       <groupId>MYPROJECT</groupId>
>       <artifactId>MYEJBSESSION</artifactId>

In Maven 1.0, the <type> is not considered in deciding on whether a 
dependency is unique or not. The above is treated as a duplicate. Try 
changing the artifactId to MYWSR or something similar.

HTH,
--
dIon Gillard, Multitask Consulting


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to