Open tacascer opened 9 months ago
We're facing the same issue and we only use schema in tests. As the plugin we were using previously does not seem to be supported anymore, we've migrated to this one with a workaround.
It would be nice to have a task for both the source and the test and be able to disable any of them.
FTR the workaround broke support in Eclipse so we're looking at a different way of handling this.
@bjornvester any appetite to update the plugin to offer a main and a test tasks?
FTR the workaround broke support in Eclipse so we're looking at a different way of handling this.
This was the second workaround that we came up with which also allows our projects to be imported into Eclipse IDE: https://github.com/spring-projects/spring-framework/commit/5aa38833dddf427c3d702930bf1678a126806191
@bjornvester any appetite to update the plugin to offer a main and a test tasks?
@bjornvester, that would be awesome if you would implement that! 😎
Currently the default xjc task is created and its output is added to the main
SourceSet
.I have a project that only generates code for the test
SourceSet
. Ideally I would like the ability to switch the source set of the generated code.It seems like the main
SourceSet
is being hard-coded to be added to here