GitHub user sermojohn opened a pull request:

    https://github.com/apache/camel/pull/2104

    camel-blueprint-schemagen-fix

    Switched to jaxb2-maven-plugin for camel-spring schemagen (similar to 
CAMEL-11942)
    
    Also, due to the use of activeByDefault profile for schema generation, the 
build failed on jdk9 because the schema was never generated. So I applied a 
common pattern of using a property (named disable-schemagen) instead of 
activeByDefault, which can be used for disabling schema generation (probably 
intended for **on-hpjdk** and **on-ibmjdk** profiles). As a result, both jdk9 
and jdk < 9 builds succeed. 
    
    However, there is still an issue when disabling schema generation, because 
the camel-blueprint.xsd is required by 
**camel-eip-documentation-enricher-maven-plugin**, so in practice schema 
generation should never be disabled based on the existing build script.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sermojohn/camel camel-blueprint-schemagen-fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2104.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 #2104
    
----
commit f297870f905920e237578b050229a0536d18ab89
Author: Ioannis Sermetziadis <[email protected]>
Date:   2017-11-21T20:00:37Z

    camel-blueprint schemagen build fix that affected windows builds

----


---

Reply via email to