Hi, We already had this discussion quite a while ago. You need to specify the type since you could perfectly have an artifiact with the same group/artifact IDs and a different type.
I agree things would be easier if maven would guess, but less safe as well. Hope it helpes, Stéphane On 11/24/05, Duane Homick <[EMAIL PROTECTED]> wrote: > > Thanks Henry and Alex for the help. Based on your suggestions, I was > able to get this setup and running in JBoss with very few further > complications. > > However, there was one complication that I had when defining my ear > project. I setup a dependency on the ejb-jar project which in turn > created a dependency on the jar utility project. However, the > application.xml file did NOT contain any modules in it. It wasn't until > I set the dependency/type to ejb for my dependency on the ejb-jar file > that it was able to realize it needed to add an ejb-module to my > application.xml. Is this a bug? I figured Maven would be able to > determine the dependency type itself without needing me to specify the > type explicitly. > > Other than that, it works like a charm. Thanks for the help! > > -----Original Message----- > From: Henry Isidro [mailto:[EMAIL PROTECTED] > Sent: November 23, 2005 10:15 PM > To: Maven Users List > Subject: Re: EJB with Maven2 > > Alexandre Poitras wrote: > > >I think he also needs to add manifest entries so the ejb jar can loads > >class from the other jar. If you don't do that your A project won't be > >in your B project class path. > > > > > > > Yup you're right there...I didn't mention it anymore since you already > said something about it. Anyway, hope this clears things up. > > Regards, > Henry > > --------------------------------------------------------------------- > 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] > > -- .::You're welcome ::.