The short answer is "no". The long answer is that it's not really possible. In maven, a plugin doesn't know what phase it's running it. For some oddball reason, they don't expose that to the plugins. Thus, we really couldn't check for maven.test.skip and skip it in a test phase.
The way the compile (and resources) plugins get around this is they have two separate "goals". "compile" and "compile-tests". The "compile-tests" goal checks for the maven.test.skip and skips itself. To do the same, we would need two separate goals on the plugins. A "normal" version and a "test" version. It's not a BAD thing to do (things like the generated directory could be defaulted better that way). It would require some work to do though. Dan On Thursday 16 October 2008 8:02:13 am Alexey Zavizionov wrote: > Hello, list! > > Does the "cxf-java2ws-plugin" support to bypass an execution of it > with configured execution phase "test-compile" and option > "-Dmaven.test.skip=true" ? > > http://www.nabble.com/forum/ViewPost.jtp?post=12285055&framed=y > > Regards, > Alexey. -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
