• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multi module hot deployment with maven

 
Ashok C. Mohan
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was disappointed that seam was extensively using ant for deployment. I found maven to be much more versatile than ant for build management. The resources on establishing a hot deployment with maven multi module build configuration are pretty slim out there(especially if we use an ear packaging configuration). I found only two relevant resources to achive this. Unfortunately one works only for a war package configuration and the other relies completely on eclipse jboss tools plugin. Does the book also cover hot deployment scenarios with maven? Does anyone know of any tried and tested method to achieve this. Just to outline what I want; Hot deployment (including hot swapping classes in the container) for seam using a maven multi module ear packaging configuration.
 
Ashok C. Mohan
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the same note, does seam plan to use maven instead of ant for build configurations in the future? When can we expect this?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the book examples are built with Maven. And I think Seam itself is built with Maven now as well. For Maven based hot deployment, you might have to write a special maven plugin that knows which files to copy to the app server ... You are very welcome to contribute this to the Seam project.
 
Ashok C. Mohan
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the book examples are built with Maven

Thats wonderful. I think I will write that plugin and will definitely contribute it to the Seam project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic