0

During the development time I'm iteratively rebuilding some modules of my project. Rebuilding resulting ear-project gets a huge amount of time. If there is a way allowing to rebuild only jar file of changed module and then replace this jar in resulting EAR then it could reduce build time and accelerate development process.

So questions: Is there any maven plugin allowing to do partial module rebuilding and replacing jars in ear?

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
Zaur_M
  • 737
  • 3
  • 11
  • 18

1 Answers1

2

Did you try to use the -pl or --projects option (requires Maven 2.1+, see Maven Tips and Tricks: Advanced Reactor Options for more details)? Something like that:

mvn --projects your-jar,your-ear install

This might speed up things.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124