GoogleCloudPlatform / endpoints-framework-maven-plugin

Apache License 2.0
5 stars 13 forks source link

Allow running tasks without forking. #51

Closed sylvain1811 closed 6 years ago

sylvain1811 commented 6 years ago

I'm using the plugin in my pom.xml and it works but many tasks are executed twice. I think that the plugin fork the lifecycle, but I found no way to disable forking.

I've posted a question here. There is my pom.xml if you want to check it.

Maybe I'm using the plugin wrong, maybe it's an issue, let me know!

patflynn commented 6 years ago

assigning to @loosebazooka for triage.

loosebazooka commented 6 years ago

The plugin is forking the lifecycle so that the user doesn't have to configure the lifecycle execution. But it appears that doesn't cover all the cases. We should probably include a way to run non-forked if you're configuring the task yourself.

sylvain1811 commented 6 years ago

Did you plan a release of these changes ?

loosebazooka commented 6 years ago

Yeah, sorry, I need to set up updating the docs on this since it changes things a little (need to run package then generate everything). You can try building and running from the repository in the meantime.