Your ejb pom has:
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee</artifactId>
</dependency>
Without a scope, it defaults to compile. Specify <scope>provided</scope>.
Also your ejb pom has the other two ejb3 jars specified as scope
system. I don't use system, but I'm guessing it works like compile
since the dependencies are being included. I think you should be able
to exclude it by adding it as an excluded dependency in your EAR pom
(??).
Wayne
On 3/10/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> hello all,
> i have a project whichcontains some subprojects..
> i am trying to build an ear out of my project, and when the ear is built
> there are additional jar file included
> that i don't need...
>
> i end up with my projects files plus
> - geronimo-spec-j2ee-1.4-rc4.jar,
> - ejb3-persistence-4.0.3
> - jboss-ejb3x-4.0.3.jar
>
>
>
> anyone could help me out?
>
> my dir structure is:
>
> main
> ------ shared
> ------ ejbs
> ------ web
> ------ ear
>
> here are the correspondent pom.xml
>