Tn Tue, Apr 21, 2009 at 8:28 AM, Andrew Clegg <[email protected]>wrote:

> One of Glen's excellent tutorials covers packaging and deploying using
> both Maven and Ant:
>
> http://www.jroller.com/gmazza/date/20080417


This example creates a different directory structure than the cxf plugin top
down pojo service wizard.

Does anyone have a set of maven poms that mirror the cxf plugin behavior?
This would simplify the build process as it would mirror the cxf plugin
behavior.

Here's the tree generated by the cxf maven howto from the above link
(client stuff removed for simplicity):

./service-war
./service-war/src
./service-war/src/main
./service-war/src/main/java
./service-war/src/main/java/com
./service-war/src/main/java/com/mycompany
./service-war/src/main/java/com/mycompany/webservice
./service-war/src/main/java/com/mycompany/webservice/service
./service-war/src/main/webapp
./service-war/src/main/webapp/WEB-INF
./service-war/src/main/webapp/WEB-INF/lib
./service-war/src/main/webapp/WEB-INF/wsdl
./service-war/src/main/resources
./service-war/src/assembly
./service-war/.settings

and here's the tree generated by the cxf plugin from the same wsdl using the
top down pojo method in the docs:

./.settings
./WebContent
./WebContent/wsdl
./WebContent/WEB-INF
./WebContent/WEB-INF/lib
./WebContent/META-INF
./build
./build/classes
./build/classes/org
./build/classes/org/example
./build/classes/org/example/doubleit
./src
./src/org
./src/org/example
./src/org/example/doubleit

Ideally there would be a method that yielded the same result whether the
build was done from eclipse or the cxf plugin.

-Bruce


>
>
> Andrew.
>
> 2009/4/21 Bruce Edge <[email protected]>:
> > Apologies, some rookie questions here.
> >
> > What's the minimum env I need to run cxf and how should it be packaged up
> > along with the java code for deployment on jetty (or tomcat)?
> > Any implications to cxf servelet vs spring?
> > Is there anything smaller, and if so, what do I lose?
> >
> > Specific RTFM references are appreciated too. It's just a huge FM.
> >
> > Lastly, are there any examples of Makefiles, maven, ant scripts, etc
>  that
> > do this?
> >
> > Thanks, Bruce
> >
>
>
>
> --
> :: http://biotext.org.uk/ ::
>

Reply via email to