Can an Eclipse run configuration invoke Maven --resume-from on the selected project?

989 views Asked by At

I'm trying to create a run/debug configuration to continue at the point I left off using the -rf (--resume-from) syntax.

Tried the following in the "Goals" section:

-rf :${project_name} install

Was hoping this would allow me to select the project I want to resume from and then launch. But Eclipse complains:

Could not find project to resume reactor build from: :${project_name}

Presumably this means Eclipse isn't expanding the ${project_name} variable. Has anyone found a way of doing this or am I barking up a blind alley?

1

There are 1 answers

0
Steve Chambers On BEST ANSWER

The lack of responses make me suspect there probably isn't a way to do this for a selected project. I ended up creating a run configuration for each project I might want to resume from.