cescoffier / maven-play2-plugin

A Maven Plugin to build Play2 applications
Apache License 2.0
49 stars 41 forks source link

Make all goals work in multiproject setup #6

Closed anttipoi closed 12 years ago

anttipoi commented 12 years ago

Some goals fail when used in multi-project setup (with play project being one of the sub-projects).

I'm no maven guru, but adding

executor.setWorkingDirectory(project.getBasedir());

prior to execution seems to do the trick.

Compilation goal does this, but other goals need this, too.

BTW, thanks for the effort with the plugin: I've just landed in a project using play and we appreciate!

cescoffier commented 12 years ago

Hi,

I will try, but yes some goals are doing it (actually for testing purpose). Anyway it makes sense. I keep you posted.

cescoffier commented 12 years ago

Fixed in master. Will cut a release now.

cescoffier commented 12 years ago

FYI, I've cut a released (1.0.1). Should be soon available from Maven Central.

anttipoi commented 12 years ago

Seems to be working! Thanks!