views:

29

answers:

1

Hi!

I find myself often running the same goals (clean install) of different, interdependent maven projects in Intellij IDEA one after another.

Does anyone know of a way to configure something like a maven goal combination, ideally such that you configure a button in IDEA's task bar that you can hit to execute these goals in sequence? Possibly even with a keyboard short cut?

Similar things might be achieved with a maven run configuration, but then IDEA wouldn't automatically be aware of the changes the run does to the project's file system resources.

Cheers, Johannes

A: 

I frequently run a clean install of my maven aggregator project from the command line while it is open in IntelliJ. In my experience the IDE seems to handle this quite well.

Sean Reilly
I do that, too, but my clean build includes a Jaxb run over a couple of xsds. That means that a lot of Java classes (appear to) change and Intellij has to re-index them all.
Tatome

related questions