You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/10/05 10:03:32 UTC

[camel] branch java-10-test updated (6b9eb41 -> 0dd568a)

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a change to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git.


 discard 6b9eb41  Upgrade Spring Boot to 2.1.0.M4
 discard 2488b07  Upgrade Spring framework to 5.1.0.RELEASE
 discard 2ac31b2  Upgrade Hibernate to 5.3.6.Final
 discard d674c88  CAMEL-12618: Additional dependencies needed on ...
 discard 2f73d10  CAMEL-12618: upgrade Groovy Eclipse compiler
 discard e000de8  CAMEL-12618: Use Groovy 3.0.0-SNAPSHOT for gmav...
 discard 5dd4d2e  CAMEL-12618: Use fork of maven-plugin-plugin th...
 discard 12189aa  CAMEL-12618: Use fork of MVEL that supports Jav...
 discard 3677ecf3 Temporary disable JDK 9 and karaf-itest and spr...
     add 8d54985  Upgrade Ehcache to version 3.6.1
     add d647c39  Upgrade Flink to version 1.6.1
     add f2599f5  Upgrade Brave to version 5.4.0
     add c696cb4  CAMEL-12836: Use FQN in type converter metadata file. Thanks to Tim Sexton for reporting and the suggested fix.
     add f82d386  changed csv unmarshalling to only strip quotes if quoting is set to "true" as this causes problems
     add bee5348  Added annotation parameter "removeQuotes" rather then reuse existing "quoting" parameter to preserve backwards compatibility.   Added a test to illustrate the problem.  Without "removeQuotes"=false in annotation of test, the record will fail to unmarshall
     add 9bc3ab3  Fixed CS
     add 99ac4b6  Exposing isActive(), getter and setter methods to extending classes. (#2534)
     add e8c8a9d  Upgrade Netty TCNative BoringSSL to version 2.0.17.Final
     add 7bd4a0f  Camel-restlet: use equals in the method comparison for POST and PUT, more OSGI-friendly
     add 0caeb1a  Add deprecation on method not really in use
     add a3346e1  CAMEL-11496: rendering user manual to HTML and PDF
     add da2fe63  Upgrade Chronicle Core to version 1.16.28
     add a461d09  Upgrade Chronicle Bytes to version 1.16.27
     add ec3478e  Upgrade Chronicle Wire to version 1.16.20
     add 4fe5198  Upgrade Chronicle Network to version 1.16.6
     add c914181  Upgrade Affinity to version 3.1.10
     add 3333578  Upgrade Zipkin to version 2.11.6
     add 80aa6b5  Upgrade Zipkin Reporter to version 2.7.9
     add c89e20e  Upgrade Commons-CSV to version 1.6
     add caadc1e  Upgrade Testcontainers to version 1.9.1
     add 7ff9995  FUSEDOC-2261 Added information for the missing Rest and Bulk APIs. (#2537)
     add 345abf4  CAMEL-12833: Do CDI CamelContext creation with an apporpriate TCCL
     add 2233a6a  [CAMEL-12605] Added support for encrypted and signed AS2 message
     add 98a0f4f  fix log typo
     add fdcfcdb  fix log typo
     add ecae562  fix log typo
     add 4af1c5d  fix exception message typo
     add 287c7bd  fix exception message typo
     add 4b36074  fix exception message typo
     add 9c4c557  Added information for getReportDescription API. (#2538)
     add 520e821  CAMEL-12838 - Camel Twitter Send Direct Message Endpoint not working
     add f1c3a63  CAMEL-12828: camel-restdsl-swagger:generate - Add option to generate dto objects
     add 4410c80  CAMEL-12828: camel-restdsl-swagger:generate - Add option to generate dto objects
     add 6452b6c  CAMEL-12828: camel-restdsl-swagger:generate - Add option to generate dto objects
     add 8a5e7ee  CAMEL-12828: camel-restdsl-swagger:generate - Add option to generate dto objects
     add c6ce65a  Upgrade Jgroups to version 4.0.15.Final
     add f26dc89  Upgrade Rabbitmq Client to version 5.4.2
     add b000b1b  Upgrade Brave to version 5.4.1
     add 5e2d9d1  Upgrade Infinispan Spring-Boot to version 2.0.0.Beta2
     add 32112c8  Upgrade Netty to version 4.1.30.Final
     add 7bea03d  Added dash encoding for JMS and extensibility for other connectors
     add 0740130  Makes encoding activation configuration
     add bc9be00  CAMEL-12842: Fixed CS issues
     add 591e21a  CAMEL-12842: Fixed CS issues
     add cc00df4  CAMEL-12841: Typo
     add 4589114  CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults
     add 42a877d  CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults
     add a75b8dd  CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults
     add e84bbdd  CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults
     add bfcca9d  Use the Facebook4j 2.4.12_1 bundle for Camel-facebook Karaf feature
     add 4bd8415  Upgrade Mockito to version 2.22.0
     add db2a1bf  Speedup Spring Boot itest, thanks Zoran Regvart for the help
     add 4e28fc9  CAMEL-12844: splitter with grouping looses encoding property. Thanks to Jakob Krejberg Ørhøj for reporting.
     add 26e45b8  camel-fhir Id elements are optional when updating a resource
     add 5738127  camel-fhir refactor Read API
     add b2798f3  CAMEL-12847: IntrospectionSupport - Allow to use dash style naming
     add 28658be  CAMEL-12847: IntrospectionSupport - Allow to use dash style naming
     add 2ac341d  CAMEL-12846: Allow customization of REST API do...
     add f754aa0  CAMEL-5558 - add file existing move strategy interface to let custom implementations be provided and add a test case for file component
     add 1a60352  CAMEL-5558 - improve javadoc
     add 9a66510  CAMEL-12830 - Thanks to Laurent Chiarello for reporting and providing the fix (creating github PR for his sake)
     add 0201758  CAMEL-12841: camel-restdsl-swagger:generate - Special case for Spring Boot with servlet component to generate CamelRestController support class to allow using root context-path and spring boot health check/actuators at the same time.
     add 360fae7  CAMEL-12849 - Camel-AWS MQ: Add a describeBroker operation to the producer side
     add 060e2cd  Camel-AWS: Lets use AbstractAmazonMQ in the AWS MQ Client Mock for tests
     add 0d36126  CAMEL-12848 - handle differently on windows for fa
     add 16a3eed  CAMEL-12841: camel-restdsl-swagger:generate - Special case for Spring Boot with servlet component to generate CamelRestController support class to allow using root context-path and spring boot health check/actuators at the same time.
     add e50b63f  Upgrade Chronicle Bytes to version 1.16.28
     add f7b59da  Upgrade Chronicle Wire to version 1.16.21
     add d6a44a3  Upgrade Qpid JMS to version 0.37.0
     add cc85db0  CAMEL-12850: camel-ftp tries reconnects twice as much as maximumReconnectAttempts (#2545)
     add 6445ba2  Check message received in queue in no particular order
     add 60e3cf6  Camel-AWS: Lets use AbstractAmazonS3 in the AWS S3 Client Mock for tests
     add b60b56d  Camel-AWS: Lets use AbstractAmazonDynamoDB in the AWS DDB Client Mock for tests
     add c385c75  Camel-AWS: Lets use AbstractAWSKMS in the AWS KMS Client Mock for tests
     add 58c33da  Camel-AWS: Lets use AbstractAWSLambda in the AWS Lambda Client Mock for tests
     add fe3ec54  Camel-AWS: Fix a missing import
     add bda0d0c  Camel-AWS: Lets use AbstractAmazonSimpleDB in the AWS SDB Client Mock for tests
     add d426c9f  Camel-AWS: Lets use AbstractAmazonSimpleEmailService in the AWS SES Client Mock for tests
     add 4b55eea  Camel-AWS: Lets use AbstractAmazonSNS in the AWS SNS Client Mock for tests
     add dd5963c  Camel-AWS: Fix SNS test
     add 9220221  CAMEL-12852 - use minimum expected message count
     add e79865a  camel-reactive-streams: simplify assertion in DirectClientAPITest
     add c20eca0  Upgrade Atmosphere Websocket to version 2.5.0
     add 5ae6ca5  CAMEL-AWS MQ: Deployment Mode must be specified when we create the broker
     add 80ca569  Upgrade Xchange to version 4.3.11
     add bfed02b  Upgrade Json Schema Validator to version 0.1.23
     add a81ef66  CAMEL-12786: Option readLockLoggingLevel not working for SFTP changed read lock strategy
     add 2c17c85  Upgrade Commons Text to version 1.5
     add 80c35e1  CAMEL-12853 - disable SftpConsumerDisconnectTest
     add 93fa169  CAMEL-12859 - Camel-AWS: Add more operations to the AWS IAM producer, getUser Operation
     add 1419f45  CAMEL-12859 - Updated docs
     add 2af6ac6  CAMEL-12859 - Camel-AWS: Add more operations to the AWS IAM producer, updateAccessKey operation
     add 30096a8  CAMEL-12859 - Updated docs
     add 0980dcd  CAMEL-12860 - Camel-AWS IAM: The accessKey delete operation need to specify an AccessKey Id instead of a username
     add 9001350  camel-servlet - Restore missing source snippets in doc (#2553)
     add 138141e  setting default idletimeout for httpclient
     new ade334d  Temporary disable JDK 9 and karaf-itest and spr...
     new e008d27  CAMEL-12618: Use fork of MVEL that supports Jav...
     new 50faba0  CAMEL-12618: Use fork of maven-plugin-plugin th...
     new 720092a  CAMEL-12618: Use Groovy 3.0.0-SNAPSHOT for gmav...
     new c808426  CAMEL-12618: upgrade Groovy Eclipse compiler
     new 321464a  CAMEL-12618: Additional dependencies needed on ...
     new bc1e213  Upgrade Hibernate to 5.3.6.Final
     new c6483d6  Upgrade Spring framework to 5.1.0.RELEASE
     new 0dd568a  Upgrade Spring Boot to 2.1.0.M4

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6b9eb41)
            \
             N -- N -- N   refs/heads/java-10-test (0dd568a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 camel-core/src/main/docs/file-component.adoc       |    3 +-
 camel-core/src/main/docs/rest-dsl.adoc             |   23 +-
 .../apache/camel/builder/ExpressionBuilder.java    |    2 +
 .../apache/camel/component/file/FileEndpoint.java  |   13 +-
 .../camel/component/file/FileOperations.java       |   54 +-
 ...GenericFileDefaultMoveExistingFileStrategy.java |   87 +
 .../camel/component/file/GenericFileEndpoint.java  |   15 +
 .../file/strategy/FileMoveExistingStrategy.java    |   43 +
 .../org/apache/camel/util/GroupTokenIterator.java  |    2 +-
 .../apache/camel/util/IntrospectionSupport.java    |   10 +-
 .../java/org/apache/camel/util/StringHelper.java   |   46 +
 .../file/FileProducerMoveExistingStrategyTest.java |  137 ++
 .../file/FileProducerMoveExistingTest.java         |    2 +-
 .../camel/util/IntrospectionSupportTest.java       |   17 +
 .../org/apache/camel/util/StringHelperTest.java    |   11 +
 .../camel/component/as2/api/AS2ClientManager.java  |   37 +-
 .../component/as2/api/entity/EntityParser.java     |    2 +-
 .../as2/api/entity/MultipartMimeEntity.java        |    4 +
 .../as2/api/entity/MultipartSignedEntity.java      |    9 +-
 .../camel/component/as2/api/AS2MessageTest.java    |  116 +-
 .../camel-aws/src/main/docs/aws-iam-component.adoc |    6 +
 .../camel/component/aws/iam/IAMConstants.java      |    2 +
 .../camel/component/aws/iam/IAMOperations.java     |    4 +-
 .../camel/component/aws/iam/IAMProducer.java       |   63 +
 .../camel/component/aws/mq/MQOperations.java       |    3 +-
 .../apache/camel/component/aws/mq/MQProducer.java  |   30 +-
 .../component/aws/ddb/AmazonDDBClientMock.java     |    7 +-
 .../component/aws/iam/AmazonIAMClientMock.java     |    9 +-
 .../component/aws/iam/IAMProducerSpringTest.java   |   41 +
 .../camel/component/aws/iam/IAMProducerTest.java   |   43 +
 .../component/aws/kms/AmazonKMSClientMock.java     |    4 +-
 .../aws/lambda/AmazonLambdaClientMock.java         |    4 +-
 .../camel/component/aws/mq/AmazonMQClientMock.java |   10 +-
 .../component/aws/mq/MQProducerSpringTest.java     |   22 +
 .../camel/component/aws/mq/MQProducerTest.java     |   25 +
 .../camel/component/aws/s3/AmazonS3ClientMock.java |    7 +-
 .../aws/s3/AmazonS3EncryptionClientMock.java       |    9 +-
 .../component/aws/sdb/AmazonSDBClientMock.java     |    7 +-
 .../component/aws/ses/AmazonSESClientMock.java     |    7 +-
 .../component/aws/sns/AmazonSNSClientMock.java     |    7 +-
 .../aws/sns/SnsComponentConfigurationTest.java     |    2 -
 .../component/aws/sqs/AmazonSQSClientMock.java     |    7 +-
 .../aws/iam/IAMComponentSpringTest-context.xml     |   10 +
 .../aws/mq/MQComponentSpringTest-context.xml       |    5 +
 .../camel/dataformat/bindy/BindyCsvFactory.java    |    8 +
 .../dataformat/bindy/annotation/CsvRecord.java     |    5 +
 .../dataformat/bindy/csv/BindyCsvDataFormat.java   |   84 +-
 .../BindyDoNotRemoveQuotesCsvUnmarshallTest.java   |  114 +
 ...yDoNotRemoveQuotesCsvUnmarshallTest-context.xml |   34 +
 .../org/apache/camel/cdi/CamelContextProducer.java |    3 +-
 .../org/apache/camel/cdi/CdiCamelExtension.java    |   32 +-
 .../java/org/apache/camel/cdi/CdiSpiHelper.java    |   50 +
 .../org/apache/camel/cdi/SyntheticAnnotated.java   |   17 +-
 .../org/apache/camel/cdi/XmlCdiBeanFactory.java    |   11 +-
 .../org/apache/camel/cdi/test/NoTCCLSetTest.java   |   66 +
 .../camel/component/dns/policy/DnsActivation.java  |   12 +-
 .../component/dns/policy/DnsActivationPolicy.java  |   22 +-
 .../services/org/apache/camel/TypeConverter        |    2 +-
 .../apache/camel/component/fhir/api/FhirRead.java  |   67 +-
 .../camel/component/fhir/api/FhirUpdate.java       |   30 +-
 components/camel-fhir/camel-fhir-component/pom.xml |    3 +
 .../apache/camel/component/fhir/FhirReadIT.java    |    4 +-
 .../apache/camel/component/fhir/FhirUpdateIT.java  |   30 +-
 .../camel-ftp/src/main/docs/ftp-component.adoc     |    3 +-
 .../camel-ftp/src/main/docs/ftps-component.adoc    |    3 +-
 .../camel-ftp/src/main/docs/sftp-component.adoc    |    3 +-
 .../remote/FtpDefaultMoveExistingFileStrategy.java |   96 +
 .../camel/component/file/remote/FtpEndpoint.java   |   12 +
 .../camel/component/file/remote/FtpOperations.java |   69 +-
 .../component/file/remote/RemoteFileConsumer.java  |   38 +-
 .../component/file/remote/RemoteFileProducer.java  |   49 +-
 .../SftpDefaultMoveExistingFileStrategy.java       |   83 +
 .../camel/component/file/remote/SftpEndpoint.java  |   12 +
 .../component/file/remote/SftpOperations.java      |   60 +-
 .../remote/strategy/FtpProcessStrategyFactory.java |    9 +
 .../strategy/SftpProcessStrategyFactory.java       |    9 +
 .../FtpBadLoginInProducerConnectionLeakTest.java   |    4 +-
 .../file/remote/FtpProducerMoveExistingTest.java   |    2 +-
 .../component/file/remote/FtpSoTimeoutTest.java    |  108 +
 .../remote/sftp/SftpConsumerDisconnectTest.java    |   55 +-
 .../remote/sftp/SftpProducerMoveExistingTest.java  |    2 +-
 .../camel-jsch/src/main/docs/scp-component.adoc    |    3 +-
 .../src/main/docs/opentracing.adoc                 |    8 +-
 .../camel/opentracing/OpenTracingTracer.java       |   58 +-
 .../apache/camel/opentracing/SpanDecorator.java    |   23 +
 .../decorators/AbstractMessagingSpanDecorator.java |   17 +-
 .../decorators/AbstractSpanDecorator.java          |   33 +-
 .../CamelMessagingHeadersExtractAdapter.java       |   62 +
 .../CamelMessagingHeadersInjectAdapter.java        |   66 +
 .../CamelMessagingHeadersExtractAdapterTest.java   |   74 +
 .../CamelMessagingHeadersInjectAdapterTest.java    |   72 +
 .../camel/component/pubnub/PubNubPresenceTest.java |    4 +-
 components/camel-reactive-streams/pom.xml          |    6 +
 .../reactive/streams/DirectClientAPITest.java      |   37 +-
 .../component/restlet/DefaultRestletBinding.java   |    2 +-
 .../src/main/docs/salesforce-component.adoc        |    9 +
 .../component/salesforce/SalesforceComponent.java  |    4 +-
 .../src/main/docs/servlet-component.adoc           |  247 +-
 .../apache/camel/swagger/RestSwaggerSupport.java   |    5 +-
 .../directmessage/DirectMessageProducer.java       |    5 +-
 .../twitter/DirectMessageProducerTest.java         |   76 +
 docs/pom.xml                                       |  127 +
 docs/theme/apache-theme.yml                        |  284 +++
 docs/theme/fonts/DroidSerif-Bold.ttf               |  Bin 0 -> 185228 bytes
 docs/theme/fonts/DroidSerif-BoldItalic.ttf         |  Bin 0 -> 190304 bytes
 docs/theme/fonts/DroidSerif-Italic.ttf             |  Bin 0 -> 177560 bytes
 docs/theme/fonts/DroidSerif-Regular.ttf            |  Bin 0 -> 172916 bytes
 docs/theme/fonts/DroidSerif_Apache License.txt     |  201 ++
 docs/theme/fonts/OpenSans-Bold.ttf                 |  Bin 0 -> 224452 bytes
 docs/theme/fonts/OpenSans-BoldItalic.ttf           |  Bin 0 -> 213168 bytes
 docs/theme/fonts/OpenSans-ExtraBold.ttf            |  Bin 0 -> 222424 bytes
 docs/theme/fonts/OpenSans-ExtraBoldItalic.ttf      |  Bin 0 -> 213336 bytes
 docs/theme/fonts/OpenSans-Italic.ttf               |  Bin 0 -> 212760 bytes
 docs/theme/fonts/OpenSans-Light.ttf                |  Bin 0 -> 222236 bytes
 docs/theme/fonts/OpenSans-LightItalic.ttf          |  Bin 0 -> 213024 bytes
 docs/theme/fonts/OpenSans-Regular.ttf              |  Bin 0 -> 217276 bytes
 docs/theme/fonts/OpenSans-SemiBold.ttf             |  Bin 0 -> 221164 bytes
 docs/theme/fonts/OpenSans-SemiBoldItalic.ttf       |  Bin 0 -> 212732 bytes
 docs/theme/fonts/OpenSans_LICENSE.txt              |  202 ++
 docs/theme/images/asf_logo.png                     |  Bin 0 -> 21243 bytes
 docs/theme/images/asf_logo_url.png                 |  Bin 0 -> 21121 bytes
 docs/user-manual/en/apache.css                     | 2448 ++++++++++++++++++++
 .../apache-spark.data/camel_spark_cluster.png      |  Bin
 .../apache-spark.data/camel_spark_driver.png       |  Bin
 .../apache-spark.data/fabric_docker-(2).png        |  Bin
 .../architecture.data/camel-components.png         |  Bin
 .../async.data/camel_async_request_only.png        |  Bin
 .../async.data/camel_async_request_reply.png       |  Bin
 .../async.data/camel_sync_request_only.png         |  Bin
 .../async.data/camel_sync_request_reply.png        |  Bin
 .../barcode-data-format.data/qr-code.png           |  Bin
 .../camel-eclipse-m2e-import-completed.png         |  Bin
 .../building.data/camel-eclipse-m2e-import.png     |  Bin
 .../{ => images}/camel-core.data/architecture.png  |  Bin
 .../architecture_incl_violations.png               |  Bin
 .../en/{ => images}/debugger.data/debug.png        |  Bin
 .../direct-vm.data/camel-direct-vm.png             |  Bin
 .../enterprise-integration-patterns.data/clear.png |  Bin
 .../lifecycle.data/service_lifecycle.png           |  Bin
 docs/user-manual/en/index.adoc                     |  107 +
 parent/pom.xml                                     |   48 +-
 .../starter/OpenTracingAutoConfiguration.java      |    3 +
 .../OpenTracingConfigurationProperties.java        |   15 +-
 pom.xml                                            |    1 +
 tests/camel-itest-spring-boot/pom.xml              |    2 +-
 tooling/maven/camel-restdsl-swagger-plugin/pom.xml |   13 +
 .../src/it/customized/pom.xml                      |   20 +
 .../src/it/{customized => simple-dto}/pom.xml      |   51 +-
 .../{simple => simple-dto}/src/spec/swagger.json   |    0
 .../src/it/simple-dto/verify.groovy                |   15 +-
 .../src/it/{customized => simple-xml-dto}/pom.xml  |   51 +-
 .../src/spec/swagger.json                          |    0
 .../src/it/simple-xml-dto/verify.groovy            |   15 +-
 .../src/it/simple-xml/pom.xml                      |    2 +-
 .../main/docs/camel-restdsl-swagger-plugin.adoc    |  126 +
 .../generator/swagger/AbstractGenerateMojo.java    |  172 ++
 .../maven/generator/swagger/GenerateMojo.java      |   59 +
 .../generator/swagger/GenerateWithDtoMojo.java     |   31 +-
 .../maven/generator/swagger/GenerateXmlMojo.java   |   35 +-
 .../generator/swagger/GenerateXmlWithDtoMojo.java  |   32 +-
 .../camel/generator/swagger/RestDslGenerator.java  |   40 +
 .../swagger/RestDslSourceCodeGenerator.java        |   22 +-
 .../generator/swagger/RestDslXmlGenerator.java     |    9 +
 .../SpringBootProjectSourceCodeGenerator.java      |  106 +
 .../PathSpringBootProjectSourceGeneratorTest.java  |   46 +
 .../generator/swagger/RestDslGeneratorTest.java    |   12 +
 .../generator/swagger/RestDslXmlGeneratorTest.java |   12 +
 .../test/resources/SpringBootRestController.txt    |   24 +
 .../resources/SwaggerPetstoreWithRestComponent.txt |  294 +++
 .../SwaggerPetstoreWithRestComponentXml.txt        |  101 +
 170 files changed, 7017 insertions(+), 698 deletions(-)
 create mode 100644 camel-core/src/main/java/org/apache/camel/component/file/GenericFileDefaultMoveExistingFileStrategy.java
 create mode 100644 camel-core/src/main/java/org/apache/camel/component/file/strategy/FileMoveExistingStrategy.java
 create mode 100644 camel-core/src/test/java/org/apache/camel/component/file/FileProducerMoveExistingStrategyTest.java
 create mode 100644 components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyDoNotRemoveQuotesCsvUnmarshallTest.java
 create mode 100644 components/camel-bindy/src/test/resources/org/apache/camel/dataformat/bindy/csv/BindyDoNotRemoveQuotesCsvUnmarshallTest-context.xml
 create mode 100644 components/camel-cdi/src/test/java/org/apache/camel/cdi/test/NoTCCLSetTest.java
 create mode 100644 components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpDefaultMoveExistingFileStrategy.java
 create mode 100644 components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpDefaultMoveExistingFileStrategy.java
 create mode 100644 components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSoTimeoutTest.java
 create mode 100644 components/camel-opentracing/src/main/java/org/apache/camel/opentracing/propagation/CamelMessagingHeadersExtractAdapter.java
 create mode 100644 components/camel-opentracing/src/main/java/org/apache/camel/opentracing/propagation/CamelMessagingHeadersInjectAdapter.java
 create mode 100644 components/camel-opentracing/src/test/java/org/apache/camel/opentracing/propagation/CamelMessagingHeadersExtractAdapterTest.java
 create mode 100644 components/camel-opentracing/src/test/java/org/apache/camel/opentracing/propagation/CamelMessagingHeadersInjectAdapterTest.java
 create mode 100644 components/camel-twitter/src/test/java/org/apache/camel/component/twitter/DirectMessageProducerTest.java
 create mode 100644 docs/pom.xml
 create mode 100644 docs/theme/apache-theme.yml
 create mode 100644 docs/theme/fonts/DroidSerif-Bold.ttf
 create mode 100644 docs/theme/fonts/DroidSerif-BoldItalic.ttf
 create mode 100644 docs/theme/fonts/DroidSerif-Italic.ttf
 create mode 100644 docs/theme/fonts/DroidSerif-Regular.ttf
 create mode 100644 docs/theme/fonts/DroidSerif_Apache License.txt
 create mode 100644 docs/theme/fonts/OpenSans-Bold.ttf
 create mode 100644 docs/theme/fonts/OpenSans-BoldItalic.ttf
 create mode 100644 docs/theme/fonts/OpenSans-ExtraBold.ttf
 create mode 100644 docs/theme/fonts/OpenSans-ExtraBoldItalic.ttf
 create mode 100644 docs/theme/fonts/OpenSans-Italic.ttf
 create mode 100644 docs/theme/fonts/OpenSans-Light.ttf
 create mode 100644 docs/theme/fonts/OpenSans-LightItalic.ttf
 create mode 100644 docs/theme/fonts/OpenSans-Regular.ttf
 create mode 100644 docs/theme/fonts/OpenSans-SemiBold.ttf
 create mode 100644 docs/theme/fonts/OpenSans-SemiBoldItalic.ttf
 create mode 100644 docs/theme/fonts/OpenSans_LICENSE.txt
 create mode 100644 docs/theme/images/asf_logo.png
 create mode 100644 docs/theme/images/asf_logo_url.png
 create mode 100644 docs/user-manual/en/apache.css
 rename docs/user-manual/en/{ => images}/apache-spark.data/camel_spark_cluster.png (100%)
 rename docs/user-manual/en/{ => images}/apache-spark.data/camel_spark_driver.png (100%)
 rename docs/user-manual/en/{ => images}/apache-spark.data/fabric_docker-(2).png (100%)
 rename docs/user-manual/en/{ => images}/architecture.data/camel-components.png (100%)
 rename docs/user-manual/en/{ => images}/async.data/camel_async_request_only.png (100%)
 rename docs/user-manual/en/{ => images}/async.data/camel_async_request_reply.png (100%)
 rename docs/user-manual/en/{ => images}/async.data/camel_sync_request_only.png (100%)
 rename docs/user-manual/en/{ => images}/async.data/camel_sync_request_reply.png (100%)
 rename docs/user-manual/en/{ => images}/barcode-data-format.data/qr-code.png (100%)
 rename docs/user-manual/en/{ => images}/building.data/camel-eclipse-m2e-import-completed.png (100%)
 rename docs/user-manual/en/{ => images}/building.data/camel-eclipse-m2e-import.png (100%)
 rename docs/user-manual/en/{ => images}/camel-core.data/architecture.png (100%)
 rename docs/user-manual/en/{ => images}/camel-core.data/architecture_incl_violations.png (100%)
 rename docs/user-manual/en/{ => images}/debugger.data/debug.png (100%)
 rename docs/user-manual/en/{ => images}/direct-vm.data/camel-direct-vm.png (100%)
 rename docs/user-manual/en/{ => images}/enterprise-integration-patterns.data/clear.png (100%)
 rename docs/user-manual/en/{ => images}/lifecycle.data/service_lifecycle.png (100%)
 create mode 100644 docs/user-manual/en/index.adoc
 copy tooling/maven/camel-restdsl-swagger-plugin/src/it/{customized => simple-dto}/pom.xml (69%)
 copy tooling/maven/camel-restdsl-swagger-plugin/src/it/{simple => simple-dto}/src/spec/swagger.json (100%)
 copy components/camel-aws/src/main/java/org/apache/camel/component/aws/iam/IAMOperations.java => tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-dto/verify.groovy (68%)
 copy tooling/maven/camel-restdsl-swagger-plugin/src/it/{customized => simple-xml-dto}/pom.xml (69%)
 copy tooling/maven/camel-restdsl-swagger-plugin/src/it/{simple => simple-xml-dto}/src/spec/swagger.json (100%)
 copy components/camel-aws/src/main/java/org/apache/camel/component/aws/iam/IAMOperations.java => tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml-dto/verify.groovy (68%)
 copy platforms/spring-boot/components-starter/camel-opentracing-starter/src/main/java/org/apache/camel/opentracing/starter/OpenTracingConfigurationProperties.java => tooling/maven/camel-restdsl-swagger-plugin/src/main/java/org/apache/camel/maven/generator/swagger/GenerateWithDtoMojo.java (54%)
 copy platforms/spring-boot/components-starter/camel-opentracing-starter/src/main/java/org/apache/camel/opentracing/starter/OpenTracingConfigurationProperties.java => tooling/maven/camel-restdsl-swagger-plugin/src/main/java/org/apache/camel/maven/generator/swagger/GenerateXmlWithDtoMojo.java (51%)
 create mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/SpringBootProjectSourceCodeGenerator.java
 create mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/PathSpringBootProjectSourceGeneratorTest.java
 create mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SpringBootRestController.txt
 create mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponent.txt
 create mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponentXml.txt


[camel] 05/09: CAMEL-12618: upgrade Groovy Eclipse compiler

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c8084260ab095aaaedb844d1f757aaf494fb91e4
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Thu Aug 23 10:56:33 2018 +0200

    CAMEL-12618: upgrade Groovy Eclipse compiler
---
 archetypes/camel-archetype-groovy/pom.xml                   | 13 ++++++++++++-
 .../src/main/resources/archetype-resources/pom.xml          |  4 ++--
 components/camel-grape/pom.xml                              |  8 +++-----
 components/camel-groovy-dsl/pom.xml                         |  4 ++--
 examples/camel-example-groovy/pom.xml                       |  4 ++--
 parent/pom.xml                                              |  2 ++
 pom.xml                                                     | 12 ++++++++++++
 7 files changed, 35 insertions(+), 12 deletions(-)

diff --git a/archetypes/camel-archetype-groovy/pom.xml b/archetypes/camel-archetype-groovy/pom.xml
index 88d596f..e88d843 100644
--- a/archetypes/camel-archetype-groovy/pom.xml
+++ b/archetypes/camel-archetype-groovy/pom.xml
@@ -46,7 +46,7 @@
     <resources>
       <resource>
         <directory>src/main/resources</directory>
-        <filtering>false</filtering>
+        <filtering>true</filtering>
       </resource>
       <resource>
         <directory>src/main/resources-filtered</directory>
@@ -56,6 +56,17 @@
         </includes>
       </resource>
     </resources>
+    <plugins>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+            <useDefaultDelimiters>false</useDefaultDelimiters>
+            <delimiters>
+                <delimiter>@</delimiter>
+            </delimiters>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
 </project>
diff --git a/archetypes/camel-archetype-groovy/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-groovy/src/main/resources/archetype-resources/pom.xml
index ed27546..18b945b 100644
--- a/archetypes/camel-archetype-groovy/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-groovy/src/main/resources/archetype-resources/pom.xml
@@ -114,7 +114,7 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-compiler</artifactId>
-            <version>2.9.2-01</version>
+            <version>@groovy-eclipse-compiler-version@</version>
             <exclusions>
               <exclusion>
                 <groupId>org.codehaus.groovy</groupId>
@@ -125,7 +125,7 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-batch</artifactId>
-            <version>2.4.3-01</version>
+            <version>@groovy-eclipse-batch-version@</version>
           </dependency>
         </dependencies>
       </plugin>
diff --git a/components/camel-grape/pom.xml b/components/camel-grape/pom.xml
index e408f6d..811d5ac 100644
--- a/components/camel-grape/pom.xml
+++ b/components/camel-grape/pom.xml
@@ -32,8 +32,6 @@
   <description>The grape component allows you to fetch, load and manage additional jars when CamelContext is running</description>
 
   <properties>
-    <groovy-eclipse-batch.version>2.4.3-01</groovy-eclipse-batch.version>
-    <groovy-eclipse-compiler.version>2.9.2-01</groovy-eclipse-compiler.version>
     <plexus-compiler-api.version>2.8.3</plexus-compiler-api.version>
     <camel.osgi.export.pkg />
   </properties>
@@ -95,12 +93,12 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-batch</artifactId>
-            <version>${groovy-eclipse-batch.version}</version>
+            <version>${groovy-eclipse-batch-version}</version>
           </dependency>
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-compiler</artifactId>
-            <version>${groovy-eclipse-compiler.version}</version>
+            <version>${groovy-eclipse-compiler-version}</version>
           </dependency>
           <dependency>
             <groupId>org.codehaus.plexus</groupId>
@@ -115,7 +113,7 @@
       <plugin>
         <groupId>org.codehaus.groovy</groupId>
         <artifactId>groovy-eclipse-compiler</artifactId>
-        <version>${groovy-eclipse-compiler.version}</version>
+        <version>${groovy-eclipse-compiler-version}</version>
         <extensions>true</extensions>
       </plugin>
       <plugin>
diff --git a/components/camel-groovy-dsl/pom.xml b/components/camel-groovy-dsl/pom.xml
index 62ac12a..79db32a 100644
--- a/components/camel-groovy-dsl/pom.xml
+++ b/components/camel-groovy-dsl/pom.xml
@@ -138,7 +138,7 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-compiler</artifactId>
-            <version>2.9.2-01</version>
+            <version>${groovy-eclipse-compiler-version}</version>
             <exclusions>
               <exclusion>
                 <groupId>org.codehaus.groovy</groupId>
@@ -149,7 +149,7 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-batch</artifactId>
-            <version>2.4.3-01</version>
+            <version>${groovy-eclipse-batch-version}</version>
           </dependency>
         </dependencies>
       </plugin>
diff --git a/examples/camel-example-groovy/pom.xml b/examples/camel-example-groovy/pom.xml
index 577f398..c26933b 100644
--- a/examples/camel-example-groovy/pom.xml
+++ b/examples/camel-example-groovy/pom.xml
@@ -97,7 +97,7 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-compiler</artifactId>
-            <version>2.9.2-01</version>
+            <version>${groovy-eclipse-compiler-version}</version>
             <exclusions>
               <exclusion>
                 <groupId>org.codehaus.groovy</groupId>
@@ -108,7 +108,7 @@
           <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy-eclipse-batch</artifactId>
-            <version>2.4.3-01</version>
+            <version>${groovy-eclipse-batch-version}</version>
           </dependency>
         </dependencies>
       </plugin>
diff --git a/parent/pom.xml b/parent/pom.xml
index 9cab835..f6da4be 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -268,6 +268,8 @@
     <google-mail-guava-version>17.0</google-mail-guava-version>
     <google-truth-version>0.30</google-truth-version>
     <grizzly-websockets-version>2.3.25</grizzly-websockets-version>
+    <groovy-eclipse-compiler-version>3.0.0-01</groovy-eclipse-compiler-version>
+    <groovy-eclipse-batch-version>2.5.2-01</groovy-eclipse-batch-version>
     <grpc-version>1.15.0</grpc-version>
     <grpc-google-auth-library-version>0.9.0</grpc-google-auth-library-version>
     <grpc-guava-version>20.0</grpc-guava-version>
diff --git a/pom.xml b/pom.xml
index a7ab1b0..75f1a2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -149,6 +149,18 @@
         <enabled>false</enabled>
       </releases>
     </pluginRepository>
+    <!-- needed for Groovy Eclipse plugin -->
+    <pluginRepository>
+      <id>bintray</id>
+      <url>https://dl.bintray.com/groovy/maven</url>
+      <name>Bintray Repository</name>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </pluginRepository>
   </pluginRepositories>
 
   <modules>


[camel] 09/09: Upgrade Spring Boot to 2.1.0.M4

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0dd568a2535824a6ca8f177a54bb658add498a23
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 24 21:39:17 2018 +0200

    Upgrade Spring Boot to 2.1.0.M4
---
 .../org/apache/camel/http/common/CamelServlet.java |  1 -
 components/camel-spring-boot/pom.xml               |  6 ++++++
 .../cloud/CamelCloudConfigurationProperties.java   |  2 --
 .../boot/CamelAutoConfigurationPropertiesTest.java |  2 +-
 .../boot/CamelConfigurationLocationsTest.java      |  2 +-
 .../camel/spring/boot/CamelEventNotifierTest.java  |  2 +-
 .../boot/CustomCamelCamelConfigurationTest.java    |  2 +-
 .../spring/boot/CustomShutdownStrategyTest.java    |  2 +-
 .../spring/boot/SpringConverterDelegationTest.java |  2 +-
 .../camel/spring/boot/issues/RestDslPostTest.java  |  2 +-
 .../camel/spring/boot/issues/SimpleOgnlTest.java   |  2 +-
 .../boot/parent/SpringBootRefreshContextTest.java  |  5 +++--
 parent/pom.xml                                     |  2 +-
 pom.xml                                            | 24 ++++++++++++++++++++++
 14 files changed, 42 insertions(+), 14 deletions(-)

diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
index 2b12a62..c7db0b2 100644
--- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
+++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
@@ -23,7 +23,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
-import java.util.stream.Collector;
 import java.util.stream.Collectors;
 import javax.servlet.AsyncContext;
 import javax.servlet.ServletConfig;
diff --git a/components/camel-spring-boot/pom.xml b/components/camel-spring-boot/pom.xml
index e2a7028..4ddb7f3 100644
--- a/components/camel-spring-boot/pom.xml
+++ b/components/camel-spring-boot/pom.xml
@@ -129,6 +129,12 @@
       <artifactId>camel-http4</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.activation</groupId>
+      <artifactId>javax.activation-api</artifactId>
+      <version>${activation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
 
   </dependencies>
 
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/cloud/CamelCloudConfigurationProperties.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/cloud/CamelCloudConfigurationProperties.java
index 20c83a7..51a8baa 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/cloud/CamelCloudConfigurationProperties.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/cloud/CamelCloudConfigurationProperties.java
@@ -20,8 +20,6 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.camel.Expression;
-import org.apache.camel.cloud.ServiceLoadBalancer;
 import org.apache.camel.model.cloud.ServiceCallDefinitionConstants;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationPropertiesTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationPropertiesTest.java
index 4f15180..15de030 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationPropertiesTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationPropertiesTest.java
@@ -35,7 +35,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 @DirtiesContext
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = CamelAutoConfigurationPropertiesTest.class, properties = "camel.springboot.jmxEnabled=false")
+@SpringBootTest(properties = "camel.springboot.jmxEnabled=false")
 public class CamelAutoConfigurationPropertiesTest extends Assert {
 
     // Route fixtures
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelConfigurationLocationsTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelConfigurationLocationsTest.java
index 82f61bc..c8b68dd 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelConfigurationLocationsTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelConfigurationLocationsTest.java
@@ -33,7 +33,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 @DirtiesContext
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = CamelConfigurationLocationsTest.class, properties = "camel.springboot.file-configurations=file:src/test/secret/*.properties")
+@SpringBootTest(properties = "camel.springboot.file-configurations=file:src/test/secret/*.properties")
 public class CamelConfigurationLocationsTest extends Assert {
 
     @Configuration
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelEventNotifierTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelEventNotifierTest.java
index 397c989..3012356 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelEventNotifierTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelEventNotifierTest.java
@@ -39,7 +39,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 @DirtiesContext
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = CamelEventNotifierTest.class)
+@SpringBootTest
 public class CamelEventNotifierTest extends Assert {
 
     @Configuration
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomCamelCamelConfigurationTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomCamelCamelConfigurationTest.java
index 42fcdf9..24ba9c9 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomCamelCamelConfigurationTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomCamelCamelConfigurationTest.java
@@ -32,7 +32,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 @DirtiesContext
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = CustomCamelCamelConfigurationTest.class)
+@SpringBootTest
 public class CustomCamelCamelConfigurationTest extends Assert {
 
     @Configuration
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomShutdownStrategyTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomShutdownStrategyTest.java
index bdf8d80..fb2aea4 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomShutdownStrategyTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CustomShutdownStrategyTest.java
@@ -38,7 +38,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 @DirtiesContext
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = CustomShutdownStrategyTest.class)
+@SpringBootTest
 public class CustomShutdownStrategyTest extends Assert {
 
     @Autowired
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/SpringConverterDelegationTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/SpringConverterDelegationTest.java
index 83c3332..3dae2cc 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/SpringConverterDelegationTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/SpringConverterDelegationTest.java
@@ -32,7 +32,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 @DirtiesContext
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = SpringConverterDelegationTest.class, properties = "camel.springboot.typeConversion=true")
+@SpringBootTest(properties = "camel.springboot.typeConversion=true")
 public class SpringConverterDelegationTest extends Assert {
 
     @Autowired
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/RestDslPostTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/RestDslPostTest.java
index 6d835b8..145cee9 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/RestDslPostTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/RestDslPostTest.java
@@ -39,7 +39,7 @@ import org.springframework.util.SocketUtils;
 
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = { RestDslPostTest.class })
+@SpringBootTest
 public class RestDslPostTest extends Assert {
 
     static final int PORT = SocketUtils.findAvailableTcpPort(20000);
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
index 87148cd..45afd46 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
@@ -34,7 +34,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = { SimpleOgnlTest.class })
+@SpringBootTest
 public class SimpleOgnlTest {
     @EndpointInject(uri = "mock:result")
     protected MockEndpoint resultEndpoint;
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/parent/SpringBootRefreshContextTest.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/parent/SpringBootRefreshContextTest.java
index d1adfcf..b658122 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/parent/SpringBootRefreshContextTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/parent/SpringBootRefreshContextTest.java
@@ -20,6 +20,7 @@ import org.apache.camel.RoutesBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.spring.boot.RoutesCollector;
 import org.junit.Test;
+import org.springframework.boot.WebApplicationType;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.builder.SpringApplicationBuilder;
 import org.springframework.context.ConfigurableApplicationContext;
@@ -33,7 +34,7 @@ public class SpringBootRefreshContextTest {
     public void shouldOnlyCollectRoutesOnce() {
         GenericApplicationContext parent = new GenericApplicationContext();
         parent.refresh();
-        ConfigurableApplicationContext context = new SpringApplicationBuilder(Configuration.class).web(false).parent(parent).run();
+        ConfigurableApplicationContext context = new SpringApplicationBuilder(Configuration.class).web(WebApplicationType.NONE).parent(parent).run();
         ContextRefreshedEvent refreshEvent = new ContextRefreshedEvent(context);
         RoutesCollector collector = context.getBean(RoutesCollector.class);
         collector.onApplicationEvent(refreshEvent); //no changes should happen here
@@ -54,4 +55,4 @@ class Configuration {
         };
     }
 
-}
\ No newline at end of file
+}
diff --git a/parent/pom.xml b/parent/pom.xml
index 7c25dfc..d767b2c 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -639,7 +639,7 @@
     <splunk-version>1.6.4.0_1</splunk-version>
     <spring-batch-version>4.0.1.RELEASE</spring-batch-version>
     <spring-batch-bundle-version>4.0.1.RELEASE_1</spring-batch-bundle-version>
-    <spring-boot-version>2.0.5.RELEASE</spring-boot-version>
+    <spring-boot-version>2.1.0.M4</spring-boot-version>
     <spring-cloud-commons-version>2.0.1.RELEASE</spring-cloud-commons-version>
     <spring-cloud-consul-version>2.0.1.RELEASE</spring-cloud-consul-version>
     <spring-cloud-netflix-version>2.0.1.RELEASE</spring-cloud-netflix-version>
diff --git a/pom.xml b/pom.xml
index 75f1a2b..9cea9fa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,19 @@
         <enabled>false</enabled>
       </releases>
     </repository>
+    <!-- for Java 11 support we need Spring milestone releases,
+         to be removed when released -->
+    <repository>
+      <id>spring.milestone</id>
+      <url>https://repo.spring.io/milestone/</url>
+      <name>Spring Milestone repository</name>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
   </repositories>
 
   <pluginRepositories>
@@ -161,6 +174,17 @@
         <enabled>true</enabled>
       </releases>
     </pluginRepository>
+    <pluginRepository>
+      <id>spring.milestone</id>
+      <url>https://repo.spring.io/milestone/</url>
+      <name>Spring Milestone repository</name>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </pluginRepository>
   </pluginRepositories>
 
   <modules>


[camel] 04/09: CAMEL-12618: Use Groovy 3.0.0-SNAPSHOT for gmav...

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 720092aacc6994fd555bfce523ec27191e7895d2
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Aug 17 12:33:14 2018 +0200

    CAMEL-12618: Use Groovy 3.0.0-SNAPSHOT for gmav...
    
    ...enplus plugin
    
    There is no released Groovy version that supports Java 11[1], so this
    uses a snapshot version in the configuration of the gmavenplus plugin so
    the build can be performed on Java 11.
    
    [1] https://issues.apache.org/jira/browse/GROOVY-8727
---
 buildingtools/pom.xml                              | 14 -------
 components/camel-grpc/pom.xml                      | 14 -------
 .../camel-olingo2/camel-olingo2-component/pom.xml  |  8 ----
 components/camel-protobuf/pom.xml                  | 14 -------
 pom.xml                                            | 44 ++++++++++++++++++++++
 5 files changed, 44 insertions(+), 50 deletions(-)

diff --git a/buildingtools/pom.xml b/buildingtools/pom.xml
index 5e8d7bd..4e61020 100644
--- a/buildingtools/pom.xml
+++ b/buildingtools/pom.xml
@@ -113,20 +113,6 @@
                         </configuration>
                     </execution>
                 </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.codehaus.groovy</groupId>
-                        <artifactId>groovy-ant</artifactId>
-                        <version>${groovy-version}</version>
-                        <scope>runtime</scope>
-		    </dependency>
-	            <dependency>
-                        <groupId>org.codehaus.groovy</groupId>
-                        <artifactId>groovy-xml</artifactId>
-                        <version>${groovy-version}</version>
-                        <scope>runtime</scope>
-		    </dependency>
-                </dependencies>
             </plugin>
             <plugin>
                 <!--
diff --git a/components/camel-grpc/pom.xml b/components/camel-grpc/pom.xml
index 1802868..01180d6 100644
--- a/components/camel-grpc/pom.xml
+++ b/components/camel-grpc/pom.xml
@@ -172,20 +172,6 @@
             </configuration>
           </execution>
         </executions>
-        <dependencies>
-          <dependency>
-            <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy</artifactId>
-            <version>${groovy-version}</version>
-            <scope>runtime</scope>
-          </dependency>
-          <dependency>
-            <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy-ant</artifactId>
-            <version>${groovy-version}</version>
-            <scope>runtime</scope>
-          </dependency>
-        </dependencies>
       </plugin>
 
       <!-- gRPC and protobuf Java code generator plugin -->
diff --git a/components/camel-olingo2/camel-olingo2-component/pom.xml b/components/camel-olingo2/camel-olingo2-component/pom.xml
index ae1606b..8ac9bd9 100644
--- a/components/camel-olingo2/camel-olingo2-component/pom.xml
+++ b/components/camel-olingo2/camel-olingo2-component/pom.xml
@@ -330,14 +330,6 @@
                 </configuration>
               </execution>
             </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.codehaus.groovy</groupId>
-                    <artifactId>groovy</artifactId>
-                    <version>${groovy-version}</version>
-                    <scope>runtime</scope>
-                </dependency>
-            </dependencies>
           </plugin>
           <plugin>
             <artifactId>maven-archetype-plugin</artifactId>
diff --git a/components/camel-protobuf/pom.xml b/components/camel-protobuf/pom.xml
index d7a4861..98ced80 100644
--- a/components/camel-protobuf/pom.xml
+++ b/components/camel-protobuf/pom.xml
@@ -125,20 +125,6 @@
             </configuration>
           </execution>
         </executions>
-        <dependencies>
-          <dependency>
-            <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy</artifactId>
-            <version>${groovy-version}</version>
-            <scope>runtime</scope>
-          </dependency>
-	  <dependency>
-            <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy-ant</artifactId>
-            <version>${groovy-version}</version>
-            <scope>runtime</scope>
-          </dependency>
-        </dependencies>
       </plugin>
 
       <!-- Protobuf Java code generator plugin -->
diff --git a/pom.xml b/pom.xml
index b8e6a45..a7ab1b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,6 +138,17 @@
         <enabled>false</enabled>
       </releases>
     </pluginRepository>
+    <!-- needed for Groovy SNAPSHOTs see gmaven plugin below -->
+    <pluginRepository>
+      <id>oss.jfrog.org-snapshots</id>
+      <url>https://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
   </pluginRepositories>
 
   <modules>
@@ -328,6 +339,39 @@
             <autoVersionSubmodules>true</autoVersionSubmodules>
           </configuration>
         </plugin>
+
+        <plugin>
+          <groupId>org.codehaus.gmavenplus</groupId>
+          <artifactId>gmavenplus-plugin</artifactId>
+          <version>${gmavenplus-plugin-version}</version>
+          <dependencies>
+            <!-- until we get a release that fixes https://issues.apache.org/jira/browse/GROOVY-8727
+                 we use a snapshot version
+            -->
+            <dependency>
+              <groupId>org.codehaus.groovy</groupId>
+              <artifactId>groovy</artifactId>
+              <!--<version>${groovy-version}</version>-->
+              <version>3.0.0-SNAPSHOT</version>
+              <scope>runtime</scope>
+            </dependency>
+            <dependency>
+              <groupId>org.codehaus.groovy</groupId>
+              <artifactId>groovy-xml</artifactId>
+              <!--<version>${groovy-version}</version>-->
+              <version>3.0.0-SNAPSHOT</version>
+              <scope>runtime</scope>
+            </dependency>
+            <dependency>
+              <groupId>org.codehaus.groovy</groupId>
+              <artifactId>groovy-ant</artifactId>
+              <!--<version>${groovy-version}</version>-->
+              <version>3.0.0-SNAPSHOT</version>
+              <scope>runtime</scope>
+            </dependency>
+          </dependencies>
+        </plugin>
+
       </plugins>
     </pluginManagement>
   </build>


[camel] 08/09: Upgrade Spring framework to 5.1.0.RELEASE

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c6483d606ec8737a646d0098368d4eca87d3a751
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 24 12:22:17 2018 +0200

    Upgrade Spring framework to 5.1.0.RELEASE
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index ca0967b..7c25dfc 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -656,7 +656,7 @@
     <!-- karaf 4.1.x supports spring 4.x and karaf 4.2.x supports spring 5 -->
     <spring-version-range>[4.3,6)</spring-version-range>
     <spring-version>${spring5-version}</spring-version>
-    <spring5-version>5.0.9.RELEASE</spring5-version>
+    <spring5-version>5.1.0.RELEASE</spring5-version>
     <spring-osgi-version>1.2.1</spring-osgi-version>
     <spring-security-version>5.0.8.RELEASE</spring-security-version>
     <spring-security-bundle-version>5.0.4.RELEASE_1</spring-security-bundle-version>


[camel] 07/09: Upgrade Hibernate to 5.3.6.Final

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit bc1e213c4d53259f4a2f977a5435a94902cff055
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 24 12:21:46 2018 +0200

    Upgrade Hibernate to 5.3.6.Final
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 60978b1..ca0967b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -299,7 +299,7 @@
     <hessian-version>4.0.51</hessian-version>
     <hdrhistrogram-version>2.1.10</hdrhistrogram-version>
     <hibernate-validator-version>6.0.13.Final</hibernate-validator-version>
-    <hibernate-version>5.2.16.Final</hibernate-version>
+    <hibernate-version>5.3.6.Final</hibernate-version>
     <hikaricp-version>2.3.13</hikaricp-version>
     <hk2-version>2.3.0</hk2-version>
     <hk2-osgi-resource-version>1.0.1</hk2-osgi-resource-version>


[camel] 02/09: CAMEL-12618: Use fork of MVEL that supports Jav...

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e008d2744b3e68a490cd85c296c1adca68fe7f00
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Jul 13 11:43:54 2018 +0200

    CAMEL-12618: Use fork of MVEL that supports Jav...
    
    ...a 11
    
    Try to fix Java 10 build with MVEL dependency built by jitpack.io.
    
    See mvel/mvel#159[2]
    
    [1] http://openjdk.java.net/jeps/320
    [2] https://github.com/mvel/mvel/issues/159
---
 tooling/maven/camel-package-maven-plugin/pom.xml | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/tooling/maven/camel-package-maven-plugin/pom.xml b/tooling/maven/camel-package-maven-plugin/pom.xml
index 50afd0f..47cf92a 100644
--- a/tooling/maven/camel-package-maven-plugin/pom.xml
+++ b/tooling/maven/camel-package-maven-plugin/pom.xml
@@ -44,6 +44,17 @@
     </dependencies>
   </dependencyManagement>
 
+  <!-- added to allow for Java 10+ compatibility in MVEL
+       there is no release that includes this fix
+       https://github.com/mvel/mvel/issues/159
+  -->
+  <repositories>
+    <repository>
+        <id>jitpack.io</id>
+        <url>https://jitpack.io</url>
+    </repository>
+  </repositories>
+
   <dependencies>
 
     <!-- use our patched ordered json-simple parser -->
@@ -53,10 +64,11 @@
       <version>${project.version}</version>
     </dependency>
 
+    <!-- see above, targeting MVEL with Java 10+ support -->
     <dependency>
-      <groupId>org.mvel</groupId>
-      <artifactId>mvel2</artifactId>
-      <version>${mvel-version}</version>
+      <groupId>com.github.mvel</groupId>
+      <artifactId>mvel</artifactId>
+      <version>97071e83fb</version>
     </dependency>
 
     <dependency>


[camel] 06/09: CAMEL-12618: Additional dependencies needed on ...

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 321464a229c9950a7f13a74b760ba25d2227e8bd
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 24 12:22:50 2018 +0200

    CAMEL-12618: Additional dependencies needed on ...
    
    ...Java 11
    
    Adds additional dependencies needed to compile on Java 11. Java 11
    stopped shipping Java EE classes[1], we need to add them as dependencies
    now.
    
    [1] http://openjdk.java.net/jeps/320
---
 .../src/main/resources/archetype-resources/pom.xml |  17 +++-
 camel-core/pom.xml                                 | 113 ++++++++-------------
 components/camel-as2/camel-as2-api/pom.xml         |  21 ----
 components/camel-bam/pom.xml                       |  58 +++++------
 components/camel-bindy/pom.xml                     |  25 ++---
 components/camel-blueprint/pom.xml                 | 111 ++++++++------------
 components/camel-bonita/pom.xml                    |  24 ++---
 components/camel-box/camel-box-api/pom.xml         |  21 ----
 components/camel-cdi/pom.xml                       |  78 +++-----------
 components/camel-context/pom.xml                   |  23 +----
 components/camel-cxf-transport/pom.xml             |  38 ++++---
 components/camel-dozer/pom.xml                     |   5 +
 components/camel-fhir/camel-fhir-api/pom.xml       |  21 ----
 components/camel-grape/pom.xml                     |  27 -----
 components/camel-groovy-dsl/pom.xml                |  27 -----
 components/camel-grpc/pom.xml                      |  13 +++
 components/camel-guice/pom.xml                     |  16 +++
 components/camel-hl7/pom.xml                       |  24 ++---
 components/camel-ignite/pom.xml                    |  21 ----
 components/camel-infinispan/pom.xml                |  32 ------
 components/camel-jetty9/pom.xml                    |  31 +++---
 components/camel-jmx/pom.xml                       |  83 ++++-----------
 .../camel-linkedin/camel-linkedin-api/pom.xml      |  21 ----
 components/camel-mail/pom.xml                      |  25 ++---
 components/camel-mustache/pom.xml                  |  19 ----
 components/camel-netty-http/pom.xml                |  16 +++
 components/camel-netty4/pom.xml                    |  26 ++---
 components/camel-olingo2/camel-olingo2-api/pom.xml |  22 ----
 components/camel-olingo4/camel-olingo4-api/pom.xml |  21 ----
 components/camel-ruby/pom.xml                      |  24 ++---
 components/camel-scala/pom.xml                     |  23 -----
 components/camel-soap/pom.xml                      |  94 ++++-------------
 components/camel-spring-boot/pom.xml               |  17 +++-
 components/camel-spring-javaconfig/pom.xml         |  25 ++---
 components/camel-spring-redis/pom.xml              |   6 ++
 components/camel-spring-ws/pom.xml                 |  73 ++-----------
 components/camel-spring/pom.xml                    |  66 ++++++++++--
 components/camel-syslog/pom.xml                    |  24 ++---
 components/camel-telegram/pom.xml                  |  17 +++-
 components/camel-test-blueprint/pom.xml            |  24 ++---
 components/camel-test-spring/pom.xml               |  17 +++-
 components/camel-test/pom.xml                      |  46 +++++----
 components/camel-testcontainers-spring/pom.xml     |  18 +++-
 components/camel-testcontainers/pom.xml            |  22 ++--
 components/camel-testng/pom.xml                    |  25 ++---
 components/camel-thrift/pom.xml                    |   6 ++
 components/camel-undertow/pom.xml                  |   5 +
 components/camel-vertx/pom.xml                     |  20 ----
 components/camel-wordpress/pom.xml                 |  17 +++-
 connectors/camel-connector-maven-plugin/pom.xml    |   7 ++
 connectors/examples/beverage-component/pom.xml     |  17 +++-
 connectors/examples/foo-bar-wine-example/pom.xml   |  17 +++-
 connectors/examples/petstore-example/pom.xml       |  43 ++++----
 examples/camel-example-cafe/pom.xml                |  17 +++-
 examples/camel-example-cdi-metrics/pom.xml         |  17 +++-
 examples/camel-example-cdi-properties/pom.xml      |  17 +++-
 examples/camel-example-cdi-rest-servlet/pom.xml    |  21 +++-
 examples/camel-example-cdi-test/pom.xml            |  17 +++-
 examples/camel-example-cxf-blueprint/pom.xml       |  17 +++-
 examples/camel-example-cxf-proxy/pom.xml           |  17 +++-
 examples/camel-example-cxf-tomcat/pom.xml          |  15 ++-
 .../hello-camel-grpc-server-kubernetes/pom.xml     |  15 ++-
 examples/camel-example-loan-broker-cxf/pom.xml     |  17 +++-
 examples/camel-example-loan-broker-jms/pom.xml     |  17 +++-
 examples/camel-example-management/pom.xml          |  17 +++-
 examples/camel-example-pojo-messaging/pom.xml      |  42 ++++----
 examples/camel-example-rabbitmq/pom.xml            |  17 +++-
 examples/camel-example-reportincident/pom.xml      |  17 +++-
 examples/camel-example-rest-producer/pom.xml       |  17 +++-
 .../camel-example-spring-boot-activemq/pom.xml     |  17 +++-
 .../pom.xml                                        |  17 +++-
 .../hello-camel-grpc-server/pom.xml                |  18 ++++
 .../pom.xml                                        |  18 ----
 examples/camel-example-spring-boot-master/pom.xml  |  17 +++-
 examples/camel-example-spring-boot-pojo/pom.xml    |  17 +++-
 .../camel-example-spring-boot-rest-jpa/pom.xml     |  37 +++----
 .../pom.xml                                        |  17 +++-
 examples/camel-example-spring-boot-xml/pom.xml     |  17 +++-
 examples/camel-example-spring-boot/pom.xml         |  17 +++-
 examples/camel-example-spring-jms/pom.xml          |  17 +++-
 examples/camel-example-spring-ws/pom.xml           |  15 +++
 examples/camel-example-transformer-demo/pom.xml    |  17 +++-
 .../camel-example-validator-spring-boot/pom.xml    |  17 +++-
 parent/pom.xml                                     |  66 +++++++++++-
 platforms/camel-catalog-rest/pom.xml               |   4 +-
 platforms/spring-boot/components-starter/pom.xml   |  17 +++-
 tests/camel-blueprint-cxf-test/pom.xml             |  22 ----
 tests/camel-blueprint-test/pom.xml                 |  17 +++-
 tooling/apt/pom.xml                                |   6 ++
 .../pom.xml                                        |  27 +----
 tooling/maven/camel-package-maven-plugin/pom.xml   |  37 ++++---
 tooling/maven/camel-restdsl-swagger-plugin/pom.xml |  31 +++---
 .../src/it/simple-xml/pom.xml                      |   1 +
 tooling/pom.xml                                    |  27 -----
 tooling/swagger-rest-dsl-generator/pom.xml         |   5 +
 95 files changed, 1172 insertions(+), 1275 deletions(-)

diff --git a/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
index c439407..b584ec6 100644
--- a/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
@@ -152,9 +152,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -167,5 +167,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/camel-core/pom.xml b/camel-core/pom.xml
index f5d1c43..63f3b79 100644
--- a/camel-core/pom.xml
+++ b/camel-core/pom.xml
@@ -143,6 +143,41 @@
       <version>${project.version}</version>
     </dependency>
 
+    <!-- in Java 11+ JAXB is no longer included -->
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+      <version>${jaxb-version}</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxb-version}</version>
+      <optional>true</optional>
+    </dependency>
+
+    <!-- in Java 11+ Activation Framework is no longer included -->
+    <dependency>
+      <groupId>javax.activation</groupId>
+      <artifactId>javax.activation-api</artifactId>
+      <version>${activation-api-version}</version>
+      <optional>true</optional>
+    </dependency>
+
+    <!-- in Java 11+ SAAJ is no longer included -->
+    <dependency>
+      <groupId>javax.xml.soap</groupId>
+      <artifactId>javax.xml.soap-api</artifactId>
+      <version>${soap-api-version}</version>
+      <optional>true</optional>
+    </dependency>
+
     <!-- required dependencies by camel-core -->
     <dependency>
       <groupId>org.slf4j</groupId>
@@ -236,6 +271,13 @@
       <scope>test</scope>
     </dependency>
 
+    <!-- xmltokenizer using woodstox -->
+    <dependency>
+      <groupId>org.codehaus.woodstox</groupId>
+      <artifactId>woodstox-core-asl</artifactId>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 
 
@@ -656,77 +698,8 @@
         </dependency>
       </dependencies>
     </profile>
-    <profile>
-      <id>woodstox</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <dependencies>
-        <!-- xmltokenizer using woodstox -->
-        <dependency>
-          <groupId>org.codehaus.woodstox</groupId>
-          <artifactId>woodstox-core-asl</artifactId>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-    </profile>
-
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <dependencies>
 
-        <!-- enable the APT processor -->
-        <dependency>
-          <groupId>org.apache.camel</groupId>
-          <artifactId>apt</artifactId>
-          <scope>provided</scope>
-        </dependency>
-        <!-- xmltokenizer using woodstox -->
-        <dependency>
-          <groupId>org.codehaus.woodstox</groupId>
-          <artifactId>woodstox-core-asl</artifactId>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <!-- skip file stress tests as they are intended to run manually -->
-              <excludes>
-                <exclude>org/apache/camel/component/file/stress/**.java</exclude>
-                <exclude>**/DistributedCompletionIntervalTest.java</exclude>
-                <exclude>**/DistributedConcurrentPerCorrelationKeyTest.java</exclude>
-                <exclude>${platform.skip.tests}</exclude>
-              </excludes>
-              <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
-              <!-- needed for testing the properties component -->
-              <environmentVariables>
-              <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST>
-              <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT>
-              </environmentVariables>
-              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED</argLine>
-            </configuration>
-            <dependencies>
-              <dependency>
-                <groupId>com.sun.xml.bind</groupId>
-                <artifactId>jaxb-core</artifactId>
-                <version>${jaxb-version}</version>
-              </dependency>
-              <dependency>
-                <groupId>com.sun.xml.bind</groupId>
-                <artifactId>jaxb-impl</artifactId>
-                <version>${jaxb-version}</version>
-              </dependency>
-            </dependencies>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
 
 </project>
+
diff --git a/components/camel-as2/camel-as2-api/pom.xml b/components/camel-as2/camel-as2-api/pom.xml
index 342b511..da60a6d 100644
--- a/components/camel-as2/camel-as2-api/pom.xml
+++ b/components/camel-as2/camel-as2-api/pom.xml
@@ -109,25 +109,4 @@
 		</plugins>
 	</build>
 
-	<!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-	<profiles>
-		<profile>
-			<id>doclint-java8-disable</id>
-			<activation>
-				<jdk>[1.8,</jdk>
-			</activation>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>org.apache.maven.plugins</groupId>
-						<artifactId>maven-javadoc-plugin</artifactId>
-						<configuration>
-							<additionalparam>-Xdoclint:none</additionalparam>
-						</configuration>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
-
 </project>
diff --git a/components/camel-bam/pom.xml b/components/camel-bam/pom.xml
index 790bc26..b127e7d 100644
--- a/components/camel-bam/pom.xml
+++ b/components/camel-bam/pom.xml
@@ -99,8 +99,32 @@
       <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-entitymanager</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jta_1.1_spec</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
+  <build>
+    <testResources>
+      <testResource>
+        <directory>${basedir}/src/test/profiles/hibernate</directory>
+      </testResource>
+    </testResources>
+  </build>
+
   <profiles>
     <!-- Hibernate Derby profile -->
     <profile>
@@ -209,39 +233,5 @@
       </dependencies>
     </profile>
     
-    <profile>
-      <id>jdk9+-hibernate</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <testResources>
-          <testResource>
-            <directory>${basedir}/src/test/profiles/hibernate</directory>
-          </testResource>
-        </testResources>
-        
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.activation,java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-      <dependencies>
-        <dependency>
-          <groupId>org.hibernate</groupId>
-          <artifactId>hibernate-entitymanager</artifactId>
-          <scope>test</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.geronimo.specs</groupId>
-          <artifactId>geronimo-jta_1.1_spec</artifactId>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-    </profile>
   </profiles>
 </project>
diff --git a/components/camel-bindy/pom.xml b/components/camel-bindy/pom.xml
index 413f63e..a14cfa7 100644
--- a/components/camel-bindy/pom.xml
+++ b/components/camel-bindy/pom.xml
@@ -89,6 +89,12 @@
             <artifactId>log4j-slf4j-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+            <scope>test</scope>
+        </dependency>
 
     </dependencies>
 
@@ -103,23 +109,4 @@
         </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
-                            <argLine>-Duser.language=en -Duser.region=GB --add-modules java.xml.bind,java.xml.ws.annotation --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.xml.ws.annotation/javax.annotation=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-blueprint/pom.xml b/components/camel-blueprint/pom.xml
index 86711ce..32294d0 100644
--- a/components/camel-blueprint/pom.xml
+++ b/components/camel-blueprint/pom.xml
@@ -92,6 +92,11 @@
       <version>${aries-util-version}</version>
       <scope>provided</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
 
     <!-- for testing -->
     <dependency>
@@ -230,6 +235,31 @@
         </executions>
       </plugin>
 
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.8</version>
+        <executions>
+          <execution>
+            <id>include-sources</id>
+            <phase>package</phase>
+            <configuration>
+              <target>
+                <echo>Including source code from camel-core-xml in the camel-blueprint-sources.jar</echo>
+                <jar destfile="${project.build.directory}/${project.artifactId}-${project.version}-sources.jar"
+                     update="true">
+                  <fileset dir="${basedir}/../camel-core-osgi/src/main/java" includes="**/*"/>
+                  <fileset dir="${basedir}/../camel-core-xml/src/main/java" includes="**/*"/>
+                </jar>
+              </target>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
     </plugins>
 
     <pluginManagement>
@@ -251,6 +281,18 @@
             </artifactItems>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>jaxb2-maven-plugin</artifactId>
+          <version>2.4</version>
+          <dependencies>
+            <dependency>
+              <groupId>javax.activation</groupId>
+              <artifactId>javax.activation-api</artifactId>
+              <version>${activation-api-version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
         <!-- Eclipse m2e Lifecycle Management -->
         <plugin>
           <groupId>org.eclipse.m2e</groupId>
@@ -412,10 +454,10 @@
               </execution>
             </executions>
           </plugin>
-		      <plugin>
+          <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jaxb2-maven-plugin</artifactId>
-            <version>2.3.1</version>
+            <version>2.4</version>
             <executions>
               <execution>
                 <id>generate-schema</id>
@@ -488,71 +530,6 @@
         </plugins>
       </build>
     </profile>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-        <property>
-          <name>!os.unsupported.schemagen</name>
-        </property>
-      </activation>
-      <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.codehaus.mojo</groupId>
-              <artifactId>jaxb2-maven-plugin</artifactId>
-              <version>2.3.1</version>
-              <dependencies>
-                <dependency>
-                  <groupId>org.glassfish.jaxb</groupId>
-                  <artifactId>jaxb-jxc-jdk9</artifactId>
-                  <version>${jaxb-version}</version>
-                </dependency>
-                <dependency>
-                  <groupId>javax.activation</groupId>
-                  <artifactId>javax.activation-api</artifactId>
-                  <version>1.2.0</version>
-                </dependency>
-              </dependencies>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <reuseForks>true</reuseForks>
-              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.8</version>
-            <executions>
-              <execution>
-                <id>include-sources</id>
-                <phase>package</phase>
-                <configuration>
-                  <target>
-                    <echo>Including source code from camel-core-xml in the camel-blueprint-sources.jar</echo>
-                    <jar destfile="${project.build.directory}/${project.artifactId}-${project.version}-sources.jar"
-                         update="true">
-                      <fileset dir="${basedir}/../camel-core-osgi/src/main/java" includes="**/*"/>
-                      <fileset dir="${basedir}/../camel-core-xml/src/main/java" includes="**/*"/>
-                    </jar>
-                  </target>
-                </configuration>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
 
   <reporting>
diff --git a/components/camel-bonita/pom.xml b/components/camel-bonita/pom.xml
index 585565f..bf9580d 100644
--- a/components/camel-bonita/pom.xml
+++ b/components/camel-bonita/pom.xml
@@ -88,24 +88,12 @@
       <artifactId>log4j-slf4j-impl</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.activation,java.xml.bind</argLine>
-            </configuration>
-         </plugin>
-       </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-box/camel-box-api/pom.xml b/components/camel-box/camel-box-api/pom.xml
index 0043d30..7416fdd 100644
--- a/components/camel-box/camel-box-api/pom.xml
+++ b/components/camel-box/camel-box-api/pom.xml
@@ -69,27 +69,6 @@
     </plugins>
   </build>
 
-  <!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-  <profiles>
-    <profile>
-      <id>doclint-java8-disable</id>
-      <activation>
-        <jdk>[1.8,</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <additionalparam>-Xdoclint:none</additionalparam>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
   <dependencies>
     <dependency>
       <groupId>com.box</groupId>
diff --git a/components/camel-cdi/pom.xml b/components/camel-cdi/pom.xml
index 41ea258..2e3d362 100644
--- a/components/camel-cdi/pom.xml
+++ b/components/camel-cdi/pom.xml
@@ -84,6 +84,17 @@
       <artifactId>camel-core</artifactId>
     </dependency>
 
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
+
     <!-- DeltaSpike is only used to provide Main support thus optional -->
     <dependency>
       <groupId>org.apache.deltaspike.cdictrl</groupId>
@@ -528,73 +539,8 @@
 
       </dependencies>
 
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <reuseForks>true</reuseForks>
-              <argLine>--patch-module java.xml.ws.annotation=${project.basedir}/target/java9/javax.annotation-api-1.2.jar --patch-module java.xml.bind=${project.basedir}/target/java9 ${camel.surefire.fork.vmargs} --add-opens java.base/java.lang=java.xml.bind</argLine>
-            </configuration>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <version>2.10</version>
-            <executions>
-              <execution>
-                <id>copy</id>
-                <phase>validate</phase>
-                <goals>
-                  <goal>copy</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>javax.annotation</groupId>
-                      <artifactId>javax.annotation-api</artifactId>
-                      <version>1.2</version>
-                      <type>jar</type>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${project.basedir}/target/java9</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                  <overWriteReleases>false</overWriteReleases>
-                  <overWriteSnapshots>true</overWriteSnapshots>
-                </configuration>
-              </execution>
-              <execution>
-                <id>copy-jaxb</id>
-                <phase>validate</phase>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>com.sun.xml.bind</groupId>
-                      <artifactId>jaxb-impl</artifactId>
-                      <version>${jaxb-version}</version>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${project.basedir}/target/java9</outputDirectory>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>com.sun.xml.bind</groupId>
-                      <artifactId>jaxb-core</artifactId>
-                      <version>${jaxb-version}</version>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${project.basedir}/target/java9</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                  <overWriteReleases>false</overWriteReleases>
-                  <overWriteSnapshots>true</overWriteSnapshots>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
     </profile>
+
   </profiles>
 
 </project>
diff --git a/components/camel-context/pom.xml b/components/camel-context/pom.xml
index 9148299..37bf1bc 100644
--- a/components/camel-context/pom.xml
+++ b/components/camel-context/pom.xml
@@ -82,24 +82,11 @@
             <scope>test</scope>
         </dependency>
 
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+        </dependency>
     </dependencies>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime.reflect=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-cxf-transport/pom.xml b/components/camel-cxf-transport/pom.xml
index 02e1480..de8783e 100644
--- a/components/camel-cxf-transport/pom.xml
+++ b/components/camel-cxf-transport/pom.xml
@@ -84,6 +84,17 @@
       <groupId>javax.servlet</groupId>
       <artifactId>javax.servlet-api</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml</groupId>
+      <artifactId>webservices-api</artifactId>
+      <version>${webservices-api-version}</version>
+    </dependency>
 
     <!-- OSGi, Blueprint -->
     <dependency>
@@ -203,28 +214,15 @@
             </goals>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.ow2.asm</groupId>
+            <artifactId>asm</artifactId>
+            <version>6.2</version>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
   </build>
   
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <reuseForks>true</reuseForks>
-              <argLine>--add-modules java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-dozer/pom.xml b/components/camel-dozer/pom.xml
index a7440c4..bd3c8b4 100644
--- a/components/camel-dozer/pom.xml
+++ b/components/camel-dozer/pom.xml
@@ -48,6 +48,11 @@
       <groupId>com.github.dozermapper</groupId>
       <artifactId>dozer-core</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
 
     <!-- Expressions -->
     <dependency>
diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml
index fa3130b..0099bfd 100644
--- a/components/camel-fhir/camel-fhir-api/pom.xml
+++ b/components/camel-fhir/camel-fhir-api/pom.xml
@@ -79,25 +79,4 @@
     </plugins>
   </build>
 
-  <!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-  <profiles>
-    <profile>
-      <id>doclint-java8-disable</id>
-      <activation>
-        <jdk>[1.8,</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <additionalparam>-Xdoclint:none</additionalparam>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-grape/pom.xml b/components/camel-grape/pom.xml
index 811d5ac..23da699 100644
--- a/components/camel-grape/pom.xml
+++ b/components/camel-grape/pom.xml
@@ -141,31 +141,4 @@
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <!--Skip compile on Java 9 https://issues.apache.org/jira/browse/CAMEL-10905 -->
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>default-compile</id>
-                <phase>none</phase>
-              </execution>
-              <execution>
-                <id>default-testCompile</id>
-                <phase>none</phase>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-groovy-dsl/pom.xml b/components/camel-groovy-dsl/pom.xml
index 79db32a..65cf6f3 100644
--- a/components/camel-groovy-dsl/pom.xml
+++ b/components/camel-groovy-dsl/pom.xml
@@ -179,31 +179,4 @@
     </testResources>
   </build>
   
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <!--Skip compile on Java 9 https://issues.apache.org/jira/browse/CAMEL-10905 -->
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>default-compile</id>
-                <phase>none</phase>
-              </execution>
-              <execution>
-                <id>default-testCompile</id>
-                <phase>none</phase>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-grpc/pom.xml b/components/camel-grpc/pom.xml
index 01180d6..2724567 100644
--- a/components/camel-grpc/pom.xml
+++ b/components/camel-grpc/pom.xml
@@ -47,6 +47,18 @@
     </dependency>
     
     <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+
+    <dependency>
       <groupId>io.grpc</groupId>
       <artifactId>grpc-auth</artifactId>
       <version>${grpc-version}</version>
@@ -220,4 +232,5 @@
       </plugin>
     </plugins>
   </build>
+
 </project>
diff --git a/components/camel-guice/pom.xml b/components/camel-guice/pom.xml
index dcda484..5dc6d4a 100644
--- a/components/camel-guice/pom.xml
+++ b/components/camel-guice/pom.xml
@@ -91,4 +91,20 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
+
+  <profiles>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.annotation</groupId>
+          <artifactId>javax.annotation-api</artifactId>
+          <version>${annotation-api-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>
diff --git a/components/camel-hl7/pom.xml b/components/camel-hl7/pom.xml
index 6982cd3..a439eb5 100644
--- a/components/camel-hl7/pom.xml
+++ b/components/camel-hl7/pom.xml
@@ -145,24 +145,12 @@
             <artifactId>log4j-slf4j-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <argLine>--add-modules java.xml.bind</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-ignite/pom.xml b/components/camel-ignite/pom.xml
index d99a91e..a13bfeb 100644
--- a/components/camel-ignite/pom.xml
+++ b/components/camel-ignite/pom.xml
@@ -99,25 +99,4 @@
     
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <excludes>
-                <!-- TODO: See https://issues.apache.org/jira/browse/IGNITE-4615 for more information. -->
-                <exclude>**/**.java</exclude>
-              </excludes>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-infinispan/pom.xml b/components/camel-infinispan/pom.xml
index 4a46d01..6304c89 100644
--- a/components/camel-infinispan/pom.xml
+++ b/components/camel-infinispan/pom.xml
@@ -153,40 +153,8 @@
         </dependency>
     </dependencies>
 
-    <!-- unit testing requires java 8 -->
     <profiles>
         <profile>
-            <id>jdk8-test</id>
-            <activation>
-                <jdk>!1.8</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <skipTests>true</skipTests>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>default-testCompile</id>
-                                <phase>test-compile</phase>
-                                <goals>
-                                    <goal>testCompile</goal>
-                                </goals>
-                                <configuration>
-                                    <skip>true</skip>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
             <id>infinispan-itests</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
diff --git a/components/camel-jetty9/pom.xml b/components/camel-jetty9/pom.xml
index 101bed7..43707dd 100644
--- a/components/camel-jetty9/pom.xml
+++ b/components/camel-jetty9/pom.xml
@@ -171,6 +171,18 @@
       <artifactId>httpclient</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
@@ -188,23 +200,4 @@
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime.reflect=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-jmx/pom.xml b/components/camel-jmx/pom.xml
index 10aebc4..d02487d 100644
--- a/components/camel-jmx/pom.xml
+++ b/components/camel-jmx/pom.xml
@@ -42,6 +42,17 @@
             <artifactId>camel-core</artifactId>
         </dependency>
         
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.activation</groupId>
+            <artifactId>javax.activation-api</artifactId>
+            <version>${activation-api-version}</version>
+        </dependency>
+
         <!-- test dependencies -->
         <dependency>
             <groupId>org.apache.camel</groupId>
@@ -76,67 +87,13 @@
         </dependency>
     </dependencies>
 
-    <profiles>
-        <profile>
-            <id>jdk8-build</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.jvnet.jaxb2.maven2</groupId>
-                        <artifactId>maven-jaxb2-plugin</artifactId>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-           <!-- TODO: This is a temporary workaround until org.codehaus.mojo:jaxb2-maven-plugin supports JDK9.
-           (https://github.com/mojohaus/jaxb2-maven-plugin/issues/43). We need to add the plugin back
-           once we are sure it works on both JDK8 and JDK9.
-           See https://issues.apache.org/jira/browse/CAMEL-10141 for more info. -->
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.cxf</groupId>
-                        <artifactId>cxf-xjc-plugin</artifactId>
-                        <version>${cxf-xjc-plugin-version}</version>
-                        <configuration>
-                            <extensions>
-                                <extension>net.java.dev.jaxb2-commons:jaxb-fluent-api:2.1.8</extension>
-                            </extensions>
-                        </configuration>
-                        <executions>
-                            <execution>
-                                <id>generate-sources</id>
-                                <phase>generate-sources</phase>
-                                <configuration>
-                                    <fork>${cxf.codegenplugin.forkmode}</fork>
-                                    <additionalJvmArgs>${cxf.xjc.jvmArgs}</additionalJvmArgs>
-                                    <sourceRoot>${basedir}/target/xjc</sourceRoot>
-                                    <xsdOptions>
-                                        <xsdOption>
-                                            <xsd>${basedir}/src/main/resources/notifications.xsd</xsd>
-                                            <packagename>org.apache.camel.component.jmx.jaxb</packagename>
-                                            <extensionArgs>
-                                                <extensionArg>-Xfluent-api</extensionArg>
-                                            </extensionArgs>
-                                        </xsdOption>
-                                    </xsdOptions>
-                                </configuration>
-                                <goals>
-                                    <goal>xsdtojava</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.jvnet.jaxb2.maven2</groupId>
+                <artifactId>maven-jaxb2-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>
diff --git a/components/camel-linkedin/camel-linkedin-api/pom.xml b/components/camel-linkedin/camel-linkedin-api/pom.xml
index cefbdb6..4816523 100644
--- a/components/camel-linkedin/camel-linkedin-api/pom.xml
+++ b/components/camel-linkedin/camel-linkedin-api/pom.xml
@@ -210,25 +210,4 @@
     </plugins>
   </build>
 
-  <!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-  <profiles>
-    <profile>
-      <id>doclint-java8-disable</id>
-      <activation>
-        <jdk>[1.8,</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <additionalparam>-Xdoclint:none</additionalparam>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml
index 4c9cc48..eee5165 100644
--- a/components/camel-mail/pom.xml
+++ b/components/camel-mail/pom.xml
@@ -125,6 +125,12 @@
           <version>${assertj-version}</version>
           <scope>test</scope>
         </dependency>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+          <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
@@ -140,23 +146,4 @@
       </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <!-- required to make MailMimeDecodeHeadersTest work on operating systems with a different default encoding -->
-                            <argLine>-Dfile.encoding=UTF-8 --add-modules java.activation,java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-mustache/pom.xml b/components/camel-mustache/pom.xml
index 5bfc721..9f3bcbd 100644
--- a/components/camel-mustache/pom.xml
+++ b/components/camel-mustache/pom.xml
@@ -72,23 +72,4 @@
 
   </dependencies>
   
-  <!-- unit testing requires java 8 -->
-  <profiles>
-    <profile>
-      <id>jdk8-test</id>
-        <activation>
-          <jdk>!1.8</jdk>
-        </activation>
-        <build>
-          <plugins>
-            <plugin>
-              <artifactId>maven-surefire-plugin</artifactId>
-              <configuration>
-                 <skipTests>true</skipTests>
-              </configuration>
-            </plugin>
-          </plugins>
-        </build>
-     </profile>
-  </profiles>
 </project>
diff --git a/components/camel-netty-http/pom.xml b/components/camel-netty-http/pom.xml
index f6e558f..a00043b 100644
--- a/components/camel-netty-http/pom.xml
+++ b/components/camel-netty-http/pom.xml
@@ -95,4 +95,20 @@
     </dependency>
 
 	</dependencies>
+
+  <profiles>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.annotation</groupId>
+          <artifactId>javax.annotation-api</artifactId>
+          <version>${annotation-api-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>
diff --git a/components/camel-netty4/pom.xml b/components/camel-netty4/pom.xml
index dca3ecf..25e6ee8 100644
--- a/components/camel-netty4/pom.xml
+++ b/components/camel-netty4/pom.xml
@@ -81,26 +81,12 @@
       <artifactId>log4j-slf4j-impl</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
     
-  <profiles>
-      <profile>
-          <id>jdk9+-build</id>
-          <activation>
-              <jdk>[9,)</jdk>
-          </activation>
-          <build>
-              <plugins>
-                  <plugin>
-                      <artifactId>maven-surefire-plugin</artifactId>
-                      <configuration>
-                          <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
-                          <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED</argLine>
-                      </configuration>
-                  </plugin>
-              </plugins>
-          </build>
-      </profile>
-  </profiles>  
-
 </project>
diff --git a/components/camel-olingo2/camel-olingo2-api/pom.xml b/components/camel-olingo2/camel-olingo2-api/pom.xml
index d2cca42..5667478 100644
--- a/components/camel-olingo2/camel-olingo2-api/pom.xml
+++ b/components/camel-olingo2/camel-olingo2-api/pom.xml
@@ -115,26 +115,4 @@
     </plugins>
   </build>
 
-  <!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-  <profiles>
-    <profile>
-      <id>doclint-java8-disable</id>
-      <activation>
-        <jdk>[1.8,</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <version>${maven-javadoc-plugin-version}</version>
-            <configuration>
-              <additionalparam>-Xdoclint:none</additionalparam>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-olingo4/camel-olingo4-api/pom.xml b/components/camel-olingo4/camel-olingo4-api/pom.xml
index 37b6aa5..342b875 100644
--- a/components/camel-olingo4/camel-olingo4-api/pom.xml
+++ b/components/camel-olingo4/camel-olingo4-api/pom.xml
@@ -129,25 +129,4 @@
     </plugins>
   </build>
 
-  <!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-  <profiles>
-    <profile>
-      <id>doclint-java8-disable</id>
-      <activation>
-        <jdk>[1.8,</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <additionalparam>-Xdoclint:none</additionalparam>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-ruby/pom.xml b/components/camel-ruby/pom.xml
index c3cd5a4..9077cf4 100644
--- a/components/camel-ruby/pom.xml
+++ b/components/camel-ruby/pom.xml
@@ -49,6 +49,12 @@
       <groupId>org.jruby</groupId>
       <artifactId>jruby-complete</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <optional>true</optional>
+    </dependency>
 
     <!-- test dependencies -->
     <dependency>
@@ -78,22 +84,4 @@
     </dependency>
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-scala/pom.xml b/components/camel-scala/pom.xml
index cdb1574..9541356 100644
--- a/components/camel-scala/pom.xml
+++ b/components/camel-scala/pom.xml
@@ -209,27 +209,4 @@
         </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <!--Skip compile on Java 9 https://issues.apache.org/jira/browse/CAMEL-10904 -->
-                        <groupId>net.alchim31.maven</groupId>
-                        <artifactId>scala-maven-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>default</id>
-                                <phase>none</phase>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-soap/pom.xml b/components/camel-soap/pom.xml
index c210462..a1c1583 100644
--- a/components/camel-soap/pom.xml
+++ b/components/camel-soap/pom.xml
@@ -53,11 +53,25 @@
         </dependency>
 
         <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.activation</groupId>
+            <artifactId>javax.activation-api</artifactId>
+            <version>${activation-api-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.xml</groupId>
+            <artifactId>webservices-api</artifactId>
+            <version>${webservices-api-version}</version>
+        </dependency>
+        <dependency>
             <groupId>com.sun.xml.bind</groupId>
             <artifactId>jaxb-impl</artifactId>
         </dependency>
 
-
         <!-- test dependencies -->
         <dependency>
             <groupId>junit</groupId>
@@ -104,6 +118,10 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>org.jvnet.jaxb2.maven2</groupId>
+                <artifactId>maven-jaxb2-plugin</artifactId>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-xjc-plugin</artifactId>
                 <version>${cxf-xjc-plugin-version}</version>
@@ -200,78 +218,4 @@
         </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>jdk8-build</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.jvnet.jaxb2.maven2</groupId>
-                        <artifactId>maven-jaxb2-plugin</artifactId>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <!-- TODO: This is a temporary workaround until org.codehaus.mojo:jaxb2-maven-plugin supports JDK9.
-            (https://github.com/mojohaus/jaxb2-maven-plugin/issues/43). We need to add the plugin back
-            once we are sure it works on both JDK8 and JDK9.
-            See https://issues.apache.org/jira/browse/CAMEL-10141 for more info. -->
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.cxf</groupId>
-                        <artifactId>cxf-xjc-plugin</artifactId>
-                        <version>${cxf-xjc-plugin-version}</version>
-                        <configuration>
-                            <extensions>
-                                <extension>net.java.dev.jaxb2-commons:jaxb-fluent-api:2.1.8</extension>
-                            </extensions>
-                        </configuration>
-                        <executions>
-                            <execution>
-                                <id>generate-sources</id>
-                                <phase>generate-sources</phase>
-                                <configuration>
-                                    <fork>${cxf.codegenplugin.forkmode}</fork>
-                                    <additionalJvmArgs>${cxf.xjc.jvmArgs}</additionalJvmArgs>
-                                    <sourceRoot>${basedir}/target/xjc</sourceRoot>
-                                    <xsdOptions>
-                                        <xsdOption>
-                                            <xsd>${basedir}/src/main/resources/soap.xsd</xsd>
-                                            <extensionArgs>
-                                                <extensionArg>-Xfluent-api</extensionArg>
-                                            </extensionArgs>
-                                        </xsdOption>
-                                        <xsdOption>
-                                            <xsd>${basedir}/src/main/resources/soap12.xsd</xsd>
-                                            <extensionArgs>
-                                                <extensionArg>-Xfluent-api</extensionArg>
-                                            </extensionArgs>
-                                        </xsdOption>
-                                        <xsdOption>
-                                            <xsd>${basedir}/src/main/resources/xml.xsd</xsd>
-                                            <extensionArgs>
-                                                <extensionArg>-Xfluent-api</extensionArg>
-                                            </extensionArgs>
-                                        </xsdOption>
-                                    </xsdOptions>
-                                </configuration>
-                                <goals>
-                                    <goal>xsdtojava</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-spring-boot/pom.xml b/components/camel-spring-boot/pom.xml
index b1a0676..e2a7028 100644
--- a/components/camel-spring-boot/pom.xml
+++ b/components/camel-spring-boot/pom.xml
@@ -159,9 +159,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -175,5 +175,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/components/camel-spring-javaconfig/pom.xml b/components/camel-spring-javaconfig/pom.xml
index c8a40d6..979f14c 100644
--- a/components/camel-spring-javaconfig/pom.xml
+++ b/components/camel-spring-javaconfig/pom.xml
@@ -61,6 +61,12 @@
       <version>${cglib-bundle-version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+
     <!-- test dependencies -->
     <dependency>
       <groupId>junit</groupId>
@@ -94,23 +100,4 @@
     </dependency>
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <reuseForks>true</reuseForks>
-              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime.reflect=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-spring-redis/pom.xml b/components/camel-spring-redis/pom.xml
index 372bd46..a84faa2 100644
--- a/components/camel-spring-redis/pom.xml
+++ b/components/camel-spring-redis/pom.xml
@@ -82,6 +82,12 @@
       <artifactId>log4j-slf4j-impl</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
 </project>
diff --git a/components/camel-spring-ws/pom.xml b/components/camel-spring-ws/pom.xml
index bb7cea9..645a679 100644
--- a/components/camel-spring-ws/pom.xml
+++ b/components/camel-spring-ws/pom.xml
@@ -76,6 +76,17 @@
       <version>${spring-ws-version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
+
     <!-- test dependencies -->
     <dependency>
       <groupId>org.springframework.ws</groupId>
@@ -186,66 +197,4 @@
 
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>java9+</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--patch-module java.xml.bind=${project.basedir}/target/java9/stax-ex-1.7.8.jar  --patch-module java.xml.ws=${project.basedir}/target/java9/saaj-impl-1.3.28.jar --patch-module java.xml.ws.annotation=${project.basedir}/target/java9/javax.annotation-api-1.2.jar ${camel.surefire.fork.vmargs} --add-exports=java.xml/com.sun.org.apache.xerces.internal.dom=java.xml.ws --add-exports=java.xml.bind/org.jvnet.staxex.util=java.xml.ws</argLine>
-            </configuration>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <version>2.10</version>
-            <executions>
-              <execution>
-                <id>copy</id>
-                <phase>validate</phase>
-                <goals>
-                  <goal>copy</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.jvnet.staxex</groupId>
-                      <artifactId>stax-ex</artifactId>
-                      <version>1.7.8</version>
-                      <type>jar</type>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${project.basedir}/target/java9</outputDirectory>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>javax.annotation</groupId>
-                      <artifactId>javax.annotation-api</artifactId>
-                      <version>1.2</version>
-                      <type>jar</type>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${project.basedir}/target/java9</outputDirectory>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>com.sun.xml.messaging.saaj</groupId>
-                      <artifactId>saaj-impl</artifactId>
-                      <version>1.3.28</version>
-                      <type>jar</type>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${project.basedir}/target/java9</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                  <overWriteReleases>false</overWriteReleases>
-                  <overWriteSnapshots>true</overWriteSnapshots>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-spring/pom.xml b/components/camel-spring/pom.xml
index 72f88e0..e9e1134 100644
--- a/components/camel-spring/pom.xml
+++ b/components/camel-spring/pom.xml
@@ -575,7 +575,7 @@
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jaxb2-maven-plugin</artifactId>
-            <version>2.3.1</version>
+            <version>2.4</version>
             <executions>
               <execution>
                 <id>generate schema</id>
@@ -598,9 +598,9 @@
     </profile>
 
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <dependencies>
         <!-- xmltokenizer using woodstox -->
@@ -614,15 +614,9 @@
       <build>
         <plugins>
           <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime.reflect=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-          <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jaxb2-maven-plugin</artifactId>
-            <version>2.3.1</version>
+            <version>2.4</version>
             <dependencies>
               <dependency>
                 <groupId>org.glassfish.jaxb</groupId>
@@ -652,6 +646,58 @@
               <createJavaDocAnnotations>false</createJavaDocAnnotations>
             </configuration>
           </plugin>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime.reflect=ALL-UNNAMED</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>jaxb2-maven-plugin</artifactId>
+            <version>2.4</version>
+            <executions>
+              <execution>
+                <id>generate schema</id>
+                <phase>generate-test-sources</phase>
+                <goals>
+                  <goal>schemagen</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <outputDirectory>${project.build.directory}/schema</outputDirectory>
+              <sources>
+                <source>${project.build.directory}/schema-src</source>
+              </sources>
+              <createJavaDocAnnotations>false</createJavaDocAnnotations>
+            </configuration>
+            <dependencies>
+              <dependency>
+                <groupId>javax.activation</groupId>
+                <artifactId>javax.activation-api</artifactId>
+                <version>1.2.0</version>
+              </dependency>
+            </dependencies>
+          </plugin>
         </plugins>
       </build>
     </profile>
diff --git a/components/camel-syslog/pom.xml b/components/camel-syslog/pom.xml
index d032fc2..d86c62a 100644
--- a/components/camel-syslog/pom.xml
+++ b/components/camel-syslog/pom.xml
@@ -83,24 +83,12 @@
       <artifactId>spring-test</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/components/camel-telegram/pom.xml b/components/camel-telegram/pom.xml
index c5f740e..97544a2 100644
--- a/components/camel-telegram/pom.xml
+++ b/components/camel-telegram/pom.xml
@@ -141,9 +141,9 @@
       </build>
     </profile>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -156,6 +156,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
 </project>
diff --git a/components/camel-test-blueprint/pom.xml b/components/camel-test-blueprint/pom.xml
index 175073b..2ea65d4 100644
--- a/components/camel-test-blueprint/pom.xml
+++ b/components/camel-test-blueprint/pom.xml
@@ -62,6 +62,12 @@
             </exclusions>
         </dependency>
 
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+        </dependency>
+
         <!-- the ordering of the dependencies can matter as we load the dependencies from the classpath
              with felix-connect, and you may get a weird error if wrong order -->
         <dependency>
@@ -176,22 +182,4 @@
 
     </dependencies>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-test-spring/pom.xml b/components/camel-test-spring/pom.xml
index a406a50..0a6be29 100644
--- a/components/camel-test-spring/pom.xml
+++ b/components/camel-test-spring/pom.xml
@@ -76,9 +76,9 @@
   
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -92,5 +92,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/components/camel-test/pom.xml b/components/camel-test/pom.xml
index 545d167..5f9441d 100644
--- a/components/camel-test/pom.xml
+++ b/components/camel-test/pom.xml
@@ -50,8 +50,33 @@
             <artifactId>junit</artifactId>
         </dependency>
 
+        <!-- in Java 11+ JAXB is no longer included -->
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-core</artifactId>
+            <version>${jaxb-version}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+            <version>${jaxb-version}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>javax.activation</groupId>
+            <artifactId>javax.activation-api</artifactId>
+            <version>${activation-api-version}</version>
+            <optional>true</optional>
+        </dependency>
+
         <!-- optional dependencies for running tests -->
-          
+
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-api</artifactId>
@@ -67,25 +92,6 @@
             <artifactId>log4j-slf4j-impl</artifactId>
             <scope>test</scope>
         </dependency>
-
     </dependencies>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-testcontainers-spring/pom.xml b/components/camel-testcontainers-spring/pom.xml
index ceb0f51..c15f87e 100644
--- a/components/camel-testcontainers-spring/pom.xml
+++ b/components/camel-testcontainers-spring/pom.xml
@@ -75,9 +75,9 @@
 
     <profiles>
         <profile>
-            <id>jdk9+-build</id>
+            <id>jdk9-10-build</id>
             <activation>
-                <jdk>[9,)</jdk>
+                <jdk>[9,10]</jdk>
             </activation>
             <build>
                 <plugins>
@@ -91,6 +91,20 @@
             </build>
         </profile>
 
+        <profile>
+            <id>jdk11+-build</id>
+            <activation>
+                <jdk>[11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-api</artifactId>
+                    <version>${jaxb-version}</version>
+                </dependency>
+            </dependencies>
+        </profile>
+
         <!-- activate integration test if the docker socket file is accessible -->
         <profile>
             <id>testcontainers-spring-integration-tests-docker-file</id>
diff --git a/components/camel-testcontainers/pom.xml b/components/camel-testcontainers/pom.xml
index 4f95cbd..4e115bd 100644
--- a/components/camel-testcontainers/pom.xml
+++ b/components/camel-testcontainers/pom.xml
@@ -72,26 +72,16 @@
             <artifactId>log4j-slf4j-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+            <scope>test</scope>
+        </dependency>
 
     </dependencies>
 
     <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
 
         <!-- activate integration test if the docker socket file is accessible -->
         <profile>
diff --git a/components/camel-testng/pom.xml b/components/camel-testng/pom.xml
index 1ad175d..5be396a 100644
--- a/components/camel-testng/pom.xml
+++ b/components/camel-testng/pom.xml
@@ -63,6 +63,12 @@
             <artifactId>testng</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb-version}</version>
+        </dependency>
+
         <!-- optional dependencies for running tests -->          
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
@@ -82,23 +88,4 @@
 
     </dependencies>
 
-    <profiles>
-        <profile>
-            <id>jdk9+-build</id>
-            <activation>
-                <jdk>[9,)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <reuseForks>true</reuseForks>
-                            <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/components/camel-thrift/pom.xml b/components/camel-thrift/pom.xml
index 09bfba1..712c97e 100644
--- a/components/camel-thrift/pom.xml
+++ b/components/camel-thrift/pom.xml
@@ -105,6 +105,12 @@
       <version>${junit-toolbox-version}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
 </project>
diff --git a/components/camel-undertow/pom.xml b/components/camel-undertow/pom.xml
index 7dc8d48..56703df 100644
--- a/components/camel-undertow/pom.xml
+++ b/components/camel-undertow/pom.xml
@@ -55,6 +55,11 @@
       <artifactId>undertow-core</artifactId>
       <version>${undertow-version}</version>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
 
     <!-- testing -->
     <dependency>
diff --git a/components/camel-vertx/pom.xml b/components/camel-vertx/pom.xml
index c39b746..172afac 100644
--- a/components/camel-vertx/pom.xml
+++ b/components/camel-vertx/pom.xml
@@ -77,24 +77,4 @@
     </dependency>
   </dependencies>
 
-  <!-- unit testing requires java 8 -->
-  <profiles>
-    <profile>
-      <id>jdk8-test</id>
-      <activation>
-        <jdk>!1.8</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <skipTests>true</skipTests>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/components/camel-wordpress/pom.xml b/components/camel-wordpress/pom.xml
index 41b560b..d80c62a 100644
--- a/components/camel-wordpress/pom.xml
+++ b/components/camel-wordpress/pom.xml
@@ -127,9 +127,9 @@
 
 	<profiles>
 		<profile>
-			<id>jdk9+-build</id>
+			<id>jdk9-10-build</id>
 			<activation>
-				<jdk>[9,)</jdk>
+				<jdk>[9,10]</jdk>
 			</activation>
 			<build>
 				<plugins>
@@ -142,6 +142,19 @@
 				</plugins>
 			</build>
 		</profile>
+		<profile>
+			<id>jdk11+-build</id>
+			<activation>
+				<jdk>[11,)</jdk>
+			</activation>
+			<dependencies>
+				<dependency>
+					<groupId>javax.xml.bind</groupId>
+					<artifactId>jaxb-api</artifactId>
+					<version>${jaxb-version}</version>
+				</dependency>
+			</dependencies>
+		</profile>
 	</profiles>
 
 </project>
diff --git a/connectors/camel-connector-maven-plugin/pom.xml b/connectors/camel-connector-maven-plugin/pom.xml
index a77590c..ef09364 100644
--- a/connectors/camel-connector-maven-plugin/pom.xml
+++ b/connectors/camel-connector-maven-plugin/pom.xml
@@ -97,6 +97,13 @@
       <version>${google-guava-version}</version>
     </dependency>
 
+    <!-- enable the APT processor -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
+
     <!-- logging -->
     <dependency>
       <groupId>org.slf4j</groupId>
diff --git a/connectors/examples/beverage-component/pom.xml b/connectors/examples/beverage-component/pom.xml
index 48d41e2..89d3329 100644
--- a/connectors/examples/beverage-component/pom.xml
+++ b/connectors/examples/beverage-component/pom.xml
@@ -95,9 +95,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -110,5 +110,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/connectors/examples/foo-bar-wine-example/pom.xml b/connectors/examples/foo-bar-wine-example/pom.xml
index 270dd0e..39466c8 100644
--- a/connectors/examples/foo-bar-wine-example/pom.xml
+++ b/connectors/examples/foo-bar-wine-example/pom.xml
@@ -107,9 +107,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -122,5 +122,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/connectors/examples/petstore-example/pom.xml b/connectors/examples/petstore-example/pom.xml
index cb495e9..837fd47 100644
--- a/connectors/examples/petstore-example/pom.xml
+++ b/connectors/examples/petstore-example/pom.xml
@@ -88,6 +88,31 @@
       <version>${project.version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.activation</groupId>
+      <artifactId>javax.activation-api</artifactId>
+      <version>${activation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 
   <build>
@@ -108,22 +133,4 @@
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/examples/camel-example-cafe/pom.xml b/examples/camel-example-cafe/pom.xml
index 969c662..818fdbf 100644
--- a/examples/camel-example-cafe/pom.xml
+++ b/examples/camel-example-cafe/pom.xml
@@ -123,9 +123,9 @@
   
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -138,5 +138,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-cdi-metrics/pom.xml b/examples/camel-example-cdi-metrics/pom.xml
index 6528b12..607febc 100644
--- a/examples/camel-example-cdi-metrics/pom.xml
+++ b/examples/camel-example-cdi-metrics/pom.xml
@@ -137,9 +137,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -152,5 +152,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-cdi-properties/pom.xml b/examples/camel-example-cdi-properties/pom.xml
index 7a3b533..22402f7 100644
--- a/examples/camel-example-cdi-properties/pom.xml
+++ b/examples/camel-example-cdi-properties/pom.xml
@@ -134,9 +134,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -149,5 +149,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-cdi-rest-servlet/pom.xml b/examples/camel-example-cdi-rest-servlet/pom.xml
index b202c9a..9dfa724 100644
--- a/examples/camel-example-cdi-rest-servlet/pom.xml
+++ b/examples/camel-example-cdi-rest-servlet/pom.xml
@@ -178,7 +178,7 @@
       </dependencies>
     </profile>
     <profile>
-      <id>jdk9+-build-jetty</id>
+      <id>jdk9+-jetty</id>
       <activation>
         <jdk>[9,)</jdk>
       </activation>
@@ -208,6 +208,12 @@
           </exclusions>
         </dependency>
       </dependencies>
+    </profile>
+    <profile>
+      <id>jdk9-10-build</id>
+      <activation>
+        <jdk>[9,10]</jdk>
+      </activation>
       <build>
         <plugins>
           <plugin>
@@ -219,6 +225,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
   <build>
diff --git a/examples/camel-example-cdi-test/pom.xml b/examples/camel-example-cdi-test/pom.xml
index 35b7e86..7e4cdb9 100644
--- a/examples/camel-example-cdi-test/pom.xml
+++ b/examples/camel-example-cdi-test/pom.xml
@@ -118,9 +118,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -133,5 +133,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-cxf-blueprint/pom.xml b/examples/camel-example-cxf-blueprint/pom.xml
index 32652cb..22c98a1 100644
--- a/examples/camel-example-cxf-blueprint/pom.xml
+++ b/examples/camel-example-cxf-blueprint/pom.xml
@@ -102,9 +102,9 @@
   
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -117,5 +117,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-cxf-proxy/pom.xml b/examples/camel-example-cxf-proxy/pom.xml
index 49dfa31..d7e58bf 100644
--- a/examples/camel-example-cxf-proxy/pom.xml
+++ b/examples/camel-example-cxf-proxy/pom.xml
@@ -154,9 +154,9 @@
   
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -169,5 +169,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-cxf-tomcat/pom.xml b/examples/camel-example-cxf-tomcat/pom.xml
index fd50281..7af41ff 100644
--- a/examples/camel-example-cxf-tomcat/pom.xml
+++ b/examples/camel-example-cxf-tomcat/pom.xml
@@ -138,7 +138,7 @@
       </properties>
     </profile>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
         <jdk>[9,)</jdk>
       </activation>
@@ -153,6 +153,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
 </project>
diff --git a/examples/camel-example-grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml b/examples/camel-example-grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml
index b526418..535e77b 100644
--- a/examples/camel-example-grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml
+++ b/examples/camel-example-grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml
@@ -165,5 +165,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.annotation</groupId>
+          <artifactId>javax.annotation-api</artifactId>
+          <version>${annotation-api-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
-</project>
\ No newline at end of file
+</project>
diff --git a/examples/camel-example-loan-broker-cxf/pom.xml b/examples/camel-example-loan-broker-cxf/pom.xml
index 3be3754..789a221 100644
--- a/examples/camel-example-loan-broker-cxf/pom.xml
+++ b/examples/camel-example-loan-broker-cxf/pom.xml
@@ -172,9 +172,9 @@
       </properties>
     </profile>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -187,6 +187,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
 </project>
diff --git a/examples/camel-example-loan-broker-jms/pom.xml b/examples/camel-example-loan-broker-jms/pom.xml
index 38ff034..a93fc08 100644
--- a/examples/camel-example-loan-broker-jms/pom.xml
+++ b/examples/camel-example-loan-broker-jms/pom.xml
@@ -180,9 +180,9 @@
       </properties>
     </profile>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -195,6 +195,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
 </project>
diff --git a/examples/camel-example-management/pom.xml b/examples/camel-example-management/pom.xml
index f60ff98..12d56ca 100644
--- a/examples/camel-example-management/pom.xml
+++ b/examples/camel-example-management/pom.xml
@@ -140,9 +140,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -155,5 +155,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-pojo-messaging/pom.xml b/examples/camel-example-pojo-messaging/pom.xml
index d4a4d99..a2d25b4 100644
--- a/examples/camel-example-pojo-messaging/pom.xml
+++ b/examples/camel-example-pojo-messaging/pom.xml
@@ -119,6 +119,30 @@
       <artifactId>camel-test-spring</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.activation</groupId>
+      <artifactId>javax.activation-api</artifactId>
+      <version>${activation-api-version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
@@ -156,22 +180,4 @@
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/examples/camel-example-rabbitmq/pom.xml b/examples/camel-example-rabbitmq/pom.xml
index 00c88dc..0f83223 100644
--- a/examples/camel-example-rabbitmq/pom.xml
+++ b/examples/camel-example-rabbitmq/pom.xml
@@ -138,9 +138,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -153,5 +153,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-reportincident/pom.xml b/examples/camel-example-reportincident/pom.xml
index 0cffa44..a164b1c 100644
--- a/examples/camel-example-reportincident/pom.xml
+++ b/examples/camel-example-reportincident/pom.xml
@@ -198,9 +198,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -213,5 +213,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-rest-producer/pom.xml b/examples/camel-example-rest-producer/pom.xml
index d3a88e7..4f1edf1 100644
--- a/examples/camel-example-rest-producer/pom.xml
+++ b/examples/camel-example-rest-producer/pom.xml
@@ -134,9 +134,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -149,5 +149,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot-activemq/pom.xml b/examples/camel-example-spring-boot-activemq/pom.xml
index 6ab6da6..9ddc478 100644
--- a/examples/camel-example-spring-boot-activemq/pom.xml
+++ b/examples/camel-example-spring-boot-activemq/pom.xml
@@ -127,9 +127,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -143,6 +143,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
 </project>
diff --git a/examples/camel-example-spring-boot-clustered-route-controller/pom.xml b/examples/camel-example-spring-boot-clustered-route-controller/pom.xml
index fac7c9c..54d9fe9 100644
--- a/examples/camel-example-spring-boot-clustered-route-controller/pom.xml
+++ b/examples/camel-example-spring-boot-clustered-route-controller/pom.xml
@@ -48,9 +48,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -63,5 +63,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot-grpc/hello-camel-grpc-server/pom.xml b/examples/camel-example-spring-boot-grpc/hello-camel-grpc-server/pom.xml
index a12ec56..0b3c47a 100644
--- a/examples/camel-example-spring-boot-grpc/hello-camel-grpc-server/pom.xml
+++ b/examples/camel-example-spring-boot-grpc/hello-camel-grpc-server/pom.xml
@@ -108,4 +108,22 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <!-- enable the APT processor -->
+        <dependency>
+          <groupId>javax.annotation</groupId>
+          <artifactId>javax.annotation-api</artifactId>
+          <version>${annotation-api-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
 </project>
diff --git a/examples/camel-example-spring-boot-health-checks/pom.xml b/examples/camel-example-spring-boot-health-checks/pom.xml
index ecbb3bb..b07f344 100644
--- a/examples/camel-example-spring-boot-health-checks/pom.xml
+++ b/examples/camel-example-spring-boot-health-checks/pom.xml
@@ -47,22 +47,4 @@
     <module>application</module>
   </modules>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot-master/pom.xml b/examples/camel-example-spring-boot-master/pom.xml
index 034e6f9..7e6b8f5 100644
--- a/examples/camel-example-spring-boot-master/pom.xml
+++ b/examples/camel-example-spring-boot-master/pom.xml
@@ -114,9 +114,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -129,5 +129,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot-pojo/pom.xml b/examples/camel-example-spring-boot-pojo/pom.xml
index 7920fe0..2785969 100644
--- a/examples/camel-example-spring-boot-pojo/pom.xml
+++ b/examples/camel-example-spring-boot-pojo/pom.xml
@@ -112,9 +112,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -127,5 +127,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot-rest-jpa/pom.xml b/examples/camel-example-spring-boot-rest-jpa/pom.xml
index a79b32d..c2aeced 100644
--- a/examples/camel-example-spring-boot-rest-jpa/pom.xml
+++ b/examples/camel-example-spring-boot-rest-jpa/pom.xml
@@ -124,6 +124,25 @@
       <scope>test</scope>
     </dependency>
 
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxb-version}</version>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 
   <build>
@@ -143,24 +162,6 @@
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
 
 
diff --git a/examples/camel-example-spring-boot-supervising-route-controller/pom.xml b/examples/camel-example-spring-boot-supervising-route-controller/pom.xml
index 6210564..42a9c0f 100644
--- a/examples/camel-example-spring-boot-supervising-route-controller/pom.xml
+++ b/examples/camel-example-spring-boot-supervising-route-controller/pom.xml
@@ -141,9 +141,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -156,5 +156,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot-xml/pom.xml b/examples/camel-example-spring-boot-xml/pom.xml
index 29e6a0a..1055a66 100644
--- a/examples/camel-example-spring-boot-xml/pom.xml
+++ b/examples/camel-example-spring-boot-xml/pom.xml
@@ -139,9 +139,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -154,5 +154,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-boot/pom.xml b/examples/camel-example-spring-boot/pom.xml
index 64808c4..4c3e662 100644
--- a/examples/camel-example-spring-boot/pom.xml
+++ b/examples/camel-example-spring-boot/pom.xml
@@ -138,9 +138,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -153,5 +153,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-spring-jms/pom.xml b/examples/camel-example-spring-jms/pom.xml
index 64fd1e4..2c9f819 100644
--- a/examples/camel-example-spring-jms/pom.xml
+++ b/examples/camel-example-spring-jms/pom.xml
@@ -145,9 +145,9 @@
       </properties>
     </profile>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -160,6 +160,19 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
   <build>
 
diff --git a/examples/camel-example-spring-ws/pom.xml b/examples/camel-example-spring-ws/pom.xml
index 02e896b..33ecaea 100644
--- a/examples/camel-example-spring-ws/pom.xml
+++ b/examples/camel-example-spring-ws/pom.xml
@@ -129,4 +129,19 @@
 
   </build>
 
+  <profiles>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>
diff --git a/examples/camel-example-transformer-demo/pom.xml b/examples/camel-example-transformer-demo/pom.xml
index a85874b..37a9939 100644
--- a/examples/camel-example-transformer-demo/pom.xml
+++ b/examples/camel-example-transformer-demo/pom.xml
@@ -106,9 +106,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -121,5 +121,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/examples/camel-example-validator-spring-boot/pom.xml b/examples/camel-example-validator-spring-boot/pom.xml
index 417f2b4..b3bde27 100644
--- a/examples/camel-example-validator-spring-boot/pom.xml
+++ b/examples/camel-example-validator-spring-boot/pom.xml
@@ -127,9 +127,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -142,5 +142,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/parent/pom.xml b/parent/pom.xml
index f6da4be..60978b1 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -40,10 +40,12 @@
     <!-- dependency versions -->
     <abdera-version>1.1.3</abdera-version>
     <!-- Note that activemq dependency is only used for testing! -->
+    <activation-api-version>1.2.0</activation-api-version>
     <activemq-version>5.15.6</activemq-version>
     <activemq-artemis-version>2.6.3</activemq-artemis-version>
     <aether-version>1.0.2.v20150114</aether-version>
     <ahc-version>2.5.3</ahc-version>
+    <annotation-api-version>1.3.2</annotation-api-version>
     <ant-bundle-version>1.7.0_6</ant-bundle-version>
     <antlr-bundle-version>3.5.2_1</antlr-bundle-version>
     <antlr-runtime-bundle-version>3.5.2_1</antlr-runtime-bundle-version>
@@ -170,7 +172,7 @@
     <couchbase-client-version>1.4.13</couchbase-client-version>
     <couchbase-client-bundle-version>1.4.13_1</couchbase-client-bundle-version>
     <curator-version>2.12.0</curator-version>
-    <cxf-version>3.2.6</cxf-version>
+    <cxf-version>3.3.0-SNAPSHOT</cxf-version><!-- we need SNAPSHOT version for Java 11 support, see CXF-7741 -->
     <cxf-version-range>[3.1,4.0)</cxf-version-range>
     <cxf-xjc-plugin-version>3.2.0</cxf-xjc-plugin-version>
     <cxf-xjc-utils-version>3.2.0</cxf-xjc-utils-version>
@@ -268,9 +270,9 @@
     <google-mail-guava-version>17.0</google-mail-guava-version>
     <google-truth-version>0.30</google-truth-version>
     <grizzly-websockets-version>2.3.25</grizzly-websockets-version>
+    <grpc-version>1.15.0</grpc-version>
     <groovy-eclipse-compiler-version>3.0.0-01</groovy-eclipse-compiler-version>
     <groovy-eclipse-batch-version>2.5.2-01</groovy-eclipse-batch-version>
-    <grpc-version>1.15.0</grpc-version>
     <grpc-google-auth-library-version>0.9.0</grpc-google-auth-library-version>
     <grpc-guava-version>20.0</grpc-guava-version>
     <grpc-java-jwt-version>3.2.0</grpc-java-jwt-version>
@@ -626,6 +628,7 @@
     <snakeyaml-version>1.23</snakeyaml-version>
     <snappy-version>1.1.4</snappy-version>
     <snmp4j-version>2.6.3_1</snmp4j-version>
+    <soap-api-version>1.4.0</soap-api-version>
     <solr-bundle-version>7.2.1_1</solr-bundle-version>
     <!-- solr version aligned with lucene -->
     <solr-version>7.2.1</solr-version>
@@ -705,6 +708,7 @@
     <vysper-version>0.7</vysper-version>
     <web3j-version>3.5.0</web3j-version>
     <web3j-quorum-version>0.8.0</web3j-quorum-version>
+    <webservices-api-version>2.1-b16</webservices-api-version>
     <weld1-version>1.1.28.Final</weld1-version>
     <weld2-version>2.4.7.Final</weld2-version>
     <weld3-version>3.0.5.Final</weld3-version>
@@ -5267,7 +5271,7 @@
         <plugin>
           <groupId>org.jvnet.jaxb2.maven2</groupId>
           <artifactId>maven-jaxb2-plugin</artifactId>
-          <version>0.8.3</version>
+          <version>0.14.0</version>
           <executions>
             <execution>
               <goals>
@@ -5740,9 +5744,9 @@
     </profile>
 
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <properties>
         <cxf.codegen.jvmArgs>--add-modules java.activation,java.xml.bind,java.xml.ws --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.marshaller=ALL-UNNAMED --add-opens java.xml.ws/javax.xml.ws.wsaddressing=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-open [...]
@@ -5796,5 +5800,57 @@
         </pluginManagement>
       </build>
     </profile>
+
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <properties>
+        <cxf.codegen.jvmArgs>--add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED</cxf.codegen.jvmArgs>
+        <cxf.xjc.jvmArgs>--add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED</cxf.xjc.jvmArgs>
+        <cxf.codegenplugin.forkmode>true</cxf.codegenplugin.forkmode>
+        <camel.surefire.fork.vmargs>--add-modules java.sql --add-opens java.base/javax.net=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add [...]
+      </properties>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.cxf</groupId>
+              <artifactId>cxf-codegen-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>javax.xml.bind</groupId>
+                  <artifactId>jaxb-api</artifactId>
+                  <version>${jaxb-version}</version>
+                </dependency>
+              </dependencies>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.camel</groupId>
+              <artifactId>camel-package-maven-plugin</artifactId>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-compiler-plugin</artifactId>
+              <version>${maven-compiler-plugin-version}</version>
+              <configuration>
+                <source>${jdk.version}</source>
+                <target>${jdk.version}</target>
+                <maxmem>512M</maxmem>
+                <fork>true</fork>
+              </configuration>
+            </plugin>
+            <plugin>
+              <artifactId>maven-surefire-plugin</artifactId>
+              <!--lets avoid polluting every pom.xml as these settings are almost always needed-->
+              <configuration>
+                <argLine>${camel.surefire.fork.vmargs}</argLine>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>
diff --git a/platforms/camel-catalog-rest/pom.xml b/platforms/camel-catalog-rest/pom.xml
index f9c4c3b..332ce41 100644
--- a/platforms/camel-catalog-rest/pom.xml
+++ b/platforms/camel-catalog-rest/pom.xml
@@ -184,7 +184,7 @@
           <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-              <argLine>--patch-module java.xml.ws.annotation=${project.basedir}/target/java9/javax.annotation-api-1.2.jar ${camel.surefire.fork.vmargs}</argLine>
+              <argLine>--patch-module java.xml.ws.annotation=${project.basedir}/target/java9/javax.annotation-api-${annotation-api-version}.jar ${camel.surefire.fork.vmargs}</argLine>
             </configuration>
           </plugin>
           <plugin>
@@ -203,7 +203,7 @@
                     <artifactItem>
                       <groupId>javax.annotation</groupId>
                       <artifactId>javax.annotation-api</artifactId>
-                      <version>1.2</version>
+                      <version>${annotation-api-version}</version>
                       <type>jar</type>
                       <overWrite>false</overWrite>
                       <outputDirectory>${project.basedir}/target/java9</outputDirectory>
diff --git a/platforms/spring-boot/components-starter/pom.xml b/platforms/spring-boot/components-starter/pom.xml
index 07d9880..76553b7 100644
--- a/platforms/spring-boot/components-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/pom.xml
@@ -371,9 +371,9 @@
   </modules>
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -386,5 +386,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/tests/camel-blueprint-cxf-test/pom.xml b/tests/camel-blueprint-cxf-test/pom.xml
index 7b76c01..e220a5b 100644
--- a/tests/camel-blueprint-cxf-test/pom.xml
+++ b/tests/camel-blueprint-cxf-test/pom.xml
@@ -191,26 +191,4 @@
 
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>java9+</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <excludes>
-                <!--ignore tests until CXF-7520 is resolved and released-->
-                <exclude>**/**</exclude>
-              </excludes>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>
diff --git a/tests/camel-blueprint-test/pom.xml b/tests/camel-blueprint-test/pom.xml
index af08026..939129b 100644
--- a/tests/camel-blueprint-test/pom.xml
+++ b/tests/camel-blueprint-test/pom.xml
@@ -64,9 +64,9 @@
 
   <profiles>
     <profile>
-      <id>jdk9+-build</id>
+      <id>jdk9-10-build</id>
       <activation>
-        <jdk>[9,)</jdk>
+        <jdk>[9,10]</jdk>
       </activation>
       <build>
         <plugins>
@@ -79,5 +79,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk11+-build</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>${jaxb-version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>
diff --git a/tooling/apt/pom.xml b/tooling/apt/pom.xml
index 6afd3aa..5381f49 100644
--- a/tooling/apt/pom.xml
+++ b/tooling/apt/pom.xml
@@ -51,6 +51,12 @@
       <version>${project.version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+
     <!-- logging -->
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
diff --git a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
index 95b9b29..67f0ef5 100644
--- a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
+++ b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
@@ -156,7 +156,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
-          <version>3.3</version>
+          <version>3.6-SNAPSHOT</version>
           <configuration>
             <!-- see http://jira.codehaus.org/browse/MNG-5346 -->
             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
@@ -180,29 +180,4 @@
     </pluginManagement>
   </build>
 
-  <profiles>
-    <profile>
-      <id>jdk9+-build</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>xalan</groupId>
-          <artifactId>xalan</artifactId>
-        </dependency>
-      </dependencies>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>--add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/tooling/maven/camel-package-maven-plugin/pom.xml b/tooling/maven/camel-package-maven-plugin/pom.xml
index 47cf92a..c30c92e 100644
--- a/tooling/maven/camel-package-maven-plugin/pom.xml
+++ b/tooling/maven/camel-package-maven-plugin/pom.xml
@@ -162,6 +162,27 @@
       <version>${freemarker-version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+
     <!-- logging -->
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
@@ -186,20 +207,4 @@
     </dependency>
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jigsaw</id>
-      <activation>
-        <jdk>[1.9,)</jdk>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>javax.annotation</groupId>
-          <artifactId>javax.annotation-api</artifactId>
-          <version>1.3</version>
-        </dependency>
-      </dependencies>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/tooling/maven/camel-restdsl-swagger-plugin/pom.xml b/tooling/maven/camel-restdsl-swagger-plugin/pom.xml
index 7a99f0a..c6b2fff 100644
--- a/tooling/maven/camel-restdsl-swagger-plugin/pom.xml
+++ b/tooling/maven/camel-restdsl-swagger-plugin/pom.xml
@@ -110,6 +110,21 @@
       <version>2.3.0</version>
     </dependency>
     <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxb-version}</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
       <artifactId>maven-plugin-annotations</artifactId>
       <version>3.5</version>
@@ -117,20 +132,4 @@
     </dependency>
   </dependencies>
 
-  <profiles>
-    <profile>
-      <id>jigsaw</id>
-      <activation>
-        <jdk>[1.9,)</jdk>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>javax.annotation</groupId>
-          <artifactId>javax.annotation-api</artifactId>
-          <version>1.3</version>
-        </dependency>
-      </dependencies>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml b/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml
index 7b1c657..738ac51 100644
--- a/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml
+++ b/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml
@@ -54,4 +54,5 @@
       </plugin>
     </plugins>
   </build>
+
 </project>
diff --git a/tooling/pom.xml b/tooling/pom.xml
index 52804e2..d6d127e 100644
--- a/tooling/pom.xml
+++ b/tooling/pom.xml
@@ -48,31 +48,4 @@
     <module>camel-manual</module>
   </modules>
 
-  <!-- profiles>
-    <profile>
-      <id>build.manual</id>
-      <modules>
-        <module>camel-manual</module>
-      </modules>
-    </profile>
-    <profile>
-      <id>assembly</id>
-      <modules>
-        <module>camel-manual</module>
-      </modules>
-    </profile>
-    <profile>
-      <id>deploy</id>
-      <modules>
-        <module>camel-manual</module>
-      </modules>
-    </profile>
-    <profile>
-      <id>apache-release</id>
-      <modules>
-        <module>camel-manual</module>
-      </modules>
-    </profile>
-  </profiles -->
-
 </project>
diff --git a/tooling/swagger-rest-dsl-generator/pom.xml b/tooling/swagger-rest-dsl-generator/pom.xml
index ca8acb5..0c1ba8f 100644
--- a/tooling/swagger-rest-dsl-generator/pom.xml
+++ b/tooling/swagger-rest-dsl-generator/pom.xml
@@ -47,6 +47,11 @@
       <artifactId>swagger-parser</artifactId>
       <version>${swagger-java-parser-version}</version>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>${annotation-api-version}</version>
+    </dependency>
 
     <!-- test -->
     <dependency>


[camel] 03/09: CAMEL-12618: Use fork of maven-plugin-plugin th...

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 50faba0d9dc93c44b7a069f36bf83f3ccd2c6228
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Wed Jul 18 14:56:45 2018 +0200

    CAMEL-12618: Use fork of maven-plugin-plugin th...
    
    ...at supports Java 11
    
    Changes the maven-plugin-plugin version used to a fork built by
    jitpack.io that contains the Java 11 compatibility needed.
---
 tooling/maven/camel-api-component-maven-plugin/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/pom.xml b/tooling/maven/camel-api-component-maven-plugin/pom.xml
index 0070fd6..ff85641 100644
--- a/tooling/maven/camel-api-component-maven-plugin/pom.xml
+++ b/tooling/maven/camel-api-component-maven-plugin/pom.xml
@@ -174,9 +174,9 @@
     <pluginManagement>
       <plugins>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
+          <groupId>com.github.zregvart.maven-plugin-tools</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
-          <version>3.3</version>
+          <version>MPLUGIN-336-SNAPSHOT</version>
           <configuration>
             <!-- see http://jira.codehaus.org/browse/MNG-5346 -->
             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>


[camel] 01/09: Temporary disable JDK 9 and karaf-itest and spr...

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ade334de4ba676cce1e885c2b6b376f7832cd6bb
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Wed Aug 22 14:38:04 2018 +0200

    Temporary disable JDK 9 and karaf-itest and spr...
    
    ...ing-itest builds
---
 Jenkinsfile.daily | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index 86051db..18a75d6 100644
--- a/Jenkinsfile.daily
+++ b/Jenkinsfile.daily
@@ -59,9 +59,9 @@ pipeline {
             }
             steps {
                 dir("tests/camel-itest-karaf/") {
-                    sh "./kill-karaf.sh"
+                    sh "true || ./kill-karaf.sh"
                     script {
-                        karaf_itests_result = sh script: "./run-tests.sh", returnStatus: true
+                        karaf_itests_result = sh script: "true || ./run-tests.sh", returnStatus: true
                     }
                 }
             }
@@ -74,7 +74,7 @@ pipeline {
             steps {
                 dir("tests/camel-itest-spring-boot/") {
                     script {
-                        spring_boot_itests_result = sh script: "../../mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test", returnStatus: true
+                        spring_boot_itests_result = sh script: "true || ../../mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test", returnStatus: true
                     }
                 }
             }
@@ -86,7 +86,7 @@ pipeline {
             }
             steps {
                 script {
-                    jdk9_result = sh script: "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test", returnStatus: true
+                    jdk9_result = sh script: "true || ./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test", returnStatus: true
                 }
             }
             post {