Announcement Announcement Module
Collapse
No announcement yet.
Offtopic? Maven2 project organization Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Offtopic? Maven2 project organization

    I already did some EJB3/JSF projects and know how to deploy them as EAR on JBoss. To do this i used 3 projects in Eclipse (EAR project, JSF project and EJB3 project). Now i would like to start with maven. I am very new to this and wonder if its possible with maven to deploy ONLY the JSF or the EJB part without having to deploy the whole EAR file. Reason is that it could be that only web changes took effect, but the EJB is already finished. In my concrete case I am planning to get some web developer and I only want him to be allowed to checkout the JSF project and deploy that part into the JBOSS without having to deploy EJB and without having access to that EJB project source code. I guess a JAR of the EJB project should be enough for the JSF module / this web developer. But how is this setup in Eclipse / Maven2 using standard Spring 3?

  • #2
    As you alluded to this is probably more of a maven/eclipse question (not really spring related)...Have you tried using the m2eclipse plugin with the WTP integration?

    Regards,
    Rob Winch

    Comment


    • #3
      yes i got that plugin but that doesnt help really. would need more information about how to set up those projects...

      Comment


      • #4
        solved... to be honest it was quite simple with maven. love that tool! simply generate 2 poms, one for ejb, one for jsf. then add ejb as dependency to jsf. no other compile or project references in eclipse from jsf to ejb must be added. so when the jsf war gets compiled, it has the source of ejb. but when getting deployed, the jsf war doesnt contain ejb jar anymore and the ejb can be deployed as is.

        Comment

        Working...
        X