You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2017/09/02 07:49:00 UTC
[jira] [Resolved] (CXF-7468) cxf-codegen-plugin fails multiple
executions with the same wsdl
[ https://issues.apache.org/jira/browse/CXF-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Kieselhorst resolved CXF-7468.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.2.0
> cxf-codegen-plugin fails multiple executions with the same wsdl
> ---------------------------------------------------------------
>
> Key: CXF-7468
> URL: https://issues.apache.org/jira/browse/CXF-7468
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.7.8
> Environment: maven build process
> Reporter: Todd DiLorenzo
> Assignee: Dennis Kieselhorst
> Priority: Minor
> Labels: codegen, maven, wsdl2java, wsdl2js
> Fix For: 3.2.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> bug introduced as of v 2.7.8:
> The implementation of org.apache.cxf.maven_plugin.AbstractCodegenMoho.getDoneFile(...) ignores the 'String mojo' parameter and only uses the baseDir and wsdlUri parameters when generating the 'done' filename.
> When multiple executions are run (wsdl2js and wsdl2java) using the same wsdl, the second execution's generate()-shouldRun() code path finds the "done" generated by the first execution with a newer timestamp and thus skips setting doWork to true. If there are no dependent files configured, then generate exits with "Nothing to generate"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)