> Should I specify it as a dependency of the ear with a scope of compile, and
> then also specify it as a dependency of the ejb with a scope of provided?

This is what I have done in past EJB-packaged-inside-WAR projects with
Maven. It is possible there is a newer/better best practice today, as
I haven't worked on any projects like that in a while.

Make sure you're using dependencyManagement in a top parent pom to
simplify versioning of dependencies.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to