There is no such feature in Maven itself (and it wouldn't work if you run out of memory in the core process). But the plugin itself could (theoretically) provide a configuration option to fork the process and then ignore any problems in that process. The use case sounds strange though so I very much doubt that any standard plugin would provide this, but you could add it to a plugin you develop yourself. Your best bet would be to investigate if the memory usage of hte plugin could be optimized or if you can add some more to the Java process (you don't specify how much you're running with now so I don't know if you're already at some decent level or not).
/Anders On Mon, Aug 18, 2014 at 9:59 PM, Logicon211 <[email protected]> wrote: > Hey there, I've been scouring the internet for some kind of solution (Or to > find out there just isn't one) for a problem I'm running into. > > I'm looking for some kind of plugin configuration option, or command line > parameter that would cause maven to ignore either a specific (Preferred), > or > all (Not preferred) plugin failures. I'm working with a plugin which > generates visuals for a database schema, however it will periodically fail > on an OutOfMemory exception, and I can't count on the build server to have > enough memory at all times. I don't want or even need the build to be > dependent on this plugin, but the extra information generated by the plugin > can be useful when needed. > > Is there any way to do this? Thanks in advance! > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Ignoring-a-specific-plugin-failure-tp5802487.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
