[
https://issues.apache.org/jira/browse/CXF-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-4581.
------------------------------
Resolution: Fixed
Fix Version/s: 2.7.1
2.6.4
Assignee: Daniel Kulp
Patch applied. Thanks!
> cxf-codegen-plugin tries to generate code during m2e "configuration" build
> --------------------------------------------------------------------------
>
> Key: CXF-4581
> URL: https://issues.apache.org/jira/browse/CXF-4581
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Reporter: Josh Beitelspacher
> Assignee: Daniel Kulp
> Fix For: 2.6.4, 2.7.1
>
> Attachments:
> 0001-CXF-4581-Prevent-code-generation-during-m2e-incremen.patch
>
>
> In order to configure the workspace, m2e runs a "configuration" build prior
> to any actual builds. During a "configuration" build plugins should only
> setup their additional source and resources directories and should not
> attempt to read or write any files in the workspace.
> In many cases it is not a problem that code generation runs too soon, but if
> any input files to the code generation process are not available then the
> code generation will fail, the target/generated-sources/cxf directory will
> not be created, and the generated-sources directory won't be added to Eclipse
> classpath.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira