2

I want to start writing a Seam 3 project from scratch using Maven and configure it to be deployable to both of Glassfish 3.1 and JBoss 6 or 7.

Any references or tutorials explaining how my pom.xml file should look like if I don't want to use something like Seam Forge to generate it for me?

Shervin Asgari
  • 23,901
  • 30
  • 103
  • 143
zigortmay
  • 45
  • 1
  • 3

2 Answers2

1

I would suggest you use an Archtype to get started and then customize it to your specific needs. The Weld Achetypes are good starting points since if Weld is working it is just a matter of adding the Seam 3 module dependencies and IIRC there are also Glassfish targets preconfigugred in the Archetype POMs.

You can find a few Archtypes here

Mind that you will have to modify the dependency versions in the POM since they use old versions but everything else should work fine.

Thorsten
  • 26
  • 1
0

I think www.seamframework.org is a great place to start.

You can also look at the source code of the Seam 3 plugins to get a grip on how the pom file looks like.

Shervin Asgari
  • 23,901
  • 30
  • 103
  • 143