[ 
https://issues.apache.org/jira/browse/CXF-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Beitelspacher updated CXF-4581:
------------------------------------

    Description: 
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.

  was:
In order to configure the workspace, m2e runs a "configuration" build prior to 
any actual builds. During this "configuration" builds 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.

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

Reply via email to