aspose file tools*
The moose likes JBoss/WildFly and the fly likes Multi module hot deployment with maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Multi module hot deployment with maven" Watch "Multi module hot deployment with maven" New topic
Author

Multi module hot deployment with maven

Ashok C. Mohan
Ranch Hand

Joined: Dec 03, 2003
Posts: 75
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.


SCJP 1.4
Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment.
Ashok C. Mohan
Ranch Hand

Joined: Dec 03, 2003
Posts: 75
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

Joined: Mar 07, 2002
Posts: 1427
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.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Ashok C. Mohan
Ranch Hand

Joined: Dec 03, 2003
Posts: 75
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Multi module hot deployment with maven