Maven ships dependencies inside war but not in jar

I have two maven projects, one (I will call it core) is an ejb-jar (ejb) and the other a war (client).

My client project consumes some ejbs inside my far so good.

But I'm getting a ClassNotFoundException inside my core application because it can't find one class from apache-beanutils...I have set this dependency with compile scope in it's pom.xml but it does not get shipped inside the output jar.

When I check my client.war package I see every compile-scoped dependency inside the WEB-INF/lib folder...but in my core.jar I don't see any of it's dependencies...I'm totally confused about this.

Can someone help me? I tried to google it before asking but I didn't find anything useful so far..thanks.


You can use the maven assembly plugin to bundle all the jars in one super jar.

See this: question

Need Your Help

Run Sql file in MYSQL PHPMyadmin

mysql phpmyadmin

I have written the SQL file with on excecuting it is throwing the error as

How do I stop IE8 session sharing? internet-explorer internet-explorer-8

I'd like to stop IE8 from sharing my sessions in one of two ways (or both if possible):