Hi Csaba,
Gajo Csaba wrote at Donnerstag, 26. November 2009 17:21:
Hello,
I use the exec plugin to run some external processes. It is possible for
one of these processes to get into an eternal loop, so the build will
hang. Is there a way to terminate this goal after, let's say, 10
seconds?
Not that I am aware of.
If there's no thing that's already made, is there a way to
write a custom plugin which would terminate the exec plugin after 10
seconds? I would not want to modify the exec plugin itself.
Why not? Checkout the source, add a parameter to its configuration and
implement the feature, create a patch (with tests) and put it into a JIRA
issue for the plugin. While the official release does not contain your
change the version in the POM simply to something like x.y-svn-ZZ, so
you know to which version in trunk you actually applied your patch, add your
own distribution section and deploy the built plugin into your repo. When
the official plugin contains your patch, you can simply exchange its version
in the pluginMgmt section and forget about your modified one.
- Jörg
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org