WsImport
boolean xadditionalHeaders
with default Valuefalse
added.
- Group id in jcenter changed from
org.gradle.jacobo.plugins
to 'com.github.jacobono' to match the gradle plugin id.
- Plugin id changed fram 'wsdl' to 'com.github.jacobono.wsdl'
- Included in gradle plugin repo
- Backwards compatibility with java 1.6
- Available on bintray's jcenter
Support for generated source encoding property
Specifiy target package name of generated class
Fully updated groovydoc and detailed documentation
- Major refactor to use the gradle-xsd-wsdl-slurping library, that I refactored the common interfaces, classes and logic to.
- Package renaming to base of
org.gradle.jacobo.plugins
. - Tasks re-written to use
AntExecutor
interface.
- Using Guice for Dependency Injection.
- A lot of major parts re-written to make them cleaner, and easier to understand.
ParseWsdl
renamed toWsImport
task.- Got rid of the ant copy tasks to copy the wsdl and xsd file system structure
to the war. This is accomplished much, much easier through gradle's
fileTree
. - Integration tests added.
- Fixed deprecation warnings gradle 1.6 for Task.add and Configuration.add
- gradle wrapper to version 1.6
- Name Rules feature is added to turn abbreviations in the project name and substitute their meaning to find the appropriate WSDL name. See the readme
WsImportExtension
to separate the wsimport defaults from cluttering up. The
readme shows how to configure.
- The plugin now has 5 distinct tasks to
- Parse WSDL
- task name:
parseWsdl
- using wsimport Ant Task
- task name:
- Get WSDL Name
- from the convention previously established project-name -> wsdl name
- task name:
wsdlName
- Resolve WSDL dependencies
- find all file's required for WSDL project in WAR,
- task name :
resolveWSDLDependencies
- Group WSDL Files for WAR
- Groups all the wsdl dependent files by the same parent directory and keeps track of the files in this directory that need to be included in the WAR file
- task name:
groupWsdlWarFiles
- Copy WSDL Files
- Copies all the grouped WSDL Files to the output directory
webServiceCopyDir
- task name:
copyWsdlWarFiles
- Copies all the grouped WSDL Files to the output directory
- Parse WSDL
- Gradle WAR task is overriden with added functionality to include the files in
the output directory of the
copyWsdlWarFiles
task- see the
webServiceCopyDir
extension property
- see the
deploying to a maven repository.
- url :
http://dl.bintray.com/content/djmijares/gradle-plugins/
- group:
com.jacobo.gradle
- package :
gradle-wsdl-plugin
- version :
1.5
integTest.gradle
cobertura.gradle
buildscript.gradle
for readability
methods did too much, and I broke them up and wrote test for them.
configuration and extra comments that are not pertinent to immediately getting set up with the default configuration.
- source set
integTest
insrc/main
has one integration test for this project. Some of the unit tests might be moved here sometimes in the future, as they aren't true unit tests.
CopyWsdlWarFilesTask
and SpecCopyWsdlWarFilesTaskSpec
WsImportExtension
WsdlSlurper
and SpecWsdlSlurperSpec
XsdSlurper
and SpecXsdSlurperSpec
DocumentReader
and SpecDocumentReaderSpec
FileHelper
and SpecFileHelperSpec
ListHelper
and SpecListHelperSpec
WsdlWarFileGrouper
and SpecWsdlWarFileGrouperSpec
ResolveWsdlDependenciesTask
GroupedWsdlWarFiles
WsdlDependencyResolverIntegrationSpec
WsdlWarRelativePathResolver
WsdlResolverTask
WsdlExtension
->WsdlPluginExtension
WsdlName
->WsdlNameHelper
WsdlNameSpec
->WsdlNameHelperSpec
WsdlWarRelativePathResolverSpec
->GroupWsdlWarFilesTask