You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jürgen Bockhorn <Ju...@heuboe.de> on 2010/03/01 11:33:22 UTC

cxf, maven plugin, dependencies (xsd)

Nobody using the cxf-maven-plugin with the dependency feature ? Or did I get something totally wrong ?

Hello,

I am using cxf with maven. My WSDL file includes an XML schema file which again includes some XSDs. Now I found in the maven_plugin/Options.java file, that the cxf-maven-plugin should be able to handle this dependencies, to trigger code generation even if only a dependent file changed.

    /**
     * A set of dependent files used to detect the generator must process WSDL, even
     * if generator marker files are up to date.
     */
    File dependencies[];

But I did not manage to find out how to insert this dependencies into my pom.xml.

Could anyone help me please.

Best regards,

Jürgen


AW: cxf, maven plugin, dependencies (xsd)

Posted by Jürgen Bockhorn <Ju...@heuboe.de>.
Hello Dan,

thank you a lot. That helped me.

Jürgen

> -----Ursprüngliche Nachricht-----
> Von: Daniel Kulp [mailto:dkulp@apache.org]
> Gesendet: Dienstag, 2. März 2010 03:04
> An: users@cxf.apache.org
> Cc: Jürgen Bockhorn
> Betreff: Re: cxf, maven plugin, dependencies (xsd)
> 
> 
> 
> Take a look at one of our poms that uses this:
> 
> http://svn.apache.org/repos/asf/cxf/trunk/api/pom.xml
> 
> That may help provide an example.
> 
> Dan
> 
> 
> On Mon March 1 2010 5:33:22 am Jürgen Bockhorn wrote:
> > Nobody using the cxf-maven-plugin with the dependency feature ? Or
> did I
> > get something totally wrong ?
> >
> > Hello,
> >
> > I am using cxf with maven. My WSDL file includes an XML schema file
> which
> > again includes some XSDs. Now I found in the
> maven_plugin/Options.java
> > file, that the cxf-maven-plugin should be able to handle this
> > dependencies, to trigger code generation even if only a dependent
> file
> > changed.
> >
> >     /**
> >      * A set of dependent files used to detect the generator must
> process
> > WSDL, even * if generator marker files are up to date.
> >      */
> >     File dependencies[];
> >
> > But I did not manage to find out how to insert this dependencies into
> my
> > pom.xml.
> >
> > Could anyone help me please.
> >
> > Best regards,
> >
> > Jürgen
> 
> --
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog

Re: cxf, maven plugin, dependencies (xsd)

Posted by Daniel Kulp <dk...@apache.org>.

Take a look at one of our poms that uses this:

http://svn.apache.org/repos/asf/cxf/trunk/api/pom.xml

That may help provide an example.

Dan


On Mon March 1 2010 5:33:22 am Jürgen Bockhorn wrote:
> Nobody using the cxf-maven-plugin with the dependency feature ? Or did I
> get something totally wrong ?
> 
> Hello,
> 
> I am using cxf with maven. My WSDL file includes an XML schema file which
> again includes some XSDs. Now I found in the maven_plugin/Options.java
> file, that the cxf-maven-plugin should be able to handle this
> dependencies, to trigger code generation even if only a dependent file
> changed.
> 
>     /**
>      * A set of dependent files used to detect the generator must process
> WSDL, even * if generator marker files are up to date.
>      */
>     File dependencies[];
> 
> But I did not manage to find out how to insert this dependencies into my
> pom.xml.
> 
> Could anyone help me please.
> 
> Best regards,
> 
> Jürgen

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog