Jeanne Boyarsky wrote:I've added this to our Maven forum since I think you are having build problems (and not just EJB problems.)
Does the Maven project in github build for you? The POM references two modules:
Only the second is in github. And the parent pom is of packaging type pom. I'm trying to find two things in your project:
1) The pom.xml that generates an ejb
2) The pom.xml that generates a war
Knowing where these live will confirm you have something consistent. Also, why are you deploying the ejb separately than the war? At least when beginning, it is good to use a local ejb call. In which case the EJB project is a dependency for the WAR project and not something that gets deployed separately.
I explain what I have to do, let me know if I miss something.
I have to build a projects that look like this:
I will have 3 pom, 1 for the "MyProject" that contains the reference to modules WEB and CORE
The WEB module has a pom that generate a WAR, and CORE module has a pom that generate a EJB.
When I have to choose what I have to deploy into the server I have to select only "MyProject" because his POM will generate automatically the module (WEB, CORE).
If All it's right, which artifact should I use during the creation of "MyProject"?