cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] Resolved: (CXF-2275) Maven plugins: Support reading WSDLs from Maven repository
Date Sun, 29 Nov 2009 15:07:20 GMT


Christian Schneider resolved CXF-2275.

    Resolution: Fixed

I just committed a fix for this issue that should solve it completely. It added the following

- You can now specifiy wsdl depencencies directly in the dependencies section of the pom:
By default all dependencies with type "wsdl" will be processed. By using disableDependencyScan
"true" you can switch this off.

- Binding files with wsdlLocation="" will be processed so wsdlLocation contains the url to
the given wsdl. This allows to specify default binding files that are then used for all wsdls.

- The plugin now searches for a default binding file src/main/resources/defaultBinding.xml.
This file is automatically added to the binding files of the defaultOptions. 

So using all these options you can keep the configuration part of the codegen plugin completely
empty and still have wsdls processed from the maven repo and have a default binding file that
for example replaces XMLGregorianCalendar by Date.
The following systest "systests/wsdl_maven/codegen" shows this.

I would be happy about some feedback if this is how you wanted this solution to look like
or if you have any further suggestions.

> Maven plugins: Support reading WSDLs from Maven repository
> ----------------------------------------------------------
>                 Key: CXF-2275
>                 URL:
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.2.2
>            Reporter: Trygve Laugstøl
>            Assignee: Christian Schneider
>             Fix For: 2.3
> The Maven plugins should support reading WSDL files directly from a Maven repository
to make it easier to consume WSDLs in a repository. Currently it is required to use the dependency
plugin or similar to copy the WSDL from the repository to target/ to process it.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message