Skip to content

Latest commit

 

History

History
147 lines (109 loc) · 4.39 KB

CHANGELOG.md

File metadata and controls

147 lines (109 loc) · 4.39 KB

Gradle WSDL Plugin Changelog

1.7.8

  • WsImport boolean xadditionalHeaders with default Value false added.

1.7.7

  • Group id in jcenter changed from org.gradle.jacobo.plugins to 'com.github.jacobono' to match the gradle plugin id.

1.7.6

  • Plugin id changed fram 'wsdl' to 'com.github.jacobono.wsdl'
  • Included in gradle plugin repo

1.7.5

  • Backwards compatibility with java 1.6
  • Available on bintray's jcenter

1.7.4

Support for generated source encoding property

1.7.3

Specifiy target package name of generated class

1.7.2

Fully updated groovydoc and detailed documentation

1.7.1

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

1.7

  • Using Guice for Dependency Injection.
  • A lot of major parts re-written to make them cleaner, and easier to understand.
  • ParseWsdl renamed to WsImport 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.

1.6

  • Fixed deprecation warnings gradle 1.6 for Task.add and Configuration.add
  • gradle wrapper to version 1.6

1.5

New Features

Name Rules

  • 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

Nested Extensions Extensions broken up into WsdlPluginExtension and

WsImportExtension to separate the wsimport defaults from cluttering up. The readme shows how to configure.

Tasks

  • The plugin now has 5 distinct tasks to
    • Parse WSDL
      • task name: parseWsdl
      • using wsimport Ant Task
    • 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

Overridden Task

  • 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

Deployed to bintray Bintray deploy used to be an ivy repository, now is

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

new script plugins The build script was broken up into

  • integTest.gradle
  • cobertura.gradle
  • buildscript.gradle

for readability

Cobertura Cobertura is added to this project for test coverage

Complete Refactor Alot of the code was refactored, I thought some of the

methods did too much, and I broke them up and wrote test for them.

Documentation docs folder is holding all extra documentation for specific

configuration and extra comments that are not pertinent to immediately getting set up with the default configuration.

Testing

Integration Testing

  • source set integTest in src/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.

New Files

  • CopyWsdlWarFilesTask and Spec CopyWsdlWarFilesTaskSpec
  • WsImportExtension
  • WsdlSlurper and Spec WsdlSlurperSpec
  • XsdSlurper and Spec XsdSlurperSpec
  • DocumentReader and Spec DocumentReaderSpec
  • FileHelper and Spec FileHelperSpec
  • ListHelper and Spec ListHelperSpec
  • WsdlWarFileGrouper and Spec WsdlWarFileGrouperSpec
  • ResolveWsdlDependenciesTask
  • GroupedWsdlWarFiles
  • WsdlDependencyResolverIntegrationSpec

Deleted Files

  • WsdlWarRelativePathResolver
  • WsdlResolverTask

Renamed Files

  • WsdlExtension -> WsdlPluginExtension
  • WsdlName -> WsdlNameHelper
  • WsdlNameSpec -> WsdlNameHelperSpec
  • WsdlWarRelativePathResolverSpec -> GroupWsdlWarFilesTask