|
[
Permlink
| « Hide
]
Martin Murphy added a comment - 05/Nov/08 08:16 AM
Here's a patch that won't affect earlier versions of Maven and should clean up the Binding Component once Maven 2.0.11 is released
Martin Murphy made changes - 05/Nov/08 08:16 AM
I think the "correct" fix is to move the codegeneration into the generate-test-sources phase and make it generate into target/generated/test/java instead. Thus, it's all treated as test artifacts, not source. That was the first thing I tried, before going with the prepare-package phase
Problem is that the generated code isn't compiled then since the generate-test-sources is after the compile phase, so when the tests go to run, the generated code is there, but hasn't been compiled. Maybe there is something I could add to the test mojo, but I can't see
Martin Murphy made changes - 05/Nov/08 09:00 AM
Here is an improved version of the patch that will work with Maven today. This is based on Dan's suggestions. Thanks Dan!
Martin Murphy made changes - 05/Nov/08 09:20 AM
Freeman Fang made changes - 11/Nov/08 08:59 AM
apply patch on befalf of Martin Murphy with thanks
http://svn.apache.org/viewvc?rev=713258&view=rev http://svn.apache.org/viewvc?rev=713261&view=rev
Freeman Fang made changes - 11/Nov/08 08:17 PM
Gert Vanthienen made changes - 15/Feb/09 03:06 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||