7 Replies Latest reply on May 27, 2009 6:09 PM by Arbi Sookazian

    Status of using Maven with Seam

    Arbi Sookazian Master

      Anybody know what the official status is of using Maven with Seam 2/3?  or even Web Beans RI?


      I saw some JIRAs with DAllen commenting that it's not ready but not sure if that's still valid now (see below).


      In Yuan et al, 2nd ed., Appendix C covers Using Maven and states we have seen an increasing adoption of Maven to manage builds.  Maven provides declarative dependency management, which fits well with Seam applications since Seam integrates many third-party libraries and frameworks.


      But what about the restrictive Maven 2 project structure?


      SiA:



      The layout of a seam-gen project isn’t what you might consider standard, nor does it follow the popular Maven 2 structure.

      So does that mean if you use Maven for a Seam project you can't use seam-gen for a new project or if you do, it's a pain to restructure the project?


      In the Seam 2.1.1.GA distro, there are 28 *pom.xml references.  So Seam is internally using Maven to a certain extent.


      This is somewhat confusing.  Can someone plz shed some light on this?  thx.



      Dan Allen - 22/Oct/08 02:25 AM
      I'm going to make a general comment, but keep the m2eclipse discussion going around it.

      I know many of you have waited a long time for this issue to be addressed. We'll get there, I promise. That said, I want Seam to have an official archetype so people don't have to go hunting the web for something that may or may not be up to date. I see too many initiatives trying to talk at once and not listening and learning from each other. We can come to some sort of a consensus in the Seam SVN tree. We would certainly encourage you to use this official archetype as a starting point and customize it to suit your needs. That's how I see it at least. I should be kicking off the initiative sometime soon.

      source: https://jira.jboss.org/jira/browse/JBSEAM-2026