-
Notifications
You must be signed in to change notification settings - Fork 78
Plugin don't generated properly packages #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
silverwind85
wants to merge
40
commits into
nilsmagnus:master
Choose a base branch
from
yupzip:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes the following error when referencing the `wsdl2java` task:
Could not determine the dependencies of task ':compileJava'.
> Cannot convert extension 'wsdl2java' to a task.
The following types/formats are supported:
- A String or CharSequence task name or path
- A Task instance
- A TaskReference instance
- A Buildable instance
- A TaskDependency instance
- A Provider that represents a task output
- A Provider instance that returns any of these types
- A Closure instance that returns any of these types
- A Callable instance that returns any of these types
- An Iterable, Collection, Map or array instance that contains any of these types
And enables us to do things like:
dependsOn wsdl2javaTask
2.1 - Fix task name
Fix kotlin detection
Remove unused method
Improved up-to-date checks
Add a flag to exclude java 8 xml dependencies during runtime
…to address issue with Sun JDK. See: https://issues.apache.org/jira/browse/GROOVY-4094
…issue MISC: Updated plugin to reference ArrayList .size() instead of .size …
Add lineEnding extension property to configure generated files line endings
The current default value allows the plugin to grab an arbitrary version of CXF. It is a time bomb for people who don't read the docs too closely, have missed what the default is and didn't override it with a specific version. Ideally, people should read the documentation, but the reality is a touch different. It seems that gradle automatically treats `@Input`s as non-nullable and complains if any of them don't have a value, which is nice. This is a breaking change for those who haven't specified these parameters before. I don't think the breakage will be much worse than what the release of CXF 4.0.0 at 22nd of December has done. Alternatives: emphasize the danger of the default value in the README, pick some fixed version arbitrarily. The former would help but still leaves the human factor very relevant. The latter feels wrong, it's probably not the choice the plugin should make. It also can lead to the same kind of breakage as a CXF release now.
Require the user to specify cxfVersion and cxfPluginVersion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am using gradle plugin wsdl2java to generated java classes by file wsdl. I need change name packages
for
so I am using for it file binding.xml
gradle.build
example.wsdl
binding.xml
Maybe someone know what is wrong in my configuration
enter image description here
It should generated packages like that enter image description here