Murali
Murali

Reputation: 3542

How to configure maven multi-module project in Eclipse or Netbeans to reduce deploy time

I have the following project structure

I was able to use able to use Eclipse or Netbeans and deploy the project from the IDE to glassfish. But what I want is whenever I make changes to the webmodule I want it to be deployed automatically. So that I refresh the browser and see the changes.

Thanks in advance for your help

Upvotes: 1

Views: 1826

Answers (1)

Pascal Thivent
Pascal Thivent

Reputation: 570515

I'm not sure what your problem exactly is (hot deployment works fine for me when using GFv3 with both Eclipse and NetBeans). Maybe clarify.

Just in case, if you need to run a maven build but don't want to start a full reactor build, maybe consider using the advanced reactor options (more precisely -pl to specify a specific project with -am to build all of the projects that the specified project depends upon) when calling mvn. See the blog post Maven Tips and Tricks: Advanced Reactor Options for more details.

Upvotes: 1

Related Questions