GitHub user mcollovati opened a pull request: https://github.com/apache/camel/pull/1418
CAMEL-10711: Added automatic source roots addition in api maven plugin A property has been added: **addCompileSourceRoots** to automatically make generated source directory available in compilation phases. Available values are: * **source**: adds both _generatedSrcDir_ and _generatedTestDir_ as compile source roots * **test**: adds both _generatedSrcDir_ and _generatedTestDir_ as test compile source roots * **all**: adds _generatedSrcDir_ to compile source roots and _generatedTestDir_ as test compile source roots * **none**: do not add generated directories at all The default value is **all**. The integration test *all-it* has been modified to remove *build-helper-maven-plugin* You can merge this pull request into a Git repository by running: $ git pull https://github.com/mcollovati/camel CAMEL-10711/api-maven-plugin-compile-roots Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1418.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1418 ---- commit 72b137c100e99f9066bc1869d53269d0f12f9640 Author: Marco Collovati <(none)> Date: 2017-01-22T16:19:57Z CAMEL-10711: Added automatic source roots addition in api maven plugin ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---