Hi all,
thanks to inspecting CXF codegen maven plugin I've proposed a patch to
gwt-maven-plugin

https://github.com/gwt-maven-plugin/gwt-maven-plugin/issues/65

and

https://github.com/gwt-maven-plugin/gwt-maven-plugin/pull/66

hopefully it will get accepted and integrated.

Thank to you all ;-)

Cristiano


2013/11/5 Cristiano Costantini <[email protected]>

> 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
>

Reply via email to