Results 1 to 4 of 4

Thread: Offtopic? Maven2 project organization

  1. #1
    Join Date
    Jun 2010
    Posts
    4

    Default 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. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    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

  3. #3
    Join Date
    Jun 2010
    Posts
    4

    Default

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

  4. #4
    Join Date
    Jun 2010
    Posts
    4

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •