maybe it is these lines of code that do the integration?
http://svn.apache.org/repos/asf/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
public void execute() throws MojoExecutionException {
// add the generated source into compile source
// do this step first to ensure the source folder will be added to
the Eclipse classpath
if (project != null && getGeneratedSourceRoot() != null) {
project.addCompileSourceRoot(getGeneratedSourceRoot().getAbsolutePath());
}
if (project != null && getGeneratedTestRoot() != null) {
project.addTestCompileSourceRoot(getGeneratedTestRoot().getAbsolutePath());
}
...
thank you and sorry if I'm a bit OT
2013/11/5 Cristiano Costantini <[email protected]>
>
> Hi all,
>
> I see that whatever I set the <sourceRoot> value of cxf-codegen-plugin
when executing the wsdl2java goal, then in eclipse that folder get added as
a source folder.
>
> Could someone please tell me how that it is achieved?
> I would like to have the same behavior in the gwt-mavan-plugin.
>
> Thank you,
> Cristiano