You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Onder SEZGIN <on...@apache.org> on 2018/11/01 02:19:17 UTC

build camel-core JDK 11

Hi,

Has anybody tried to build camel-core locally with JDK-11?

First i got this error;

[ERROR] Failed to execute goal
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
(validate) on project camel-core: Execution validate of goal
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
failed: A required class was missing while executing
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
javax/xml/bind/annotation/XmlTransient

Then, i ran mvn clean install -Pfastinstall
inside tooling/maven/camel-package-maven-plugin.

Later while trying to build camel-core, i got another error.

[INFO] ---
camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
(components) @ camel-core ---
[WARNING] The POM for
javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
missing, no dependency information available
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
ConflictIdSorter.conflictIdCount=58,
ConflictIdSorter.conflictIdCycleCount=0,
ConflictResolver.totalTime=15833299,
ConflictResolver.conflictItemCount=107,
DefaultDependencyCollector.collectTime=343830160,
DefaultDependencyCollector.transformTime=16495156}
[DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
[DEBUG]    org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
[DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]
 org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]
 org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]
 org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]
backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
[DEBUG]
 org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
[DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
[DEBUG]       com.google.collections:google-collections:jar:1.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
[DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]    commons-io:commons-io:jar:2.6:compile
[DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
[DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
[DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
[DEBUG]       com.beust:jcommander:jar:1.35:runtime
[DEBUG]    com.google.guava:guava:jar:19.0:compile
[DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
[DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
[DEBUG]    org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
[DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
[DEBUG]       org.springframework:spring-context:jar:5.0.10.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
[DEBUG]
org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
[DEBUG]
org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
[DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
[DEBUG]
javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
[DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
[DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
[DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
[DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
[DEBUG] Could not find metadata
org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
local (/home/onders/.m2/repository)
[DEBUG] Failure to find
org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced
[DEBUG] Failure to find
org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
https://oss.sonatype.org/content/repositories/public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of sonatype-public has elapsed or updates are forced
[DEBUG] Skipped remote request for
org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
locally cached metadata up-to-date.
[DEBUG] Failure to find
org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
local repository, resolution will not be reattempted until the update
interval of oss.jfrog.org-snapshots has elapsed or updates are forced
[DEBUG] Failure to find
org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
https://jitpack.io was cached in the local repository, resolution will not
be reattempted until the update interval of jitpack.io has elapsed or
updates are forced
[DEBUG] Skipped remote request for
org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
locally installed metadata up-to-date.
[DEBUG] Skipped remote request for
org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
locally installed metadata up-to-date.
[DEBUG] Skipped remote request for
org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
locally installed metadata up-to-date.
[DEBUG] Skipped remote request for
org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
locally installed metadata up-to-date.
[DEBUG] Skipped remote request for
org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
locally installed metadata up-to-date.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.758 s
[INFO] Finished at: 2018-10-31T22:00:24-04:00
[INFO] Final Memory: 19M/67M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
(components) on project camel-core: Execution components of goal
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
failed: Plugin org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
or one of its dependencies could not be resolved: Failure to find
javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
(components) on project camel-core: Execution components of goal
org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
failed: Plugin org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
or one of its dependencies could not be resolved: Failure to find
javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
http://repo1.maven.org/m


However, while getting dependency tree for camel-package-maven-plugin,
there is no such error.

[# camel-package-maven-plugin]$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Camel :: Maven Plugins :: Camel Maven Package
2.23.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
camel-package-maven-plugin ---
[INFO]
org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
[INFO] +- org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
[INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
[INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
[INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
[INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
[INFO] |  +-
org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[INFO] |  +-
org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
[INFO] |  |  \-
org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
[INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
[INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
[INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
[INFO] |  +-
org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
[INFO] |  |  \- org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
[INFO] |  |     +-
org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
[INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
[INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
[INFO] |  +-
org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
[INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
[INFO] |  +-
org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
[INFO] |  +- org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
[INFO] |  +-
org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
[INFO] |  |  \-
org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
[INFO] |  +-
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[INFO] |  |  \-
backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
[INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
[INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
[INFO] |  +- classworlds:classworlds:jar:1.1:compile
[INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
[INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
[INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
[INFO] |  +-
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
[INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
[INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
[INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
[INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
[INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[INFO] +- commons-io:commons-io:jar:2.6:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
[INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
[INFO] |  \- com.beust:jcommander:jar:1.35:runtime
[INFO] +- com.google.guava:guava:jar:19.0:compile
[INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
[INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
[INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
[INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
[INFO] |  \- org.springframework:spring-context:jar:5.1.0.RELEASE:compile
[INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
[INFO] |     +- org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
[INFO] |     \-
org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
[INFO] +-
org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
[INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
[INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
[INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
[INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.222 s
[INFO] Finished at: 2018-10-31T22:05:17-04:00
[INFO] Final Memory: 22M/77M
[INFO]
------------------------------------------------------------------------


Any idea?

Thanks
Önder

Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Freeman and Cameleers,
we had a brief discussion on this on the dev ML a while back, happy to
discuss it again and see all the pros/cons.

From my perspective using profiles is not a good idea, it only has an
effect when Camel is built itself, the profiles are not activated when
you bring in a Camel dependency to an application utilizing Camel. I
think the way forward is to just declare the dependencies we need and
at the right scope/optional combination. I think adding profiles will
lead to more maintenance work on our end with future Java versions.

The only downside to declaring dependencies is when those dependencies
are provided by the platform the application utilizing Camel is
running on, say an application server, and the user might need to
exclude some of the declared dependencies. In an effort to help with
that I declared `jaxb-impl`/`jaxb-core` as optional in `camel-core`.
Though my experience is that when a version of the library (say JAXB)
is packaged with the application server, more often than not, you
would like to provide your own version. This happened to me a lot of
times when running on application servers that are not updated to
latest versions and have JAXB/SAAJ/JPA implementations that are
missing the functionality I need for the application I'm developing.

In a way, development is more and more moving away from deploying to
application servers, well at least the traditional JEE application
servers, and more to standalone fatjar type of deployments -- where
the application brings all dependencies with itself.

(2c)

zoran

On Wed, Nov 7, 2018 at 10:47 AM, Freeman Fang <fr...@gmail.com> wrote:
> Hi Zoran,
>
> Just FYI, in CXF we use maven profile which can define JDK9,10,11 specific dependencies such as jaxb, jaxws, activation and whatnot, probably camel can do this as well?
>
> Cheers
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
>
>
>
>
>
>> On Nov 7, 2018, at 5:24 PM, Zoran Regvart <zo...@regvart.com> wrote:
>>
>> Hi Freeman, Önder and Cameleers,
>> yeah that's correct, I focused on getting the right dependencies to
>> build (i.e. compile) on Java 11, we have ~2500 tests failing at the
>> moment on the CI build[1].
>>
>> That CI build on the other hand is building on Java 8 and running
>> tests on Java 11, though I guess at some point we could build with
>> Java 11 and use `-source 1.8` and `-target 1.8`.
>>
>> I think the bulk of the issues is with missing JAXB implementation
>> that can be added.
>>
>> I was wondering though if we should add JAXB dependencies in `test`
>> scope or as `optional`. This would impact the users quite a bit on
>> Java 11+.
>>
>> Also we (currently) have `jaxb-core` and `jaxb-impl` from
>> `com.sun.xml.bind`, I think we should switch to
>> `org.glassfish.jaxb:jaxb-runtime`,
>>
>> zoran
>>
>> [1] https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/lastCompletedBuild/testReport/
>>
>> On Wed, Nov 7, 2018 at 8:58 AM, Onder SEZGIN <on...@apache.org> wrote:
>>> Hi,
>>>
>>> i think all tests are not successful yet.
>>> My first goal was to build with JDK 11 and then i guess we will run the
>>> tests and provide possible fixes for failing ones.
>>>
>>> I have got a couple issues while trying to build.
>>>
>>> Zoran, did you run local successfull build?
>>>
>>> Thanks,
>>>
>>> On Wed, Nov 7, 2018 at 2:53 AM Freeman Fang <fr...@gmail.com> wrote:
>>>
>>>> Hi Zoran,
>>>>
>>>> I consistently run into error when I use jdk11 to build camel on
>>>> java-10-test branch, is it a known issue or I did something wrong?
>>>> My java is
>>>>
>>>> java -version
>>>> openjdk version "11" 2018-09-25
>>>> OpenJDK Runtime Environment 18.9 (build 11+28)
>>>> OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
>>>>
>>>> Thanks!
>>>>
>>>> [ERROR] Failures:
>>>> [ERROR]
>>>> org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest.testCustomSchemaFactory(org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest)
>>>> [ERROR]   Run 1:
>>>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>>>> Expect exception here
>>>> [ERROR]   Run 2:
>>>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>>>> Expect exception here
>>>> [ERROR]   Run 3:
>>>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>>>> Expect exception here
>>>> [INFO]
>>>> [ERROR]
>>>> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderLinesList(org.apache.camel.language.simple.SimpleTest)
>>>> [ERROR]   Run 1:
>>>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 2:
>>>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 3:
>>>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [INFO]
>>>> [ERROR]
>>>> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderList(org.apache.camel.language.simple.SimpleTest)
>>>> [ERROR]   Run 1:
>>>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 2:
>>>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 3:
>>>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [INFO]
>>>> [ERROR]
>>>> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyLinesList(org.apache.camel.language.simple.SimpleTest)
>>>> [ERROR]   Run 1:
>>>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 2:
>>>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 3:
>>>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [INFO]
>>>> [ERROR]
>>>> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyList(org.apache.camel.language.simple.SimpleTest)
>>>> [ERROR]   Run 1:
>>>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 2:
>>>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [ERROR]   Run 3:
>>>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>>> ]bounds for length 2>
>>>> [INFO]
>>>> [INFO]
>>>> [ERROR] Tests run: 6200, Failures: 5, Errors: 0, Skipped: 19
>>>> -------------
>>>> Freeman(Yue) Fang
>>>>
>>>> Red Hat, Inc.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> On Nov 6, 2018, at 7:49 PM, Zoran Regvart <zo...@regvart.com> wrote:
>>>>>
>>>>> Hi Cameleers,
>>>>>
>>>>> So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse
>>>>> compiler and the Maven plugin updated to the newer versions.
>>>>>
>>>>> Also I found that the `maven-shade-plugin` can hang (on Java 11?), so
>>>>> to work around that I've set `createDependencyReducedPom` to `false`.
>>>>>
>>>>> Because of this I disabled the CI build[1] of the `java-10-test`
>>>>> branch as it took ~19h, now it needs to be triggered manually.
>>>>>
>>>>> I've rebased on `master` and triggered the build, so lets see what the
>>>>> CI says, and how many tests failures we'll see...
>>>>>
>>>>> zoran
>>>>>
>>>>> [1]
>>>> https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/
>>>>>
>>>>> On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com>
>>>> wrote:
>>>>>> Hi Pascal & Cameleers,
>>>>>>
>>>>>> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
>>>>>> <pa...@gmx.net> wrote:
>>>>>>> No related to camel-core, but this commit
>>>>>>>
>>>> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
>>>>>>> can be reverted/dropped because groovy 2.5.3 should work on Java 11.
>>>>>>
>>>>>> Awesome, let me try that...
>>>>>>
>>>>>> zoran
>>>>>> --
>>>>>> Zoran Regvart
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Zoran Regvart
>>>>
>>>>
>>
>>
>>
>> --
>> Zoran Regvart
>



-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Freeman Fang <fr...@gmail.com>.
Hi Zoran,

Just FYI, in CXF we use maven profile which can define JDK9,10,11 specific dependencies such as jaxb, jaxws, activation and whatnot, probably camel can do this as well?

Cheers
-------------
Freeman(Yue) Fang

Red Hat, Inc. 





> On Nov 7, 2018, at 5:24 PM, Zoran Regvart <zo...@regvart.com> wrote:
> 
> Hi Freeman, Önder and Cameleers,
> yeah that's correct, I focused on getting the right dependencies to
> build (i.e. compile) on Java 11, we have ~2500 tests failing at the
> moment on the CI build[1].
> 
> That CI build on the other hand is building on Java 8 and running
> tests on Java 11, though I guess at some point we could build with
> Java 11 and use `-source 1.8` and `-target 1.8`.
> 
> I think the bulk of the issues is with missing JAXB implementation
> that can be added.
> 
> I was wondering though if we should add JAXB dependencies in `test`
> scope or as `optional`. This would impact the users quite a bit on
> Java 11+.
> 
> Also we (currently) have `jaxb-core` and `jaxb-impl` from
> `com.sun.xml.bind`, I think we should switch to
> `org.glassfish.jaxb:jaxb-runtime`,
> 
> zoran
> 
> [1] https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/lastCompletedBuild/testReport/
> 
> On Wed, Nov 7, 2018 at 8:58 AM, Onder SEZGIN <on...@apache.org> wrote:
>> Hi,
>> 
>> i think all tests are not successful yet.
>> My first goal was to build with JDK 11 and then i guess we will run the
>> tests and provide possible fixes for failing ones.
>> 
>> I have got a couple issues while trying to build.
>> 
>> Zoran, did you run local successfull build?
>> 
>> Thanks,
>> 
>> On Wed, Nov 7, 2018 at 2:53 AM Freeman Fang <fr...@gmail.com> wrote:
>> 
>>> Hi Zoran,
>>> 
>>> I consistently run into error when I use jdk11 to build camel on
>>> java-10-test branch, is it a known issue or I did something wrong?
>>> My java is
>>> 
>>> java -version
>>> openjdk version "11" 2018-09-25
>>> OpenJDK Runtime Environment 18.9 (build 11+28)
>>> OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
>>> 
>>> Thanks!
>>> 
>>> [ERROR] Failures:
>>> [ERROR]
>>> org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest.testCustomSchemaFactory(org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest)
>>> [ERROR]   Run 1:
>>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>>> Expect exception here
>>> [ERROR]   Run 2:
>>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>>> Expect exception here
>>> [ERROR]   Run 3:
>>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>>> Expect exception here
>>> [INFO]
>>> [ERROR]
>>> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderLinesList(org.apache.camel.language.simple.SimpleTest)
>>> [ERROR]   Run 1:
>>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 2:
>>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 3:
>>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [INFO]
>>> [ERROR]
>>> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderList(org.apache.camel.language.simple.SimpleTest)
>>> [ERROR]   Run 1:
>>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 2:
>>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 3:
>>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [INFO]
>>> [ERROR]
>>> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyLinesList(org.apache.camel.language.simple.SimpleTest)
>>> [ERROR]   Run 1:
>>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 2:
>>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 3:
>>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [INFO]
>>> [ERROR]
>>> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyList(org.apache.camel.language.simple.SimpleTest)
>>> [ERROR]   Run 1:
>>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 2:
>>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [ERROR]   Run 3:
>>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>>> ]bounds for length 2>
>>> [INFO]
>>> [INFO]
>>> [ERROR] Tests run: 6200, Failures: 5, Errors: 0, Skipped: 19
>>> -------------
>>> Freeman(Yue) Fang
>>> 
>>> Red Hat, Inc.
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On Nov 6, 2018, at 7:49 PM, Zoran Regvart <zo...@regvart.com> wrote:
>>>> 
>>>> Hi Cameleers,
>>>> 
>>>> So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse
>>>> compiler and the Maven plugin updated to the newer versions.
>>>> 
>>>> Also I found that the `maven-shade-plugin` can hang (on Java 11?), so
>>>> to work around that I've set `createDependencyReducedPom` to `false`.
>>>> 
>>>> Because of this I disabled the CI build[1] of the `java-10-test`
>>>> branch as it took ~19h, now it needs to be triggered manually.
>>>> 
>>>> I've rebased on `master` and triggered the build, so lets see what the
>>>> CI says, and how many tests failures we'll see...
>>>> 
>>>> zoran
>>>> 
>>>> [1]
>>> https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/
>>>> 
>>>> On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com>
>>> wrote:
>>>>> Hi Pascal & Cameleers,
>>>>> 
>>>>> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
>>>>> <pa...@gmx.net> wrote:
>>>>>> No related to camel-core, but this commit
>>>>>> 
>>> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
>>>>>> can be reverted/dropped because groovy 2.5.3 should work on Java 11.
>>>>> 
>>>>> Awesome, let me try that...
>>>>> 
>>>>> zoran
>>>>> --
>>>>> Zoran Regvart
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Zoran Regvart
>>> 
>>> 
> 
> 
> 
> -- 
> Zoran Regvart


Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Freeman, Önder and Cameleers,
yeah that's correct, I focused on getting the right dependencies to
build (i.e. compile) on Java 11, we have ~2500 tests failing at the
moment on the CI build[1].

That CI build on the other hand is building on Java 8 and running
tests on Java 11, though I guess at some point we could build with
Java 11 and use `-source 1.8` and `-target 1.8`.

I think the bulk of the issues is with missing JAXB implementation
that can be added.

I was wondering though if we should add JAXB dependencies in `test`
scope or as `optional`. This would impact the users quite a bit on
Java 11+.

Also we (currently) have `jaxb-core` and `jaxb-impl` from
`com.sun.xml.bind`, I think we should switch to
`org.glassfish.jaxb:jaxb-runtime`,

zoran

[1] https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/lastCompletedBuild/testReport/

On Wed, Nov 7, 2018 at 8:58 AM, Onder SEZGIN <on...@apache.org> wrote:
> Hi,
>
> i think all tests are not successful yet.
> My first goal was to build with JDK 11 and then i guess we will run the
> tests and provide possible fixes for failing ones.
>
> I have got a couple issues while trying to build.
>
> Zoran, did you run local successfull build?
>
> Thanks,
>
> On Wed, Nov 7, 2018 at 2:53 AM Freeman Fang <fr...@gmail.com> wrote:
>
>> Hi Zoran,
>>
>> I consistently run into error when I use jdk11 to build camel on
>> java-10-test branch, is it a known issue or I did something wrong?
>> My java is
>>
>> java -version
>> openjdk version "11" 2018-09-25
>> OpenJDK Runtime Environment 18.9 (build 11+28)
>> OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
>>
>> Thanks!
>>
>> [ERROR] Failures:
>> [ERROR]
>> org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest.testCustomSchemaFactory(org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest)
>> [ERROR]   Run 1:
>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>> Expect exception here
>> [ERROR]   Run 2:
>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>> Expect exception here
>> [ERROR]   Run 3:
>> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
>> Expect exception here
>> [INFO]
>> [ERROR]
>> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderLinesList(org.apache.camel.language.simple.SimpleTest)
>> [ERROR]   Run 1:
>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 2:
>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 3:
>> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [INFO]
>> [ERROR]
>> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderList(org.apache.camel.language.simple.SimpleTest)
>> [ERROR]   Run 1:
>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 2:
>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 3:
>> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [INFO]
>> [ERROR]
>> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyLinesList(org.apache.camel.language.simple.SimpleTest)
>> [ERROR]   Run 1:
>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 2:
>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 3:
>> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [INFO]
>> [ERROR]
>> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyList(org.apache.camel.language.simple.SimpleTest)
>> [ERROR]   Run 1:
>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 2:
>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [ERROR]   Run 3:
>> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
>> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
>> ]bounds for length 2>
>> [INFO]
>> [INFO]
>> [ERROR] Tests run: 6200, Failures: 5, Errors: 0, Skipped: 19
>> -------------
>> Freeman(Yue) Fang
>>
>> Red Hat, Inc.
>>
>>
>>
>>
>>
>> > On Nov 6, 2018, at 7:49 PM, Zoran Regvart <zo...@regvart.com> wrote:
>> >
>> > Hi Cameleers,
>> >
>> > So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse
>> > compiler and the Maven plugin updated to the newer versions.
>> >
>> > Also I found that the `maven-shade-plugin` can hang (on Java 11?), so
>> > to work around that I've set `createDependencyReducedPom` to `false`.
>> >
>> > Because of this I disabled the CI build[1] of the `java-10-test`
>> > branch as it took ~19h, now it needs to be triggered manually.
>> >
>> > I've rebased on `master` and triggered the build, so lets see what the
>> > CI says, and how many tests failures we'll see...
>> >
>> > zoran
>> >
>> > [1]
>> https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/
>> >
>> > On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com>
>> wrote:
>> >> Hi Pascal & Cameleers,
>> >>
>> >> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
>> >> <pa...@gmx.net> wrote:
>> >>> No related to camel-core, but this commit
>> >>>
>> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
>> >>> can be reverted/dropped because groovy 2.5.3 should work on Java 11.
>> >>
>> >> Awesome, let me try that...
>> >>
>> >> zoran
>> >> --
>> >> Zoran Regvart
>> >
>> >
>> >
>> > --
>> > Zoran Regvart
>>
>>



-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Onder SEZGIN <on...@apache.org>.
Hi,

i think all tests are not successful yet.
My first goal was to build with JDK 11 and then i guess we will run the
tests and provide possible fixes for failing ones.

I have got a couple issues while trying to build.

Zoran, did you run local successfull build?

Thanks,

On Wed, Nov 7, 2018 at 2:53 AM Freeman Fang <fr...@gmail.com> wrote:

> Hi Zoran,
>
> I consistently run into error when I use jdk11 to build camel on
> java-10-test branch, is it a known issue or I did something wrong?
> My java is
>
> java -version
> openjdk version "11" 2018-09-25
> OpenJDK Runtime Environment 18.9 (build 11+28)
> OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
>
> Thanks!
>
> [ERROR] Failures:
> [ERROR]
> org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest.testCustomSchemaFactory(org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest)
> [ERROR]   Run 1:
> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
> Expect exception here
> [ERROR]   Run 2:
> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
> Expect exception here
> [ERROR]   Run 3:
> CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88
> Expect exception here
> [INFO]
> [ERROR]
> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderLinesList(org.apache.camel.language.simple.SimpleTest)
> [ERROR]   Run 1:
> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 2:
> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 3:
> SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [INFO]
> [ERROR]
> org.apache.camel.language.simple.SimpleTest.testOGNLHeaderList(org.apache.camel.language.simple.SimpleTest)
> [ERROR]   Run 1:
> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 2:
> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 3:
> SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [INFO]
> [ERROR]
> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyLinesList(org.apache.camel.language.simple.SimpleTest)
> [ERROR]   Run 1:
> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 2:
> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 3:
> SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [INFO]
> [ERROR]
> org.apache.camel.language.simple.SimpleTest.testOGNLPropertyList(org.apache.camel.language.simple.SimpleTest)
> [ERROR]   Run 1:
> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 2:
> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [ERROR]   Run 3:
> SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of
> ]bounds for length 2>
> [INFO]
> [INFO]
> [ERROR] Tests run: 6200, Failures: 5, Errors: 0, Skipped: 19
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
>
>
>
>
>
> > On Nov 6, 2018, at 7:49 PM, Zoran Regvart <zo...@regvart.com> wrote:
> >
> > Hi Cameleers,
> >
> > So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse
> > compiler and the Maven plugin updated to the newer versions.
> >
> > Also I found that the `maven-shade-plugin` can hang (on Java 11?), so
> > to work around that I've set `createDependencyReducedPom` to `false`.
> >
> > Because of this I disabled the CI build[1] of the `java-10-test`
> > branch as it took ~19h, now it needs to be triggered manually.
> >
> > I've rebased on `master` and triggered the build, so lets see what the
> > CI says, and how many tests failures we'll see...
> >
> > zoran
> >
> > [1]
> https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/
> >
> > On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com>
> wrote:
> >> Hi Pascal & Cameleers,
> >>
> >> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
> >> <pa...@gmx.net> wrote:
> >>> No related to camel-core, but this commit
> >>>
> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
> >>> can be reverted/dropped because groovy 2.5.3 should work on Java 11.
> >>
> >> Awesome, let me try that...
> >>
> >> zoran
> >> --
> >> Zoran Regvart
> >
> >
> >
> > --
> > Zoran Regvart
>
>

Re: build camel-core JDK 11

Posted by Freeman Fang <fr...@gmail.com>.
Hi Zoran,

I consistently run into error when I use jdk11 to build camel on java-10-test branch, is it a known issue or I did something wrong?
My java is

java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Thanks!

[ERROR] Failures: 
[ERROR] org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest.testCustomSchemaFactory(org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest)
[ERROR]   Run 1: CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88 Expect exception here
[ERROR]   Run 2: CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88 Expect exception here
[ERROR]   Run 3: CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88 Expect exception here
[INFO] 
[ERROR] org.apache.camel.language.simple.SimpleTest.testOGNLHeaderLinesList(org.apache.camel.language.simple.SimpleTest)
[ERROR]   Run 1: SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 2: SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 3: SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[INFO] 
[ERROR] org.apache.camel.language.simple.SimpleTest.testOGNLHeaderList(org.apache.camel.language.simple.SimpleTest)
[ERROR]   Run 1: SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 2: SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 3: SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[INFO] 
[ERROR] org.apache.camel.language.simple.SimpleTest.testOGNLPropertyLinesList(org.apache.camel.language.simple.SimpleTest)
[ERROR]   Run 1: SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 2: SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 3: SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[INFO] 
[ERROR] org.apache.camel.language.simple.SimpleTest.testOGNLPropertyList(org.apache.camel.language.simple.SimpleTest)
[ERROR]   Run 1: SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 2: SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[ERROR]   Run 3: SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of ]bounds for length 2>
[INFO] 
[INFO] 
[ERROR] Tests run: 6200, Failures: 5, Errors: 0, Skipped: 19
-------------
Freeman(Yue) Fang

Red Hat, Inc. 





> On Nov 6, 2018, at 7:49 PM, Zoran Regvart <zo...@regvart.com> wrote:
> 
> Hi Cameleers,
> 
> So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse
> compiler and the Maven plugin updated to the newer versions.
> 
> Also I found that the `maven-shade-plugin` can hang (on Java 11?), so
> to work around that I've set `createDependencyReducedPom` to `false`.
> 
> Because of this I disabled the CI build[1] of the `java-10-test`
> branch as it took ~19h, now it needs to be triggered manually.
> 
> I've rebased on `master` and triggered the build, so lets see what the
> CI says, and how many tests failures we'll see...
> 
> zoran
> 
> [1] https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/
> 
> On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com> wrote:
>> Hi Pascal & Cameleers,
>> 
>> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
>> <pa...@gmx.net> wrote:
>>> No related to camel-core, but this commit
>>> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
>>> can be reverted/dropped because groovy 2.5.3 should work on Java 11.
>> 
>> Awesome, let me try that...
>> 
>> zoran
>> --
>> Zoran Regvart
> 
> 
> 
> -- 
> Zoran Regvart


Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Cameleers,

So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse
compiler and the Maven plugin updated to the newer versions.

Also I found that the `maven-shade-plugin` can hang (on Java 11?), so
to work around that I've set `createDependencyReducedPom` to `false`.

Because of this I disabled the CI build[1] of the `java-10-test`
branch as it took ~19h, now it needs to be triggered manually.

I've rebased on `master` and triggered the build, so lets see what the
CI says, and how many tests failures we'll see...

zoran

[1] https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/

On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com> wrote:
> Hi Pascal & Cameleers,
>
> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
> <pa...@gmx.net> wrote:
>> No related to camel-core, but this commit
>> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
>> can be reverted/dropped because groovy 2.5.3 should work on Java 11.
>
> Awesome, let me try that...
>
> zoran
> --
> Zoran Regvart



-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Pascal & Cameleers,

On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher
<pa...@gmx.net> wrote:
> No related to camel-core, but this commit
> https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08
> can be reverted/dropped because groovy 2.5.3 should work on Java 11.

Awesome, let me try that...

zoran
-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Pascal Schumacher <pa...@gmx.net>.
No related to camel-core, but this commit 
https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08 
can be reverted/dropped because groovy 2.5.3 should work on Java 11.

Am 06.11.2018 um 03:36 schrieb Onder SEZGIN:
> Thanks Zoran. I can see you rebased already i ll try to give whole build a
> go in a sandbox.
>
> On Fri, Nov 2, 2018 at 4:16 PM Claus Ibsen <cl...@gmail.com> wrote:
>
>> On Fri, Nov 2, 2018 at 2:04 PM Zoran Regvart <zo...@regvart.com> wrote:
>>> Hi Önder and Cameers,
>>> I've just rebased and pushed additional changes on the `java-10-test`
>>> branch. With this it should be possible to run:
>>>
>>> `./mvnw -Pfastinstall clean install`
>>>
>>> on Java 11.
>>>
>>> since this is a milestone on getting Camel running on Java 11 I guess
>>> I'm going to celebrate this a bit with an adult beverage...
>>>
>> I think Mr Camel would like that too. So I stashed some beers in the
>> fridge to celebrate in a few hours ;)
>>
>>> zoran
>>>
>>> On Fri, Nov 2, 2018 at 9:42 AM, Zoran Regvart <zo...@regvart.com> wrote:
>>>> Hi Önder,
>>>> yeah I that would be it; I've not forgotten about this (read: still
>>>> rebasing), hopefully will get to the bottom of it today. I hit a snag
>>>> with Scala component, and it takes a long time for the build to run...
>>>>
>>>> zoran
>>>>
>>>> On Fri, Nov 2, 2018 at 8:22 AM, Onder SEZGIN <on...@apache.org>
>> wrote:
>>>>> Hi Zoran,
>>>>> it is ok now. apparently as i was not doing full build, i should have
>>>>> installed parent/pom.xml otherwise camel-parent artifact from snapshot
>>>>> repository was retrieved where the maven property was missing.
>>>>> thanks.
>>>>>
>>>>> On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org>
>> wrote:
>>>>>> I think it should have been defined. it is in paren/pom.xml.
>>>>>> Not sure why it is not detected.
>>>>>>
>>>>>> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com>
>> wrote:
>>>>>>> Hi Önder,
>>>>>>> looks like the `annotation-api-version` Maven property is not
>> defined.
>>>>>>> Is this on the `java-10-test` branch? I must have missed it when
>>>>>>> rebasing on `master`, let me rebase and test locally now,
>>>>>>>
>>>>>>> zoran
>>>>>>>
>>>>>>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org>
>> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Has anybody tried to build camel-core locally with JDK-11?
>>>>>>>>
>>>>>>>> First i got this error;
>>>>>>>>
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>>>>>>> (validate) on project camel-core: Execution validate of goal
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>>>>>>> failed: A required class was missing while executing
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
>>>>>>>> javax/xml/bind/annotation/XmlTransient
>>>>>>>>
>>>>>>>> Then, i ran mvn clean install -Pfastinstall
>>>>>>>> inside tooling/maven/camel-package-maven-plugin.
>>>>>>>>
>>>>>>>> Later while trying to build camel-core, i got another error.
>>>>>>>>
>>>>>>>> [INFO] ---
>>>>>>>>
>> camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>>>>> (components) @ camel-core ---
>>>>>>>> [WARNING] The POM for
>>>>>>>>
>> javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
>>>>>>>> missing, no dependency information available
>>>>>>>> [DEBUG] Dependency collection stats:
>> {ConflictMarker.analyzeTime=155216,
>>>>>>>> ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
>>>>>>>> ConflictIdSorter.graphTime=86832,
>> ConflictIdSorter.topsortTime=122681,
>>>>>>>> ConflictIdSorter.conflictIdCount=58,
>>>>>>>> ConflictIdSorter.conflictIdCycleCount=0,
>>>>>>>> ConflictResolver.totalTime=15833299,
>>>>>>>> ConflictResolver.conflictItemCount=107,
>>>>>>>> DefaultDependencyCollector.collectTime=343830160,
>>>>>>>> DefaultDependencyCollector.transformTime=16495156}
>>>>>>>> [DEBUG]
>> org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
>>>>>>>> [DEBUG]
>>>>>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>>>>>>> [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
>>>>>>>> [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
>>>>>>>> [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>>>>>>>
>> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>>>>>>>   org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>> org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>>>>>>> [DEBUG]
>>>>>>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>>>>>>> [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
>>>>>>>> [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>>>>>>   org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>   org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>>>>>>> [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
>>>>>>>> [DEBUG]
>>>>>>>>
>> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>>>>>>> [DEBUG]
>>   org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>>>>>>> backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>>>>>>> [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
>>>>>>>> [DEBUG]       classworlds:classworlds:jar:1.1:compile
>>>>>>>> [DEBUG]
>>   org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>>>>>>> [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>>>>>>> [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
>>>>>>>> [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>> org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>>>>>>> [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>   org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>>>>>>> [DEBUG]
>>   org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>>>>>>> [DEBUG]
>> org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>>>>>>> [DEBUG]
>>>>>>>>
>> org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>>>>>>> [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>>>>>>> [DEBUG]
>> org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>>>>>>> [DEBUG]
>>   org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>>>>>>> [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
>>>>>>>> [DEBUG]
>>   com.google.collections:google-collections:jar:1.0:compile
>>>>>>>> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>>>>>>> [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>>>>>>> [DEBUG]    commons-io:commons-io:jar:2.6:compile
>>>>>>>> [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
>>>>>>>> [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>>>>>>> [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
>>>>>>>> [DEBUG]       com.beust:jcommander:jar:1.35:runtime
>>>>>>>> [DEBUG]    com.google.guava:guava:jar:19.0:compile
>>>>>>>> [DEBUG]
>> org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>>>>>>> [DEBUG]
>> org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>>>>>>> [DEBUG]
>>>>>>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
>>>>>>>> [DEBUG]
>>   org.springframework:spring-core:jar:5.0.10.RELEASE:compile
>>>>>>>> [DEBUG]
>>>>>>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
>>>>>>>> [DEBUG]
>>>>>>>   org.springframework:spring-context:jar:5.0.10.RELEASE:compile
>>>>>>>> [DEBUG]
>>>>>>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
>>>>>>>> [DEBUG]
>>>>>>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
>>>>>>>> [DEBUG]
>>>>>>>> org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
>>>>>>>> [DEBUG]
>>>>>>>>
>> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
>>>>>>>> [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
>>>>>>>> [DEBUG]
>>>>>>>>
>> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
>>>>>>>> [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>>>>>>> [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>>>>>>> [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>>>>>>> [DEBUG]
>> org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>>>>>>> [DEBUG] Could not find metadata
>>>>>>>>
>> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>>>> in
>>>>>>>> local (/home/onders/.m2/repository)
>>>>>>>> [DEBUG] Failure to find
>>>>>>>>
>> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>>>> in
>>>>>>>> http://repo1.maven.org/maven2 was cached in the local repository,
>>>>>>>> resolution will not be reattempted until the update interval of
>> central
>>>>>>> has
>>>>>>>> elapsed or updates are forced
>>>>>>>> [DEBUG] Failure to find
>>>>>>>>
>> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>>>> in
>>>>>>>> https://oss.sonatype.org/content/repositories/public/ was cached
>> in the
>>>>>>>> local repository, resolution will not be reattempted until the
>> update
>>>>>>>> interval of sonatype-public has elapsed or updates are forced
>>>>>>>> [DEBUG] Skipped remote request for
>>>>>>>>
>> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>>>>> locally cached metadata up-to-date.
>>>>>>>> [DEBUG] Failure to find
>>>>>>>>
>> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>>>> in
>>>>>>>> https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached
>> in the
>>>>>>>> local repository, resolution will not be reattempted until the
>> update
>>>>>>>> interval of oss.jfrog.org-snapshots has elapsed or updates are
>> forced
>>>>>>>> [DEBUG] Failure to find
>>>>>>>>
>> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>>>> in
>>>>>>>> https://jitpack.io was cached in the local repository,
>> resolution will
>>>>>>> not
>>>>>>>> be reattempted until the update interval of jitpack.io has
>> elapsed or
>>>>>>>> updates are forced
>>>>>>>> [DEBUG] Skipped remote request for
>>>>>>>>
>> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>>>>> locally installed metadata up-to-date.
>>>>>>>> [DEBUG] Skipped remote request for
>>>>>>>>
>> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>>>>> locally installed metadata up-to-date.
>>>>>>>> [DEBUG] Skipped remote request for
>>>>>>>>
>> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>>>>> locally installed metadata up-to-date.
>>>>>>>> [DEBUG] Skipped remote request for
>>>>>>>>
>> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>>>>> locally installed metadata up-to-date.
>>>>>>>> [DEBUG] Skipped remote request for
>>>>>>>>
>> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>>>>> locally installed metadata up-to-date.
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time: 11.758 s
>>>>>>>> [INFO] Finished at: 2018-10-31T22:00:24-04:00
>>>>>>>> [INFO] Final Memory: 19M/67M
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>>>>> (components) on project camel-core: Execution components of goal
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>>>>> failed: Plugin
>>>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>>>>>>> or one of its dependencies could not be resolved: Failure to find
>>>>>>>>
>> javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>>>>>>> http://repo1.maven.org/maven2 was cached in the local repository,
>>>>>>>> resolution will not be reattempted until the update interval of
>> central
>>>>>>> has
>>>>>>>> elapsed or updates are forced -> [Help 1]
>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>>>>> execute
>>>>>>>> goal
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>>>>> (components) on project camel-core: Execution components of goal
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>>>>> failed: Plugin
>>>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>>>>>>> or one of its dependencies could not be resolved: Failure to find
>>>>>>>>
>> javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>>>>>>> http://repo1.maven.org/m
>>>>>>>>
>>>>>>>>
>>>>>>>> However, while getting dependency tree for
>> camel-package-maven-plugin,
>>>>>>>> there is no such error.
>>>>>>>>
>>>>>>>> [# camel-package-maven-plugin]$ mvn dependency:tree
>>>>>>>> [INFO] Scanning for projects...
>>>>>>>> [INFO]
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
>>>>>>>> 2.23.0-SNAPSHOT
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [INFO]
>>>>>>>> [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
>>>>>>>> camel-package-maven-plugin ---
>>>>>>>> [INFO]
>>>>>>>>
>> org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
>>>>>>>> [INFO] +-
>>>>>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>>>>>>> [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
>>>>>>>> [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
>>>>>>>> [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
>>>>>>>> [INFO] |  +-
>> org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
>>>>>>>> [INFO] |  +-
>>>>>>>>
>> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>>>>>>> [INFO] |  +-
>>>>>>>>
>> org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
>>>>>>>> [INFO] |  |  \-
>>>>>>>> org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
>>>>>>>> [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
>>>>>>>> [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
>>>>>>>> [INFO] |  +-
>> org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
>>>>>>>> [INFO] |  +-
>>>>>>>>
>> org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
>>>>>>>> [INFO] |  |  \-
>>>>>>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
>>>>>>>> [INFO] |  |     +-
>>>>>>>> org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
>>>>>>>> [INFO] |  |     \-
>> commons-httpclient:commons-httpclient:jar:3.1:runtime
>>>>>>>> [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
>>>>>>>> [INFO] |  +-
>>>>>>>> org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>>>>>>> [INFO] |  |  +-
>> org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>>>>>>> [INFO] |  |  \-
>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>>>>>>> [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
>>>>>>>> [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
>>>>>>>> [INFO] |  +-
>>>>>>>> org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
>>>>>>>> [INFO] |  +-
>>>>>>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>>>>>>> [INFO] |  +-
>> org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>>>>>>> [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>>>>>>>> [INFO] |  +-
>>>>>>>> org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
>>>>>>>> [INFO] |  |  \-
>>>>>>>> org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
>>>>>>>> [INFO] |  +-
>>>>>>>>
>> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>>>>>>> [INFO] |  +-
>> org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>>>>>>> [INFO] |  |  \-
>>>>>>>> backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>>>>>>> [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
>>>>>>>> [INFO] |  +-
>> org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
>>>>>>>> [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
>>>>>>>> [INFO] |  +- classworlds:classworlds:jar:1.1:compile
>>>>>>>> [INFO] |  \-
>> org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>>>>>>> [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>>>>>>> [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
>>>>>>>> [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>>>>>>> [INFO] +-
>> org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>>>>>>> [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
>>>>>>>> [INFO] |  +-
>> org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>>>>>>> [INFO] |  \-
>> org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>>>>>>> [INFO] +-
>> org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>>>>>>> [INFO] |  +-
>>>>>>>> org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>>>>>>> [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>>>>>>> [INFO] +-
>> org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>>>>>>> [INFO] |  +-
>> org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>>>>>>> [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
>>>>>>>> [INFO] |  \-
>> com.google.collections:google-collections:jar:1.0:compile
>>>>>>>> [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>>>>>>> [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>>>>>>> [INFO] +- commons-io:commons-io:jar:2.6:compile
>>>>>>>> [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
>>>>>>>> [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>>>>>>> [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
>>>>>>>> [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
>>>>>>>> [INFO] +- com.google.guava:guava:jar:19.0:compile
>>>>>>>> [INFO] +-
>> org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>>>>>>> [INFO] +-
>> org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>>>>>>> [INFO] +-
>> org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
>>>>>>>> [INFO] |  +-
>> org.springframework:spring-core:jar:5.1.0.RELEASE:compile
>>>>>>>> [INFO] |  |  \-
>> org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
>>>>>>>> [INFO] |  \-
>>>>>>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
>>>>>>>> [INFO] |     +-
>> org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
>>>>>>>> [INFO] |     +-
>>>>>>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
>>>>>>>> [INFO] |     \-
>>>>>>>> org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
>>>>>>>> [INFO] +-
>>>>>>>>
>> org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
>>>>>>>> [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
>>>>>>>> [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
>>>>>>>> [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>>>>>>> [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>>>>>>> [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>>>>>>> [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
>>>>>>>> [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
>>>>>>>> [INFO] +-
>> org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
>>>>>>>> [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
>>>>>>>> [INFO] \-
>> org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [INFO] BUILD SUCCESS
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time: 7.222 s
>>>>>>>> [INFO] Finished at: 2018-10-31T22:05:17-04:00
>>>>>>>> [INFO] Final Memory: 22M/77M
>>>>>>>> [INFO]
>>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> Any idea?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Önder
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Zoran Regvart
>>>>>>>
>>>>
>>>>
>>>> --
>>>> Zoran Regvart
>>>
>>>
>>> --
>>> Zoran Regvart
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> http://davsclaus.com @davsclaus
>> Camel in Action 2: https://www.manning.com/ibsen2
>>


Re: build camel-core JDK 11

Posted by Onder SEZGIN <on...@apache.org>.
Thanks Zoran. I can see you rebased already i ll try to give whole build a
go in a sandbox.

On Fri, Nov 2, 2018 at 4:16 PM Claus Ibsen <cl...@gmail.com> wrote:

> On Fri, Nov 2, 2018 at 2:04 PM Zoran Regvart <zo...@regvart.com> wrote:
> >
> > Hi Önder and Cameers,
> > I've just rebased and pushed additional changes on the `java-10-test`
> > branch. With this it should be possible to run:
> >
> > `./mvnw -Pfastinstall clean install`
> >
> > on Java 11.
> >
> > since this is a milestone on getting Camel running on Java 11 I guess
> > I'm going to celebrate this a bit with an adult beverage...
> >
>
> I think Mr Camel would like that too. So I stashed some beers in the
> fridge to celebrate in a few hours ;)
>
> > zoran
> >
> > On Fri, Nov 2, 2018 at 9:42 AM, Zoran Regvart <zo...@regvart.com> wrote:
> > > Hi Önder,
> > > yeah I that would be it; I've not forgotten about this (read: still
> > > rebasing), hopefully will get to the bottom of it today. I hit a snag
> > > with Scala component, and it takes a long time for the build to run...
> > >
> > > zoran
> > >
> > > On Fri, Nov 2, 2018 at 8:22 AM, Onder SEZGIN <on...@apache.org>
> wrote:
> > >> Hi Zoran,
> > >> it is ok now. apparently as i was not doing full build, i should have
> > >> installed parent/pom.xml otherwise camel-parent artifact from snapshot
> > >> repository was retrieved where the maven property was missing.
> > >> thanks.
> > >>
> > >> On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org>
> wrote:
> > >>
> > >>> I think it should have been defined. it is in paren/pom.xml.
> > >>> Not sure why it is not detected.
> > >>>
> > >>> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com>
> wrote:
> > >>>
> > >>>> Hi Önder,
> > >>>> looks like the `annotation-api-version` Maven property is not
> defined.
> > >>>> Is this on the `java-10-test` branch? I must have missed it when
> > >>>> rebasing on `master`, let me rebase and test locally now,
> > >>>>
> > >>>> zoran
> > >>>>
> > >>>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org>
> wrote:
> > >>>> > Hi,
> > >>>> >
> > >>>> > Has anybody tried to build camel-core locally with JDK-11?
> > >>>> >
> > >>>> > First i got this error;
> > >>>> >
> > >>>> > [ERROR] Failed to execute goal
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> > >>>> > (validate) on project camel-core: Execution validate of goal
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> > >>>> > failed: A required class was missing while executing
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
> > >>>> > javax/xml/bind/annotation/XmlTransient
> > >>>> >
> > >>>> > Then, i ran mvn clean install -Pfastinstall
> > >>>> > inside tooling/maven/camel-package-maven-plugin.
> > >>>> >
> > >>>> > Later while trying to build camel-core, i got another error.
> > >>>> >
> > >>>> > [INFO] ---
> > >>>> >
> camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > >>>> > (components) @ camel-core ---
> > >>>> > [WARNING] The POM for
> > >>>> >
> javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
> > >>>> > missing, no dependency information available
> > >>>> > [DEBUG] Dependency collection stats:
> {ConflictMarker.analyzeTime=155216,
> > >>>> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
> > >>>> > ConflictIdSorter.graphTime=86832,
> ConflictIdSorter.topsortTime=122681,
> > >>>> > ConflictIdSorter.conflictIdCount=58,
> > >>>> > ConflictIdSorter.conflictIdCycleCount=0,
> > >>>> > ConflictResolver.totalTime=15833299,
> > >>>> > ConflictResolver.conflictItemCount=107,
> > >>>> > DefaultDependencyCollector.collectTime=343830160,
> > >>>> > DefaultDependencyCollector.transformTime=16495156}
> > >>>> > [DEBUG]
> org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
> > >>>> > [DEBUG]
> > >>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> > >>>> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
> > >>>> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
> > >>>> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
> > >>>> > [DEBUG]
> > >>>> >
> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> > >>>> > [DEBUG]
> > >>>> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> > >>>> > [DEBUG]
> org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> > >>>> > [DEBUG]
> > >>>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> > >>>> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
> > >>>> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
> > >>>> > [DEBUG]
> > >>>>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> > >>>> > [DEBUG]
>  org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> > >>>> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
> > >>>> > [DEBUG]
> > >>>> >
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> > >>>> > [DEBUG]
>  org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> > >>>> > [DEBUG]
> > >>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> > >>>> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
> > >>>> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
> > >>>> > [DEBUG]
>  org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> > >>>> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> > >>>> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
> > >>>> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> > >>>> > [DEBUG]
> org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> > >>>> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
> > >>>> > [DEBUG]
>  org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> > >>>> > [DEBUG]
>  org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> > >>>> > [DEBUG]
> org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> > >>>> > [DEBUG]
> > >>>> >
> org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> > >>>> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> > >>>> > [DEBUG]
> org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> > >>>> > [DEBUG]
>  org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> > >>>> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
> > >>>> > [DEBUG]
>  com.google.collections:google-collections:jar:1.0:compile
> > >>>> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> > >>>> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> > >>>> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
> > >>>> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
> > >>>> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> > >>>> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
> > >>>> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
> > >>>> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
> > >>>> > [DEBUG]
> org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> > >>>> > [DEBUG]
> org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> > >>>> > [DEBUG]
> > >>>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
> > >>>> > [DEBUG]
>  org.springframework:spring-core:jar:5.0.10.RELEASE:compile
> > >>>> > [DEBUG]
> > >>>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
> > >>>> > [DEBUG]
> > >>>>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
> > >>>> > [DEBUG]
> > >>>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
> > >>>> > [DEBUG]
> > >>>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
> > >>>> > [DEBUG]
> > >>>> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
> > >>>> > [DEBUG]
> > >>>> >
> > >>>>
> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
> > >>>> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
> > >>>> > [DEBUG]
> > >>>> >
> > >>>>
> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
> > >>>> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
> > >>>> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> > >>>> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> > >>>> > [DEBUG]
> org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> > >>>> > [DEBUG] Could not find metadata
> > >>>> >
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> > >>>> in
> > >>>> > local (/home/onders/.m2/repository)
> > >>>> > [DEBUG] Failure to find
> > >>>> >
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> > >>>> in
> > >>>> > http://repo1.maven.org/maven2 was cached in the local repository,
> > >>>> > resolution will not be reattempted until the update interval of
> central
> > >>>> has
> > >>>> > elapsed or updates are forced
> > >>>> > [DEBUG] Failure to find
> > >>>> >
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> > >>>> in
> > >>>> > https://oss.sonatype.org/content/repositories/public/ was cached
> in the
> > >>>> > local repository, resolution will not be reattempted until the
> update
> > >>>> > interval of sonatype-public has elapsed or updates are forced
> > >>>> > [DEBUG] Skipped remote request for
> > >>>> >
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
> > >>>> > locally cached metadata up-to-date.
> > >>>> > [DEBUG] Failure to find
> > >>>> >
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> > >>>> in
> > >>>> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached
> in the
> > >>>> > local repository, resolution will not be reattempted until the
> update
> > >>>> > interval of oss.jfrog.org-snapshots has elapsed or updates are
> forced
> > >>>> > [DEBUG] Failure to find
> > >>>> >
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> > >>>> in
> > >>>> > https://jitpack.io was cached in the local repository,
> resolution will
> > >>>> not
> > >>>> > be reattempted until the update interval of jitpack.io has
> elapsed or
> > >>>> > updates are forced
> > >>>> > [DEBUG] Skipped remote request for
> > >>>> >
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > >>>> > locally installed metadata up-to-date.
> > >>>> > [DEBUG] Skipped remote request for
> > >>>> >
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > >>>> > locally installed metadata up-to-date.
> > >>>> > [DEBUG] Skipped remote request for
> > >>>> >
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > >>>> > locally installed metadata up-to-date.
> > >>>> > [DEBUG] Skipped remote request for
> > >>>> >
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > >>>> > locally installed metadata up-to-date.
> > >>>> > [DEBUG] Skipped remote request for
> > >>>> >
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > >>>> > locally installed metadata up-to-date.
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [INFO] BUILD FAILURE
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [INFO] Total time: 11.758 s
> > >>>> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
> > >>>> > [INFO] Final Memory: 19M/67M
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [ERROR] Failed to execute goal
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > >>>> > (components) on project camel-core: Execution components of goal
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > >>>> > failed: Plugin
> > >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> > >>>> > or one of its dependencies could not be resolved: Failure to find
> > >>>> >
> javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> > >>>> > http://repo1.maven.org/maven2 was cached in the local repository,
> > >>>> > resolution will not be reattempted until the update interval of
> central
> > >>>> has
> > >>>> > elapsed or updates are forced -> [Help 1]
> > >>>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > >>>> execute
> > >>>> > goal
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > >>>> > (components) on project camel-core: Execution components of goal
> > >>>> >
> > >>>>
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > >>>> > failed: Plugin
> > >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> > >>>> > or one of its dependencies could not be resolved: Failure to find
> > >>>> >
> javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> > >>>> > http://repo1.maven.org/m
> > >>>> >
> > >>>> >
> > >>>> > However, while getting dependency tree for
> camel-package-maven-plugin,
> > >>>> > there is no such error.
> > >>>> >
> > >>>> > [# camel-package-maven-plugin]$ mvn dependency:tree
> > >>>> > [INFO] Scanning for projects...
> > >>>> > [INFO]
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
> > >>>> > 2.23.0-SNAPSHOT
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [INFO]
> > >>>> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
> > >>>> > camel-package-maven-plugin ---
> > >>>> > [INFO]
> > >>>> >
> org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
> > >>>> > [INFO] +-
> > >>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> > >>>> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
> > >>>> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
> > >>>> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
> > >>>> > [INFO] |  +-
> org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
> > >>>> > [INFO] |  +-
> > >>>> >
> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> > >>>> > [INFO] |  +-
> > >>>> >
> org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
> > >>>> > [INFO] |  |  \-
> > >>>> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
> > >>>> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
> > >>>> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
> > >>>> > [INFO] |  +-
> org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
> > >>>> > [INFO] |  +-
> > >>>> >
> org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
> > >>>> > [INFO] |  |  \-
> > >>>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
> > >>>> > [INFO] |  |     +-
> > >>>> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
> > >>>> > [INFO] |  |     \-
> commons-httpclient:commons-httpclient:jar:3.1:runtime
> > >>>> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
> > >>>> > [INFO] |  +-
> > >>>> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> > >>>> > [INFO] |  |  +-
> org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> > >>>> > [INFO] |  |  \-
> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> > >>>> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
> > >>>> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
> > >>>> > [INFO] |  +-
> > >>>> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
> > >>>> > [INFO] |  +-
> > >>>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> > >>>> > [INFO] |  +-
> org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> > >>>> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
> > >>>> > [INFO] |  +-
> > >>>> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
> > >>>> > [INFO] |  |  \-
> > >>>> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
> > >>>> > [INFO] |  +-
> > >>>> >
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> > >>>> > [INFO] |  +-
> org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> > >>>> > [INFO] |  |  \-
> > >>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> > >>>> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
> > >>>> > [INFO] |  +-
> org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
> > >>>> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
> > >>>> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
> > >>>> > [INFO] |  \-
> org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> > >>>> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> > >>>> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
> > >>>> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> > >>>> > [INFO] +-
> org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> > >>>> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
> > >>>> > [INFO] |  +-
> org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> > >>>> > [INFO] |  \-
> org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> > >>>> > [INFO] +-
> org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> > >>>> > [INFO] |  +-
> > >>>> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> > >>>> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> > >>>> > [INFO] +-
> org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> > >>>> > [INFO] |  +-
> org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> > >>>> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
> > >>>> > [INFO] |  \-
> com.google.collections:google-collections:jar:1.0:compile
> > >>>> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> > >>>> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> > >>>> > [INFO] +- commons-io:commons-io:jar:2.6:compile
> > >>>> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
> > >>>> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> > >>>> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
> > >>>> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
> > >>>> > [INFO] +- com.google.guava:guava:jar:19.0:compile
> > >>>> > [INFO] +-
> org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> > >>>> > [INFO] +-
> org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> > >>>> > [INFO] +-
> org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
> > >>>> > [INFO] |  +-
> org.springframework:spring-core:jar:5.1.0.RELEASE:compile
> > >>>> > [INFO] |  |  \-
> org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
> > >>>> > [INFO] |  \-
> > >>>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
> > >>>> > [INFO] |     +-
> org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
> > >>>> > [INFO] |     +-
> > >>>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
> > >>>> > [INFO] |     \-
> > >>>> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
> > >>>> > [INFO] +-
> > >>>> >
> org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
> > >>>> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
> > >>>> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> > >>>> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
> > >>>> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> > >>>> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> > >>>> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
> > >>>> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
> > >>>> > [INFO] +-
> org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
> > >>>> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
> > >>>> > [INFO] \-
> org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [INFO] BUILD SUCCESS
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> > [INFO] Total time: 7.222 s
> > >>>> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
> > >>>> > [INFO] Final Memory: 22M/77M
> > >>>> > [INFO]
> > >>>> >
> ------------------------------------------------------------------------
> > >>>> >
> > >>>> >
> > >>>> > Any idea?
> > >>>> >
> > >>>> > Thanks
> > >>>> > Önder
> > >>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> Zoran Regvart
> > >>>>
> > >>>
> > >
> > >
> > >
> > > --
> > > Zoran Regvart
> >
> >
> >
> > --
> > Zoran Regvart
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Re: build camel-core JDK 11

Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Nov 2, 2018 at 2:04 PM Zoran Regvart <zo...@regvart.com> wrote:
>
> Hi Önder and Cameers,
> I've just rebased and pushed additional changes on the `java-10-test`
> branch. With this it should be possible to run:
>
> `./mvnw -Pfastinstall clean install`
>
> on Java 11.
>
> since this is a milestone on getting Camel running on Java 11 I guess
> I'm going to celebrate this a bit with an adult beverage...
>

I think Mr Camel would like that too. So I stashed some beers in the
fridge to celebrate in a few hours ;)

> zoran
>
> On Fri, Nov 2, 2018 at 9:42 AM, Zoran Regvart <zo...@regvart.com> wrote:
> > Hi Önder,
> > yeah I that would be it; I've not forgotten about this (read: still
> > rebasing), hopefully will get to the bottom of it today. I hit a snag
> > with Scala component, and it takes a long time for the build to run...
> >
> > zoran
> >
> > On Fri, Nov 2, 2018 at 8:22 AM, Onder SEZGIN <on...@apache.org> wrote:
> >> Hi Zoran,
> >> it is ok now. apparently as i was not doing full build, i should have
> >> installed parent/pom.xml otherwise camel-parent artifact from snapshot
> >> repository was retrieved where the maven property was missing.
> >> thanks.
> >>
> >> On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org> wrote:
> >>
> >>> I think it should have been defined. it is in paren/pom.xml.
> >>> Not sure why it is not detected.
> >>>
> >>> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com> wrote:
> >>>
> >>>> Hi Önder,
> >>>> looks like the `annotation-api-version` Maven property is not defined.
> >>>> Is this on the `java-10-test` branch? I must have missed it when
> >>>> rebasing on `master`, let me rebase and test locally now,
> >>>>
> >>>> zoran
> >>>>
> >>>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
> >>>> > Hi,
> >>>> >
> >>>> > Has anybody tried to build camel-core locally with JDK-11?
> >>>> >
> >>>> > First i got this error;
> >>>> >
> >>>> > [ERROR] Failed to execute goal
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> >>>> > (validate) on project camel-core: Execution validate of goal
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> >>>> > failed: A required class was missing while executing
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
> >>>> > javax/xml/bind/annotation/XmlTransient
> >>>> >
> >>>> > Then, i ran mvn clean install -Pfastinstall
> >>>> > inside tooling/maven/camel-package-maven-plugin.
> >>>> >
> >>>> > Later while trying to build camel-core, i got another error.
> >>>> >
> >>>> > [INFO] ---
> >>>> > camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> >>>> > (components) @ camel-core ---
> >>>> > [WARNING] The POM for
> >>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
> >>>> > missing, no dependency information available
> >>>> > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
> >>>> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
> >>>> > ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
> >>>> > ConflictIdSorter.conflictIdCount=58,
> >>>> > ConflictIdSorter.conflictIdCycleCount=0,
> >>>> > ConflictResolver.totalTime=15833299,
> >>>> > ConflictResolver.conflictItemCount=107,
> >>>> > DefaultDependencyCollector.collectTime=343830160,
> >>>> > DefaultDependencyCollector.transformTime=16495156}
> >>>> > [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
> >>>> > [DEBUG]
> >>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> >>>> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
> >>>> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
> >>>> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
> >>>> > [DEBUG]
> >>>> >  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> >>>> > [DEBUG]
> >>>> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> >>>> > [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> >>>> > [DEBUG]
> >>>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> >>>> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
> >>>> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
> >>>> > [DEBUG]
> >>>>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> >>>> > [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> >>>> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
> >>>> > [DEBUG]
> >>>> >  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> >>>> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> >>>> > [DEBUG]
> >>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> >>>> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
> >>>> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
> >>>> > [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> >>>> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> >>>> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
> >>>> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> >>>> > [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> >>>> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
> >>>> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> >>>> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> >>>> > [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> >>>> > [DEBUG]
> >>>> >  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> >>>> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> >>>> > [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> >>>> > [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> >>>> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
> >>>> > [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
> >>>> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> >>>> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> >>>> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
> >>>> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
> >>>> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> >>>> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
> >>>> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
> >>>> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
> >>>> > [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> >>>> > [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> >>>> > [DEBUG]
> >>>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
> >>>> > [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
> >>>> > [DEBUG]
> >>>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
> >>>> > [DEBUG]
> >>>>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
> >>>> > [DEBUG]
> >>>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
> >>>> > [DEBUG]
> >>>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
> >>>> > [DEBUG]
> >>>> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
> >>>> > [DEBUG]
> >>>> >
> >>>> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
> >>>> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
> >>>> > [DEBUG]
> >>>> >
> >>>> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
> >>>> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
> >>>> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> >>>> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> >>>> > [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> >>>> > [DEBUG] Could not find metadata
> >>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> >>>> in
> >>>> > local (/home/onders/.m2/repository)
> >>>> > [DEBUG] Failure to find
> >>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> >>>> in
> >>>> > http://repo1.maven.org/maven2 was cached in the local repository,
> >>>> > resolution will not be reattempted until the update interval of central
> >>>> has
> >>>> > elapsed or updates are forced
> >>>> > [DEBUG] Failure to find
> >>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> >>>> in
> >>>> > https://oss.sonatype.org/content/repositories/public/ was cached in the
> >>>> > local repository, resolution will not be reattempted until the update
> >>>> > interval of sonatype-public has elapsed or updates are forced
> >>>> > [DEBUG] Skipped remote request for
> >>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
> >>>> > locally cached metadata up-to-date.
> >>>> > [DEBUG] Failure to find
> >>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> >>>> in
> >>>> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
> >>>> > local repository, resolution will not be reattempted until the update
> >>>> > interval of oss.jfrog.org-snapshots has elapsed or updates are forced
> >>>> > [DEBUG] Failure to find
> >>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> >>>> in
> >>>> > https://jitpack.io was cached in the local repository, resolution will
> >>>> not
> >>>> > be reattempted until the update interval of jitpack.io has elapsed or
> >>>> > updates are forced
> >>>> > [DEBUG] Skipped remote request for
> >>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> >>>> > locally installed metadata up-to-date.
> >>>> > [DEBUG] Skipped remote request for
> >>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> >>>> > locally installed metadata up-to-date.
> >>>> > [DEBUG] Skipped remote request for
> >>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> >>>> > locally installed metadata up-to-date.
> >>>> > [DEBUG] Skipped remote request for
> >>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> >>>> > locally installed metadata up-to-date.
> >>>> > [DEBUG] Skipped remote request for
> >>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> >>>> > locally installed metadata up-to-date.
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [INFO] BUILD FAILURE
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [INFO] Total time: 11.758 s
> >>>> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
> >>>> > [INFO] Final Memory: 19M/67M
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [ERROR] Failed to execute goal
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> >>>> > (components) on project camel-core: Execution components of goal
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> >>>> > failed: Plugin
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> >>>> > or one of its dependencies could not be resolved: Failure to find
> >>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> >>>> > http://repo1.maven.org/maven2 was cached in the local repository,
> >>>> > resolution will not be reattempted until the update interval of central
> >>>> has
> >>>> > elapsed or updates are forced -> [Help 1]
> >>>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >>>> execute
> >>>> > goal
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> >>>> > (components) on project camel-core: Execution components of goal
> >>>> >
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> >>>> > failed: Plugin
> >>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> >>>> > or one of its dependencies could not be resolved: Failure to find
> >>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> >>>> > http://repo1.maven.org/m
> >>>> >
> >>>> >
> >>>> > However, while getting dependency tree for camel-package-maven-plugin,
> >>>> > there is no such error.
> >>>> >
> >>>> > [# camel-package-maven-plugin]$ mvn dependency:tree
> >>>> > [INFO] Scanning for projects...
> >>>> > [INFO]
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
> >>>> > 2.23.0-SNAPSHOT
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [INFO]
> >>>> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
> >>>> > camel-package-maven-plugin ---
> >>>> > [INFO]
> >>>> > org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
> >>>> > [INFO] +-
> >>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> >>>> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
> >>>> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
> >>>> > [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
> >>>> > [INFO] |  +-
> >>>> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> >>>> > [INFO] |  +-
> >>>> > org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
> >>>> > [INFO] |  |  \-
> >>>> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
> >>>> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
> >>>> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
> >>>> > [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
> >>>> > [INFO] |  +-
> >>>> > org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
> >>>> > [INFO] |  |  \-
> >>>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
> >>>> > [INFO] |  |     +-
> >>>> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
> >>>> > [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
> >>>> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
> >>>> > [INFO] |  +-
> >>>> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> >>>> > [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> >>>> > [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
> >>>> > [INFO] |  +-
> >>>> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
> >>>> > [INFO] |  +-
> >>>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> >>>> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
> >>>> > [INFO] |  +-
> >>>> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
> >>>> > [INFO] |  |  \-
> >>>> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
> >>>> > [INFO] |  +-
> >>>> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> >>>> > [INFO] |  |  \-
> >>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
> >>>> > [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
> >>>> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
> >>>> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
> >>>> > [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> >>>> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> >>>> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
> >>>> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> >>>> > [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> >>>> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
> >>>> > [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> >>>> > [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> >>>> > [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> >>>> > [INFO] |  +-
> >>>> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> >>>> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> >>>> > [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> >>>> > [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> >>>> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
> >>>> > [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
> >>>> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> >>>> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> >>>> > [INFO] +- commons-io:commons-io:jar:2.6:compile
> >>>> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
> >>>> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> >>>> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
> >>>> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
> >>>> > [INFO] +- com.google.guava:guava:jar:19.0:compile
> >>>> > [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> >>>> > [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> >>>> > [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
> >>>> > [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
> >>>> > [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
> >>>> > [INFO] |  \-
> >>>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
> >>>> > [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
> >>>> > [INFO] |     +-
> >>>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
> >>>> > [INFO] |     \-
> >>>> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
> >>>> > [INFO] +-
> >>>> > org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
> >>>> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
> >>>> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> >>>> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
> >>>> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> >>>> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> >>>> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
> >>>> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
> >>>> > [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
> >>>> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
> >>>> > [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [INFO] BUILD SUCCESS
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> > [INFO] Total time: 7.222 s
> >>>> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
> >>>> > [INFO] Final Memory: 22M/77M
> >>>> > [INFO]
> >>>> > ------------------------------------------------------------------------
> >>>> >
> >>>> >
> >>>> > Any idea?
> >>>> >
> >>>> > Thanks
> >>>> > Önder
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Zoran Regvart
> >>>>
> >>>
> >
> >
> >
> > --
> > Zoran Regvart
>
>
>
> --
> Zoran Regvart



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Yeah,
not too soon, I just realized that I rebased it wrongly, let me try to
fix that...

zoran

On Fri, Nov 2, 2018 at 2:03 PM, Zoran Regvart <zo...@regvart.com> wrote:
> Hi Önder and Cameers,
> I've just rebased and pushed additional changes on the `java-10-test`
> branch. With this it should be possible to run:
>
> `./mvnw -Pfastinstall clean install`
>
> on Java 11.
>
> since this is a milestone on getting Camel running on Java 11 I guess
> I'm going to celebrate this a bit with an adult beverage...
>
> zoran
>
> On Fri, Nov 2, 2018 at 9:42 AM, Zoran Regvart <zo...@regvart.com> wrote:
>> Hi Önder,
>> yeah I that would be it; I've not forgotten about this (read: still
>> rebasing), hopefully will get to the bottom of it today. I hit a snag
>> with Scala component, and it takes a long time for the build to run...
>>
>> zoran
>>
>> On Fri, Nov 2, 2018 at 8:22 AM, Onder SEZGIN <on...@apache.org> wrote:
>>> Hi Zoran,
>>> it is ok now. apparently as i was not doing full build, i should have
>>> installed parent/pom.xml otherwise camel-parent artifact from snapshot
>>> repository was retrieved where the maven property was missing.
>>> thanks.
>>>
>>> On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org> wrote:
>>>
>>>> I think it should have been defined. it is in paren/pom.xml.
>>>> Not sure why it is not detected.
>>>>
>>>> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com> wrote:
>>>>
>>>>> Hi Önder,
>>>>> looks like the `annotation-api-version` Maven property is not defined.
>>>>> Is this on the `java-10-test` branch? I must have missed it when
>>>>> rebasing on `master`, let me rebase and test locally now,
>>>>>
>>>>> zoran
>>>>>
>>>>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
>>>>> > Hi,
>>>>> >
>>>>> > Has anybody tried to build camel-core locally with JDK-11?
>>>>> >
>>>>> > First i got this error;
>>>>> >
>>>>> > [ERROR] Failed to execute goal
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>>>> > (validate) on project camel-core: Execution validate of goal
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>>>> > failed: A required class was missing while executing
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
>>>>> > javax/xml/bind/annotation/XmlTransient
>>>>> >
>>>>> > Then, i ran mvn clean install -Pfastinstall
>>>>> > inside tooling/maven/camel-package-maven-plugin.
>>>>> >
>>>>> > Later while trying to build camel-core, i got another error.
>>>>> >
>>>>> > [INFO] ---
>>>>> > camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>> > (components) @ camel-core ---
>>>>> > [WARNING] The POM for
>>>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
>>>>> > missing, no dependency information available
>>>>> > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
>>>>> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
>>>>> > ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
>>>>> > ConflictIdSorter.conflictIdCount=58,
>>>>> > ConflictIdSorter.conflictIdCycleCount=0,
>>>>> > ConflictResolver.totalTime=15833299,
>>>>> > ConflictResolver.conflictItemCount=107,
>>>>> > DefaultDependencyCollector.collectTime=343830160,
>>>>> > DefaultDependencyCollector.transformTime=16495156}
>>>>> > [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
>>>>> > [DEBUG]
>>>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>>>> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
>>>>> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
>>>>> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
>>>>> > [DEBUG]
>>>>> >  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>>>> > [DEBUG]
>>>>> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>>>> > [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>>>> > [DEBUG]
>>>>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>>>> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
>>>>> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
>>>>> > [DEBUG]
>>>>>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>>>> > [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>>>> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
>>>>> > [DEBUG]
>>>>> >  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>>>> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>>>> > [DEBUG]
>>>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>>>> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
>>>>> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
>>>>> > [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>>>> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>>>> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
>>>>> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>>>> > [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>>>> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
>>>>> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>>>> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>>>> > [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>>>> > [DEBUG]
>>>>> >  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>>>> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>>>> > [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>>>> > [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>>>> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
>>>>> > [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
>>>>> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>>>> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>>>> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
>>>>> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
>>>>> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>>>> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
>>>>> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
>>>>> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
>>>>> > [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>>>> > [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>>>> > [DEBUG]
>>>>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
>>>>> > [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
>>>>> > [DEBUG]
>>>>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
>>>>> > [DEBUG]
>>>>>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
>>>>> > [DEBUG]
>>>>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
>>>>> > [DEBUG]
>>>>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
>>>>> > [DEBUG]
>>>>> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
>>>>> > [DEBUG]
>>>>> >
>>>>> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
>>>>> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
>>>>> > [DEBUG]
>>>>> >
>>>>> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
>>>>> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>>>> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>>>> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>>>> > [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>>>> > [DEBUG] Could not find metadata
>>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>> in
>>>>> > local (/home/onders/.m2/repository)
>>>>> > [DEBUG] Failure to find
>>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>> in
>>>>> > http://repo1.maven.org/maven2 was cached in the local repository,
>>>>> > resolution will not be reattempted until the update interval of central
>>>>> has
>>>>> > elapsed or updates are forced
>>>>> > [DEBUG] Failure to find
>>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>> in
>>>>> > https://oss.sonatype.org/content/repositories/public/ was cached in the
>>>>> > local repository, resolution will not be reattempted until the update
>>>>> > interval of sonatype-public has elapsed or updates are forced
>>>>> > [DEBUG] Skipped remote request for
>>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>> > locally cached metadata up-to-date.
>>>>> > [DEBUG] Failure to find
>>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>> in
>>>>> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
>>>>> > local repository, resolution will not be reattempted until the update
>>>>> > interval of oss.jfrog.org-snapshots has elapsed or updates are forced
>>>>> > [DEBUG] Failure to find
>>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>>> in
>>>>> > https://jitpack.io was cached in the local repository, resolution will
>>>>> not
>>>>> > be reattempted until the update interval of jitpack.io has elapsed or
>>>>> > updates are forced
>>>>> > [DEBUG] Skipped remote request for
>>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>> > locally installed metadata up-to-date.
>>>>> > [DEBUG] Skipped remote request for
>>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>> > locally installed metadata up-to-date.
>>>>> > [DEBUG] Skipped remote request for
>>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>> > locally installed metadata up-to-date.
>>>>> > [DEBUG] Skipped remote request for
>>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>> > locally installed metadata up-to-date.
>>>>> > [DEBUG] Skipped remote request for
>>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>>> > locally installed metadata up-to-date.
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [INFO] BUILD FAILURE
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [INFO] Total time: 11.758 s
>>>>> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
>>>>> > [INFO] Final Memory: 19M/67M
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [ERROR] Failed to execute goal
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>> > (components) on project camel-core: Execution components of goal
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>> > failed: Plugin
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>>>> > or one of its dependencies could not be resolved: Failure to find
>>>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>>>> > http://repo1.maven.org/maven2 was cached in the local repository,
>>>>> > resolution will not be reattempted until the update interval of central
>>>>> has
>>>>> > elapsed or updates are forced -> [Help 1]
>>>>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>>> execute
>>>>> > goal
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>> > (components) on project camel-core: Execution components of goal
>>>>> >
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>>> > failed: Plugin
>>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>>>> > or one of its dependencies could not be resolved: Failure to find
>>>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>>>> > http://repo1.maven.org/m
>>>>> >
>>>>> >
>>>>> > However, while getting dependency tree for camel-package-maven-plugin,
>>>>> > there is no such error.
>>>>> >
>>>>> > [# camel-package-maven-plugin]$ mvn dependency:tree
>>>>> > [INFO] Scanning for projects...
>>>>> > [INFO]
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
>>>>> > 2.23.0-SNAPSHOT
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [INFO]
>>>>> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
>>>>> > camel-package-maven-plugin ---
>>>>> > [INFO]
>>>>> > org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
>>>>> > [INFO] +-
>>>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>>>> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
>>>>> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
>>>>> > [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
>>>>> > [INFO] |  +-
>>>>> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>>>> > [INFO] |  +-
>>>>> > org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
>>>>> > [INFO] |  |  \-
>>>>> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
>>>>> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
>>>>> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
>>>>> > [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
>>>>> > [INFO] |  +-
>>>>> > org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
>>>>> > [INFO] |  |  \-
>>>>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
>>>>> > [INFO] |  |     +-
>>>>> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
>>>>> > [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
>>>>> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
>>>>> > [INFO] |  +-
>>>>> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>>>> > [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>>>> > [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
>>>>> > [INFO] |  +-
>>>>> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
>>>>> > [INFO] |  +-
>>>>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>>>> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>>>>> > [INFO] |  +-
>>>>> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
>>>>> > [INFO] |  |  \-
>>>>> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
>>>>> > [INFO] |  +-
>>>>> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>>>> > [INFO] |  |  \-
>>>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
>>>>> > [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
>>>>> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
>>>>> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
>>>>> > [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>>>> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>>>> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
>>>>> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>>>> > [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>>>> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
>>>>> > [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>>>> > [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>>>> > [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>>>> > [INFO] |  +-
>>>>> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>>>> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>>>> > [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>>>> > [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>>>> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
>>>>> > [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
>>>>> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>>>> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>>>> > [INFO] +- commons-io:commons-io:jar:2.6:compile
>>>>> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
>>>>> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>>>> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
>>>>> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
>>>>> > [INFO] +- com.google.guava:guava:jar:19.0:compile
>>>>> > [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>>>> > [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>>>> > [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
>>>>> > [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
>>>>> > [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
>>>>> > [INFO] |  \-
>>>>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
>>>>> > [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
>>>>> > [INFO] |     +-
>>>>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
>>>>> > [INFO] |     \-
>>>>> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
>>>>> > [INFO] +-
>>>>> > org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
>>>>> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
>>>>> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
>>>>> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>>>> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>>>> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>>>> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
>>>>> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
>>>>> > [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
>>>>> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
>>>>> > [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [INFO] BUILD SUCCESS
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> > [INFO] Total time: 7.222 s
>>>>> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
>>>>> > [INFO] Final Memory: 22M/77M
>>>>> > [INFO]
>>>>> > ------------------------------------------------------------------------
>>>>> >
>>>>> >
>>>>> > Any idea?
>>>>> >
>>>>> > Thanks
>>>>> > Önder
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Zoran Regvart
>>>>>
>>>>
>>
>>
>>
>> --
>> Zoran Regvart
>
>
>
> --
> Zoran Regvart



-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder and Cameers,
I've just rebased and pushed additional changes on the `java-10-test`
branch. With this it should be possible to run:

`./mvnw -Pfastinstall clean install`

on Java 11.

since this is a milestone on getting Camel running on Java 11 I guess
I'm going to celebrate this a bit with an adult beverage...

zoran

On Fri, Nov 2, 2018 at 9:42 AM, Zoran Regvart <zo...@regvart.com> wrote:
> Hi Önder,
> yeah I that would be it; I've not forgotten about this (read: still
> rebasing), hopefully will get to the bottom of it today. I hit a snag
> with Scala component, and it takes a long time for the build to run...
>
> zoran
>
> On Fri, Nov 2, 2018 at 8:22 AM, Onder SEZGIN <on...@apache.org> wrote:
>> Hi Zoran,
>> it is ok now. apparently as i was not doing full build, i should have
>> installed parent/pom.xml otherwise camel-parent artifact from snapshot
>> repository was retrieved where the maven property was missing.
>> thanks.
>>
>> On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org> wrote:
>>
>>> I think it should have been defined. it is in paren/pom.xml.
>>> Not sure why it is not detected.
>>>
>>> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com> wrote:
>>>
>>>> Hi Önder,
>>>> looks like the `annotation-api-version` Maven property is not defined.
>>>> Is this on the `java-10-test` branch? I must have missed it when
>>>> rebasing on `master`, let me rebase and test locally now,
>>>>
>>>> zoran
>>>>
>>>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
>>>> > Hi,
>>>> >
>>>> > Has anybody tried to build camel-core locally with JDK-11?
>>>> >
>>>> > First i got this error;
>>>> >
>>>> > [ERROR] Failed to execute goal
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>>> > (validate) on project camel-core: Execution validate of goal
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>>> > failed: A required class was missing while executing
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
>>>> > javax/xml/bind/annotation/XmlTransient
>>>> >
>>>> > Then, i ran mvn clean install -Pfastinstall
>>>> > inside tooling/maven/camel-package-maven-plugin.
>>>> >
>>>> > Later while trying to build camel-core, i got another error.
>>>> >
>>>> > [INFO] ---
>>>> > camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>> > (components) @ camel-core ---
>>>> > [WARNING] The POM for
>>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
>>>> > missing, no dependency information available
>>>> > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
>>>> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
>>>> > ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
>>>> > ConflictIdSorter.conflictIdCount=58,
>>>> > ConflictIdSorter.conflictIdCycleCount=0,
>>>> > ConflictResolver.totalTime=15833299,
>>>> > ConflictResolver.conflictItemCount=107,
>>>> > DefaultDependencyCollector.collectTime=343830160,
>>>> > DefaultDependencyCollector.transformTime=16495156}
>>>> > [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
>>>> > [DEBUG]
>>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>>> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
>>>> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
>>>> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
>>>> > [DEBUG]
>>>> >  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>>> > [DEBUG]
>>>> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>>> > [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>>> > [DEBUG]
>>>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>>> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
>>>> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
>>>> > [DEBUG]
>>>>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>>> > [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>>> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
>>>> > [DEBUG]
>>>> >  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>>> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>>> > [DEBUG]
>>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>>> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
>>>> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
>>>> > [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>>> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>>> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
>>>> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>>> > [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>>> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
>>>> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>>> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>>> > [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>>> > [DEBUG]
>>>> >  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>>> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>>> > [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>>> > [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>>> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
>>>> > [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
>>>> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>>> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>>> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
>>>> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
>>>> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>>> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
>>>> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
>>>> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
>>>> > [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>>> > [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>>> > [DEBUG]
>>>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
>>>> > [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
>>>> > [DEBUG]
>>>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
>>>> > [DEBUG]
>>>>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
>>>> > [DEBUG]
>>>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
>>>> > [DEBUG]
>>>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
>>>> > [DEBUG]
>>>> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
>>>> > [DEBUG]
>>>> >
>>>> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
>>>> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
>>>> > [DEBUG]
>>>> >
>>>> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
>>>> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>>> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>>> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>>> > [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>>> > [DEBUG] Could not find metadata
>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>> in
>>>> > local (/home/onders/.m2/repository)
>>>> > [DEBUG] Failure to find
>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>> in
>>>> > http://repo1.maven.org/maven2 was cached in the local repository,
>>>> > resolution will not be reattempted until the update interval of central
>>>> has
>>>> > elapsed or updates are forced
>>>> > [DEBUG] Failure to find
>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>> in
>>>> > https://oss.sonatype.org/content/repositories/public/ was cached in the
>>>> > local repository, resolution will not be reattempted until the update
>>>> > interval of sonatype-public has elapsed or updates are forced
>>>> > [DEBUG] Skipped remote request for
>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>> > locally cached metadata up-to-date.
>>>> > [DEBUG] Failure to find
>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>> in
>>>> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
>>>> > local repository, resolution will not be reattempted until the update
>>>> > interval of oss.jfrog.org-snapshots has elapsed or updates are forced
>>>> > [DEBUG] Failure to find
>>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>>> in
>>>> > https://jitpack.io was cached in the local repository, resolution will
>>>> not
>>>> > be reattempted until the update interval of jitpack.io has elapsed or
>>>> > updates are forced
>>>> > [DEBUG] Skipped remote request for
>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>> > locally installed metadata up-to-date.
>>>> > [DEBUG] Skipped remote request for
>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>> > locally installed metadata up-to-date.
>>>> > [DEBUG] Skipped remote request for
>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>> > locally installed metadata up-to-date.
>>>> > [DEBUG] Skipped remote request for
>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>> > locally installed metadata up-to-date.
>>>> > [DEBUG] Skipped remote request for
>>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>>> > locally installed metadata up-to-date.
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [INFO] BUILD FAILURE
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [INFO] Total time: 11.758 s
>>>> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
>>>> > [INFO] Final Memory: 19M/67M
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [ERROR] Failed to execute goal
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>> > (components) on project camel-core: Execution components of goal
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>> > failed: Plugin
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>>> > or one of its dependencies could not be resolved: Failure to find
>>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>>> > http://repo1.maven.org/maven2 was cached in the local repository,
>>>> > resolution will not be reattempted until the update interval of central
>>>> has
>>>> > elapsed or updates are forced -> [Help 1]
>>>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>> execute
>>>> > goal
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>> > (components) on project camel-core: Execution components of goal
>>>> >
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>>> > failed: Plugin
>>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>>> > or one of its dependencies could not be resolved: Failure to find
>>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>>> > http://repo1.maven.org/m
>>>> >
>>>> >
>>>> > However, while getting dependency tree for camel-package-maven-plugin,
>>>> > there is no such error.
>>>> >
>>>> > [# camel-package-maven-plugin]$ mvn dependency:tree
>>>> > [INFO] Scanning for projects...
>>>> > [INFO]
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
>>>> > 2.23.0-SNAPSHOT
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [INFO]
>>>> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
>>>> > camel-package-maven-plugin ---
>>>> > [INFO]
>>>> > org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
>>>> > [INFO] +-
>>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>>> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
>>>> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
>>>> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
>>>> > [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
>>>> > [INFO] |  +-
>>>> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>>> > [INFO] |  +-
>>>> > org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
>>>> > [INFO] |  |  \-
>>>> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
>>>> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
>>>> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
>>>> > [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
>>>> > [INFO] |  +-
>>>> > org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
>>>> > [INFO] |  |  \-
>>>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
>>>> > [INFO] |  |     +-
>>>> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
>>>> > [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
>>>> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
>>>> > [INFO] |  +-
>>>> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>>> > [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>>> > [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>>> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
>>>> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
>>>> > [INFO] |  +-
>>>> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
>>>> > [INFO] |  +-
>>>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>>> > [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>>> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>>>> > [INFO] |  +-
>>>> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
>>>> > [INFO] |  |  \-
>>>> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
>>>> > [INFO] |  +-
>>>> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>>> > [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>>> > [INFO] |  |  \-
>>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>>> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
>>>> > [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
>>>> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
>>>> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
>>>> > [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>>> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>>> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
>>>> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>>> > [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>>> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
>>>> > [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>>> > [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>>> > [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>>> > [INFO] |  +-
>>>> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>>> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>>> > [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>>> > [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>>> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
>>>> > [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
>>>> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>>> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>>> > [INFO] +- commons-io:commons-io:jar:2.6:compile
>>>> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
>>>> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>>> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
>>>> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
>>>> > [INFO] +- com.google.guava:guava:jar:19.0:compile
>>>> > [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>>> > [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>>> > [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
>>>> > [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
>>>> > [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
>>>> > [INFO] |  \-
>>>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
>>>> > [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
>>>> > [INFO] |     +-
>>>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
>>>> > [INFO] |     \-
>>>> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
>>>> > [INFO] +-
>>>> > org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
>>>> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
>>>> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
>>>> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>>> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>>> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>>> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
>>>> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
>>>> > [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
>>>> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
>>>> > [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [INFO] BUILD SUCCESS
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> > [INFO] Total time: 7.222 s
>>>> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
>>>> > [INFO] Final Memory: 22M/77M
>>>> > [INFO]
>>>> > ------------------------------------------------------------------------
>>>> >
>>>> >
>>>> > Any idea?
>>>> >
>>>> > Thanks
>>>> > Önder
>>>>
>>>>
>>>>
>>>> --
>>>> Zoran Regvart
>>>>
>>>
>
>
>
> --
> Zoran Regvart



-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,
yeah I that would be it; I've not forgotten about this (read: still
rebasing), hopefully will get to the bottom of it today. I hit a snag
with Scala component, and it takes a long time for the build to run...

zoran

On Fri, Nov 2, 2018 at 8:22 AM, Onder SEZGIN <on...@apache.org> wrote:
> Hi Zoran,
> it is ok now. apparently as i was not doing full build, i should have
> installed parent/pom.xml otherwise camel-parent artifact from snapshot
> repository was retrieved where the maven property was missing.
> thanks.
>
> On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org> wrote:
>
>> I think it should have been defined. it is in paren/pom.xml.
>> Not sure why it is not detected.
>>
>> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com> wrote:
>>
>>> Hi Önder,
>>> looks like the `annotation-api-version` Maven property is not defined.
>>> Is this on the `java-10-test` branch? I must have missed it when
>>> rebasing on `master`, let me rebase and test locally now,
>>>
>>> zoran
>>>
>>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
>>> > Hi,
>>> >
>>> > Has anybody tried to build camel-core locally with JDK-11?
>>> >
>>> > First i got this error;
>>> >
>>> > [ERROR] Failed to execute goal
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>> > (validate) on project camel-core: Execution validate of goal
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>>> > failed: A required class was missing while executing
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
>>> > javax/xml/bind/annotation/XmlTransient
>>> >
>>> > Then, i ran mvn clean install -Pfastinstall
>>> > inside tooling/maven/camel-package-maven-plugin.
>>> >
>>> > Later while trying to build camel-core, i got another error.
>>> >
>>> > [INFO] ---
>>> > camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>> > (components) @ camel-core ---
>>> > [WARNING] The POM for
>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
>>> > missing, no dependency information available
>>> > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
>>> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
>>> > ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
>>> > ConflictIdSorter.conflictIdCount=58,
>>> > ConflictIdSorter.conflictIdCycleCount=0,
>>> > ConflictResolver.totalTime=15833299,
>>> > ConflictResolver.conflictItemCount=107,
>>> > DefaultDependencyCollector.collectTime=343830160,
>>> > DefaultDependencyCollector.transformTime=16495156}
>>> > [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
>>> > [DEBUG]
>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
>>> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
>>> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
>>> > [DEBUG]
>>> >  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>> > [DEBUG]
>>> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>> > [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>> > [DEBUG]
>>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
>>> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
>>> > [DEBUG]
>>>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>> > [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
>>> > [DEBUG]
>>> >  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>> > [DEBUG]
>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
>>> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
>>> > [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
>>> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>> > [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
>>> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>> > [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>> > [DEBUG]
>>> >  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>> > [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>> > [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
>>> > [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
>>> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
>>> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
>>> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
>>> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
>>> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
>>> > [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>> > [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>> > [DEBUG]
>>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
>>> > [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
>>> > [DEBUG]
>>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
>>> > [DEBUG]
>>>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
>>> > [DEBUG]
>>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
>>> > [DEBUG]
>>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
>>> > [DEBUG]
>>> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
>>> > [DEBUG]
>>> >
>>> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
>>> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
>>> > [DEBUG]
>>> >
>>> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
>>> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>> > [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>> > [DEBUG] Could not find metadata
>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>> in
>>> > local (/home/onders/.m2/repository)
>>> > [DEBUG] Failure to find
>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>> in
>>> > http://repo1.maven.org/maven2 was cached in the local repository,
>>> > resolution will not be reattempted until the update interval of central
>>> has
>>> > elapsed or updates are forced
>>> > [DEBUG] Failure to find
>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>> in
>>> > https://oss.sonatype.org/content/repositories/public/ was cached in the
>>> > local repository, resolution will not be reattempted until the update
>>> > interval of sonatype-public has elapsed or updates are forced
>>> > [DEBUG] Skipped remote request for
>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
>>> > locally cached metadata up-to-date.
>>> > [DEBUG] Failure to find
>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>> in
>>> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
>>> > local repository, resolution will not be reattempted until the update
>>> > interval of oss.jfrog.org-snapshots has elapsed or updates are forced
>>> > [DEBUG] Failure to find
>>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>>> in
>>> > https://jitpack.io was cached in the local repository, resolution will
>>> not
>>> > be reattempted until the update interval of jitpack.io has elapsed or
>>> > updates are forced
>>> > [DEBUG] Skipped remote request for
>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>> > locally installed metadata up-to-date.
>>> > [DEBUG] Skipped remote request for
>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>> > locally installed metadata up-to-date.
>>> > [DEBUG] Skipped remote request for
>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>> > locally installed metadata up-to-date.
>>> > [DEBUG] Skipped remote request for
>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>> > locally installed metadata up-to-date.
>>> > [DEBUG] Skipped remote request for
>>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>>> > locally installed metadata up-to-date.
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Total time: 11.758 s
>>> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
>>> > [INFO] Final Memory: 19M/67M
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [ERROR] Failed to execute goal
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>> > (components) on project camel-core: Execution components of goal
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>> > failed: Plugin
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>> > or one of its dependencies could not be resolved: Failure to find
>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>> > http://repo1.maven.org/maven2 was cached in the local repository,
>>> > resolution will not be reattempted until the update interval of central
>>> has
>>> > elapsed or updates are forced -> [Help 1]
>>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>> execute
>>> > goal
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>> > (components) on project camel-core: Execution components of goal
>>> >
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>>> > failed: Plugin
>>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>>> > or one of its dependencies could not be resolved: Failure to find
>>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>>> > http://repo1.maven.org/m
>>> >
>>> >
>>> > However, while getting dependency tree for camel-package-maven-plugin,
>>> > there is no such error.
>>> >
>>> > [# camel-package-maven-plugin]$ mvn dependency:tree
>>> > [INFO] Scanning for projects...
>>> > [INFO]
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
>>> > 2.23.0-SNAPSHOT
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO]
>>> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
>>> > camel-package-maven-plugin ---
>>> > [INFO]
>>> > org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
>>> > [INFO] +-
>>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>>> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
>>> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
>>> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
>>> > [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
>>> > [INFO] |  +-
>>> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>>> > [INFO] |  +-
>>> > org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
>>> > [INFO] |  |  \-
>>> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
>>> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
>>> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
>>> > [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
>>> > [INFO] |  +-
>>> > org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
>>> > [INFO] |  |  \-
>>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
>>> > [INFO] |  |     +-
>>> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
>>> > [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
>>> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
>>> > [INFO] |  +-
>>> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>>> > [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>>> > [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>>> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
>>> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
>>> > [INFO] |  +-
>>> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
>>> > [INFO] |  +-
>>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>>> > [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>>> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>>> > [INFO] |  +-
>>> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
>>> > [INFO] |  |  \-
>>> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
>>> > [INFO] |  +-
>>> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>>> > [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>>> > [INFO] |  |  \-
>>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>>> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
>>> > [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
>>> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
>>> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
>>> > [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>>> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>>> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
>>> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>>> > [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>>> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
>>> > [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>>> > [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>>> > [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>>> > [INFO] |  +-
>>> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>>> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>>> > [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>>> > [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>>> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
>>> > [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
>>> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>>> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>>> > [INFO] +- commons-io:commons-io:jar:2.6:compile
>>> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
>>> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>>> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
>>> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
>>> > [INFO] +- com.google.guava:guava:jar:19.0:compile
>>> > [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>>> > [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>>> > [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
>>> > [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
>>> > [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
>>> > [INFO] |  \-
>>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
>>> > [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
>>> > [INFO] |     +-
>>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
>>> > [INFO] |     \-
>>> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
>>> > [INFO] +-
>>> > org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
>>> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
>>> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
>>> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
>>> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>>> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>>> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
>>> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
>>> > [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
>>> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
>>> > [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] BUILD SUCCESS
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Total time: 7.222 s
>>> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
>>> > [INFO] Final Memory: 22M/77M
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> >
>>> >
>>> > Any idea?
>>> >
>>> > Thanks
>>> > Önder
>>>
>>>
>>>
>>> --
>>> Zoran Regvart
>>>
>>



-- 
Zoran Regvart

Re: build camel-core JDK 11

Posted by Onder SEZGIN <on...@apache.org>.
Hi Zoran,
it is ok now. apparently as i was not doing full build, i should have
installed parent/pom.xml otherwise camel-parent artifact from snapshot
repository was retrieved where the maven property was missing.
thanks.

On Thu, Nov 1, 2018 at 2:38 PM Onder SEZGIN <on...@apache.org> wrote:

> I think it should have been defined. it is in paren/pom.xml.
> Not sure why it is not detected.
>
> On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com> wrote:
>
>> Hi Önder,
>> looks like the `annotation-api-version` Maven property is not defined.
>> Is this on the `java-10-test` branch? I must have missed it when
>> rebasing on `master`, let me rebase and test locally now,
>>
>> zoran
>>
>> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
>> > Hi,
>> >
>> > Has anybody tried to build camel-core locally with JDK-11?
>> >
>> > First i got this error;
>> >
>> > [ERROR] Failed to execute goal
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>> > (validate) on project camel-core: Execution validate of goal
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
>> > failed: A required class was missing while executing
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
>> > javax/xml/bind/annotation/XmlTransient
>> >
>> > Then, i ran mvn clean install -Pfastinstall
>> > inside tooling/maven/camel-package-maven-plugin.
>> >
>> > Later while trying to build camel-core, i got another error.
>> >
>> > [INFO] ---
>> > camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>> > (components) @ camel-core ---
>> > [WARNING] The POM for
>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
>> > missing, no dependency information available
>> > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
>> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
>> > ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
>> > ConflictIdSorter.conflictIdCount=58,
>> > ConflictIdSorter.conflictIdCycleCount=0,
>> > ConflictResolver.totalTime=15833299,
>> > ConflictResolver.conflictItemCount=107,
>> > DefaultDependencyCollector.collectTime=343830160,
>> > DefaultDependencyCollector.transformTime=16495156}
>> > [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
>> > [DEBUG]
>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
>> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
>> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
>> > [DEBUG]
>> >  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>> > [DEBUG]
>> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>> > [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>> > [DEBUG]
>> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
>> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
>> > [DEBUG]
>>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>> > [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
>> > [DEBUG]
>> >  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>> > [DEBUG]
>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
>> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
>> > [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
>> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>> > [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
>> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>> > [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>> > [DEBUG]
>> >  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>> > [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>> > [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
>> > [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
>> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
>> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
>> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
>> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
>> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
>> > [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>> > [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>> > [DEBUG]
>> org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
>> > [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
>> > [DEBUG]
>> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
>> > [DEBUG]
>>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
>> > [DEBUG]
>> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
>> > [DEBUG]
>> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
>> > [DEBUG]
>> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
>> > [DEBUG]
>> >
>> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
>> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
>> > [DEBUG]
>> >
>> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
>> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
>> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>> > [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>> > [DEBUG] Could not find metadata
>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>> in
>> > local (/home/onders/.m2/repository)
>> > [DEBUG] Failure to find
>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>> in
>> > http://repo1.maven.org/maven2 was cached in the local repository,
>> > resolution will not be reattempted until the update interval of central
>> has
>> > elapsed or updates are forced
>> > [DEBUG] Failure to find
>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>> in
>> > https://oss.sonatype.org/content/repositories/public/ was cached in the
>> > local repository, resolution will not be reattempted until the update
>> > interval of sonatype-public has elapsed or updates are forced
>> > [DEBUG] Skipped remote request for
>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
>> > locally cached metadata up-to-date.
>> > [DEBUG] Failure to find
>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>> in
>> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
>> > local repository, resolution will not be reattempted until the update
>> > interval of oss.jfrog.org-snapshots has elapsed or updates are forced
>> > [DEBUG] Failure to find
>> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
>> in
>> > https://jitpack.io was cached in the local repository, resolution will
>> not
>> > be reattempted until the update interval of jitpack.io has elapsed or
>> > updates are forced
>> > [DEBUG] Skipped remote request for
>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>> > locally installed metadata up-to-date.
>> > [DEBUG] Skipped remote request for
>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>> > locally installed metadata up-to-date.
>> > [DEBUG] Skipped remote request for
>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>> > locally installed metadata up-to-date.
>> > [DEBUG] Skipped remote request for
>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>> > locally installed metadata up-to-date.
>> > [DEBUG] Skipped remote request for
>> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
>> > locally installed metadata up-to-date.
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 11.758 s
>> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
>> > [INFO] Final Memory: 19M/67M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>> > (components) on project camel-core: Execution components of goal
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>> > failed: Plugin
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>> > or one of its dependencies could not be resolved: Failure to find
>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>> > http://repo1.maven.org/maven2 was cached in the local repository,
>> > resolution will not be reattempted until the update interval of central
>> has
>> > elapsed or updates are forced -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute
>> > goal
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>> > (components) on project camel-core: Execution components of goal
>> >
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
>> > failed: Plugin
>> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
>> > or one of its dependencies could not be resolved: Failure to find
>> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
>> > http://repo1.maven.org/m
>> >
>> >
>> > However, while getting dependency tree for camel-package-maven-plugin,
>> > there is no such error.
>> >
>> > [# camel-package-maven-plugin]$ mvn dependency:tree
>> > [INFO] Scanning for projects...
>> > [INFO]
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
>> > 2.23.0-SNAPSHOT
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO]
>> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
>> > camel-package-maven-plugin ---
>> > [INFO]
>> > org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
>> > [INFO] +-
>> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
>> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
>> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
>> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
>> > [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
>> > [INFO] |  +-
>> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
>> > [INFO] |  +-
>> > org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
>> > [INFO] |  |  \-
>> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
>> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
>> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
>> > [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
>> > [INFO] |  +-
>> > org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
>> > [INFO] |  |  \-
>> org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
>> > [INFO] |  |     +-
>> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
>> > [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
>> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
>> > [INFO] |  +-
>> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
>> > [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
>> > [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
>> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
>> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
>> > [INFO] |  +-
>> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
>> > [INFO] |  +-
>> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
>> > [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
>> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>> > [INFO] |  +-
>> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
>> > [INFO] |  |  \-
>> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
>> > [INFO] |  +-
>> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
>> > [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
>> > [INFO] |  |  \-
>> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
>> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
>> > [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
>> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
>> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
>> > [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
>> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
>> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
>> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
>> > [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
>> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
>> > [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
>> > [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
>> > [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
>> > [INFO] |  +-
>> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
>> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
>> > [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
>> > [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
>> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
>> > [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
>> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
>> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
>> > [INFO] +- commons-io:commons-io:jar:2.6:compile
>> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
>> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
>> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
>> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
>> > [INFO] +- com.google.guava:guava:jar:19.0:compile
>> > [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
>> > [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
>> > [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
>> > [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
>> > [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
>> > [INFO] |  \-
>> org.springframework:spring-context:jar:5.1.0.RELEASE:compile
>> > [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
>> > [INFO] |     +-
>> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
>> > [INFO] |     \-
>> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
>> > [INFO] +-
>> > org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
>> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
>> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
>> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
>> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
>> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
>> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
>> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
>> > [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
>> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
>> > [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 7.222 s
>> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
>> > [INFO] Final Memory: 22M/77M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> >
>> >
>> > Any idea?
>> >
>> > Thanks
>> > Önder
>>
>>
>>
>> --
>> Zoran Regvart
>>
>

Re: build camel-core JDK 11

Posted by Onder SEZGIN <on...@apache.org>.
I think it should have been defined. it is in paren/pom.xml.
Not sure why it is not detected.

On Thu, Nov 1, 2018 at 12:08 PM Zoran Regvart <zo...@regvart.com> wrote:

> Hi Önder,
> looks like the `annotation-api-version` Maven property is not defined.
> Is this on the `java-10-test` branch? I must have missed it when
> rebasing on `master`, let me rebase and test locally now,
>
> zoran
>
> On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
> > Hi,
> >
> > Has anybody tried to build camel-core locally with JDK-11?
> >
> > First i got this error;
> >
> > [ERROR] Failed to execute goal
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> > (validate) on project camel-core: Execution validate of goal
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> > failed: A required class was missing while executing
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
> > javax/xml/bind/annotation/XmlTransient
> >
> > Then, i ran mvn clean install -Pfastinstall
> > inside tooling/maven/camel-package-maven-plugin.
> >
> > Later while trying to build camel-core, i got another error.
> >
> > [INFO] ---
> > camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > (components) @ camel-core ---
> > [WARNING] The POM for
> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
> > missing, no dependency information available
> > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
> > ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
> > ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
> > ConflictIdSorter.conflictIdCount=58,
> > ConflictIdSorter.conflictIdCycleCount=0,
> > ConflictResolver.totalTime=15833299,
> > ConflictResolver.conflictItemCount=107,
> > DefaultDependencyCollector.collectTime=343830160,
> > DefaultDependencyCollector.transformTime=16495156}
> > [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
> > [DEBUG]
> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> > [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
> > [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
> > [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
> > [DEBUG]
> >  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> > [DEBUG]
> >  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> > [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> > [DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> > [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
> > [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
> > [DEBUG]
>  org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> > [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> > [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
> > [DEBUG]
> >  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> > [DEBUG]
> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> > [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
> > [DEBUG]       classworlds:classworlds:jar:1.1:compile
> > [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> > [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> > [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> > [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> > [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> > [DEBUG]
> >  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> > [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> > [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> > [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> > [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
> > [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> > [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> > [DEBUG]    commons-io:commons-io:jar:2.6:compile
> > [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
> > [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> > [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
> > [DEBUG]       com.beust:jcommander:jar:1.35:runtime
> > [DEBUG]    com.google.guava:guava:jar:19.0:compile
> > [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> > [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> > [DEBUG]    org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
> > [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
> > [DEBUG]
> org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
> > [DEBUG]
>  org.springframework:spring-context:jar:5.0.10.RELEASE:compile
> > [DEBUG]
> org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
> > [DEBUG]
> org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
> > [DEBUG]
> > org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
> > [DEBUG]
> >
> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
> > [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
> > [DEBUG]
> >
> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
> > [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
> > [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> > [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> > [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> > [DEBUG] Could not find metadata
> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> in
> > local (/home/onders/.m2/repository)
> > [DEBUG] Failure to find
> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> in
> > http://repo1.maven.org/maven2 was cached in the local repository,
> > resolution will not be reattempted until the update interval of central
> has
> > elapsed or updates are forced
> > [DEBUG] Failure to find
> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> in
> > https://oss.sonatype.org/content/repositories/public/ was cached in the
> > local repository, resolution will not be reattempted until the update
> > interval of sonatype-public has elapsed or updates are forced
> > [DEBUG] Skipped remote request for
> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
> > locally cached metadata up-to-date.
> > [DEBUG] Failure to find
> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> in
> > https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
> > local repository, resolution will not be reattempted until the update
> > interval of oss.jfrog.org-snapshots has elapsed or updates are forced
> > [DEBUG] Failure to find
> > org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml
> in
> > https://jitpack.io was cached in the local repository, resolution will
> not
> > be reattempted until the update interval of jitpack.io has elapsed or
> > updates are forced
> > [DEBUG] Skipped remote request for
> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > locally installed metadata up-to-date.
> > [DEBUG] Skipped remote request for
> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > locally installed metadata up-to-date.
> > [DEBUG] Skipped remote request for
> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > locally installed metadata up-to-date.
> > [DEBUG] Skipped remote request for
> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > locally installed metadata up-to-date.
> > [DEBUG] Skipped remote request for
> > org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> > locally installed metadata up-to-date.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 11.758 s
> > [INFO] Finished at: 2018-10-31T22:00:24-04:00
> > [INFO] Final Memory: 19M/67M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > (components) on project camel-core: Execution components of goal
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > failed: Plugin
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> > or one of its dependencies could not be resolved: Failure to find
> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> > http://repo1.maven.org/maven2 was cached in the local repository,
> > resolution will not be reattempted until the update interval of central
> has
> > elapsed or updates are forced -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > (components) on project camel-core: Execution components of goal
> >
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> > failed: Plugin
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> > or one of its dependencies could not be resolved: Failure to find
> > javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> > http://repo1.maven.org/m
> >
> >
> > However, while getting dependency tree for camel-package-maven-plugin,
> > there is no such error.
> >
> > [# camel-package-maven-plugin]$ mvn dependency:tree
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
> > 2.23.0-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
> > camel-package-maven-plugin ---
> > [INFO]
> > org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
> > [INFO] +-
> org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> > [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
> > [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
> > [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
> > [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
> > [INFO] |  +-
> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> > [INFO] |  +-
> > org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
> > [INFO] |  |  \-
> > org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
> > [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
> > [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
> > [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
> > [INFO] |  +-
> > org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
> > [INFO] |  |  \- org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
> > [INFO] |  |     +-
> > org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
> > [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
> > [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
> > [INFO] |  +-
> > org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> > [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> > [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> > [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
> > [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
> > [INFO] |  +-
> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
> > [INFO] |  +- org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> > [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> > [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
> > [INFO] |  +-
> > org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
> > [INFO] |  |  \-
> > org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
> > [INFO] |  +-
> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> > [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> > [INFO] |  |  \-
> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> > [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
> > [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
> > [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
> > [INFO] |  +- classworlds:classworlds:jar:1.1:compile
> > [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> > [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> > [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
> > [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> > [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> > [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
> > [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> > [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> > [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> > [INFO] |  +-
> > org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> > [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> > [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> > [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> > [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
> > [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
> > [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> > [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> > [INFO] +- commons-io:commons-io:jar:2.6:compile
> > [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
> > [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> > [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
> > [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
> > [INFO] +- com.google.guava:guava:jar:19.0:compile
> > [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> > [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> > [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
> > [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
> > [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
> > [INFO] |  \- org.springframework:spring-context:jar:5.1.0.RELEASE:compile
> > [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
> > [INFO] |     +-
> org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
> > [INFO] |     \-
> > org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
> > [INFO] +-
> > org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
> > [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
> > [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> > [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
> > [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> > [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> > [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
> > [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
> > [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
> > [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
> > [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 7.222 s
> > [INFO] Finished at: 2018-10-31T22:05:17-04:00
> > [INFO] Final Memory: 22M/77M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > Any idea?
> >
> > Thanks
> > Önder
>
>
>
> --
> Zoran Regvart
>

Re: build camel-core JDK 11

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,
looks like the `annotation-api-version` Maven property is not defined.
Is this on the `java-10-test` branch? I must have missed it when
rebasing on `master`, let me rebase and test locally now,

zoran

On Thu, Nov 1, 2018 at 3:19 AM, Onder SEZGIN <on...@apache.org> wrote:
> Hi,
>
> Has anybody tried to build camel-core locally with JDK-11?
>
> First i got this error;
>
> [ERROR] Failed to execute goal
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> (validate) on project camel-core: Execution validate of goal
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> failed: A required class was missing while executing
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
> javax/xml/bind/annotation/XmlTransient
>
> Then, i ran mvn clean install -Pfastinstall
> inside tooling/maven/camel-package-maven-plugin.
>
> Later while trying to build camel-core, i got another error.
>
> [INFO] ---
> camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> (components) @ camel-core ---
> [WARNING] The POM for
> javax.annotation:javax.annotation-api:jar:${annotation-api-version} is
> missing, no dependency information available
> [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=155216,
> ConflictMarker.markTime=138430, ConflictMarker.nodeCount=155,
> ConflictIdSorter.graphTime=86832, ConflictIdSorter.topsortTime=122681,
> ConflictIdSorter.conflictIdCount=58,
> ConflictIdSorter.conflictIdCycleCount=0,
> ConflictResolver.totalTime=15833299,
> ConflictResolver.conflictItemCount=107,
> DefaultDependencyCollector.collectTime=343830160,
> DefaultDependencyCollector.transformTime=16495156}
> [DEBUG] org.apache.camel:camel-package-maven-plugin:jar:2.23.0-SNAPSHOT:
> [DEBUG]    org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> [DEBUG]    com.github.mvel:mvel:jar:97071e83fb:compile
> [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
> [DEBUG]
>  org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> [DEBUG]
>  org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> [DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
> [DEBUG]
>  org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> [DEBUG]
> backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
> [DEBUG]       classworlds:classworlds:jar:1.1:compile
> [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
> [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> [DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> [DEBUG]
>  org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> [DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> [DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> [DEBUG]       org.apache.xbean:xbean-reflect:jar:3.7:compile
> [DEBUG]       com.google.collections:google-collections:jar:1.0:compile
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> [DEBUG]    commons-io:commons-io:jar:2.6:compile
> [DEBUG]    com.google.code.gson:gson:jar:2.8.5:compile
> [DEBUG]    org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> [DEBUG]       org.jruby:jruby-complete:jar:1.7.18:runtime
> [DEBUG]       com.beust:jcommander:jar:1.35:runtime
> [DEBUG]    com.google.guava:guava:jar:19.0:compile
> [DEBUG]    org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> [DEBUG]    org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> [DEBUG]    org.springframework.boot:spring-boot:jar:2.0.6.RELEASE:compile
> [DEBUG]       org.springframework:spring-core:jar:5.0.10.RELEASE:compile
> [DEBUG]          org.springframework:spring-jcl:jar:5.0.10.RELEASE:compile
> [DEBUG]       org.springframework:spring-context:jar:5.0.10.RELEASE:compile
> [DEBUG]          org.springframework:spring-aop:jar:5.0.10.RELEASE:compile
> [DEBUG]          org.springframework:spring-beans:jar:5.0.10.RELEASE:compile
> [DEBUG]
> org.springframework:spring-expression:jar:5.0.10.RELEASE:compile
> [DEBUG]
> org.springframework.boot:spring-boot-autoconfigure:jar:2.0.6.RELEASE:compile
> [DEBUG]    org.freemarker:freemarker:jar:2.3.28:compile
> [DEBUG]
> javax.annotation:javax.annotation-api:jar:${annotation-api-version}:compile
> [DEBUG]    javax.xml.bind:jaxb-api:jar:2.3.0:compile
> [DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> [DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> [DEBUG]    org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> [DEBUG] Could not find metadata
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
> local (/home/onders/.m2/repository)
> [DEBUG] Failure to find
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced
> [DEBUG] Failure to find
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
> https://oss.sonatype.org/content/repositories/public/ was cached in the
> local repository, resolution will not be reattempted until the update
> interval of sonatype-public has elapsed or updates are forced
> [DEBUG] Skipped remote request for
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml,
> locally cached metadata up-to-date.
> [DEBUG] Failure to find
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
> https://oss.jfrog.org/artifactory/oss-snapshot-local/ was cached in the
> local repository, resolution will not be reattempted until the update
> interval of oss.jfrog.org-snapshots has elapsed or updates are forced
> [DEBUG] Failure to find
> org.apache.camel:json-simple-ordered:2.23.0-SNAPSHOT/maven-metadata.xml in
> https://jitpack.io was cached in the local repository, resolution will not
> be reattempted until the update interval of jitpack.io has elapsed or
> updates are forced
> [DEBUG] Skipped remote request for
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> locally installed metadata up-to-date.
> [DEBUG] Skipped remote request for
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> locally installed metadata up-to-date.
> [DEBUG] Skipped remote request for
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> locally installed metadata up-to-date.
> [DEBUG] Skipped remote request for
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> locally installed metadata up-to-date.
> [DEBUG] Skipped remote request for
> org.apache.camel:spi-annotations:2.23.0-SNAPSHOT/maven-metadata.xml,
> locally installed metadata up-to-date.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11.758 s
> [INFO] Finished at: 2018-10-31T22:00:24-04:00
> [INFO] Final Memory: 19M/67M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> (components) on project camel-core: Execution components of goal
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> failed: Plugin org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> or one of its dependencies could not be resolved: Failure to find
> javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> (components) on project camel-core: Execution components of goal
> org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT:generate-components-list
> failed: Plugin org.apache.camel:camel-package-maven-plugin:2.23.0-SNAPSHOT
> or one of its dependencies could not be resolved: Failure to find
> javax.annotation:javax.annotation-api:jar:${annotation-api-version} in
> http://repo1.maven.org/m
>
>
> However, while getting dependency tree for camel-package-maven-plugin,
> there is no such error.
>
> [# camel-package-maven-plugin]$ mvn dependency:tree
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Camel :: Maven Plugins :: Camel Maven Package
> 2.23.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
> camel-package-maven-plugin ---
> [INFO]
> org.apache.camel:camel-package-maven-plugin:maven-plugin:2.23.0-SNAPSHOT
> [INFO] +- org.apache.camel:json-simple-ordered:jar:2.23.0-SNAPSHOT:compile
> [INFO] +- com.github.mvel:mvel:jar:97071e83fb:compile
> [INFO] +- org.apache.maven:maven-core:jar:2.2.1:compile
> [INFO] |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
> [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
> [INFO] |  +-
> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> [INFO] |  +-
> org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
> [INFO] |  |  \-
> org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
> [INFO] |  |     +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
> [INFO] |  |     \- nekohtml:nekohtml:jar:1.9.6.2:compile
> [INFO] |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
> [INFO] |  +-
> org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
> [INFO] |  |  \- org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
> [INFO] |  |     +-
> org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
> [INFO] |  |     \- commons-httpclient:commons-httpclient:jar:3.1:runtime
> [INFO] |  |        \- commons-codec:commons-codec:jar:1.11:runtime
> [INFO] |  +-
> org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> [INFO] |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> [INFO] |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> [INFO] |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
> [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
> [INFO] |  +-
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
> [INFO] |  +- org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> [INFO] |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
> [INFO] |  +-
> org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
> [INFO] |  |  \-
> org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
> [INFO] |  +-
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> [INFO] |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> [INFO] |  |  \-
> backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> [INFO] |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
> [INFO] |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
> [INFO] |  |  \- com.jcraft:jsch:jar:0.1.38:compile
> [INFO] |  +- classworlds:classworlds:jar:1.1:compile
> [INFO] |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> [INFO] |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> [INFO] +- org.apache.maven:maven-artifact:jar:2.2.1:compile
> [INFO] +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> [INFO] +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> [INFO] +- org.apache.maven:maven-project:jar:2.2.1:compile
> [INFO] |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> [INFO] |  \- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> [INFO] +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
> [INFO] |  +-
> org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
> [INFO] |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
> [INFO] +- org.codehaus.plexus:plexus-container-default:jar:1.6:compile
> [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
> [INFO] |  +- org.apache.xbean:xbean-reflect:jar:3.7:compile
> [INFO] |  \- com.google.collections:google-collections:jar:1.0:compile
> [INFO] +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
> [INFO] +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
> [INFO] +- commons-io:commons-io:jar:2.6:compile
> [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
> [INFO] +- org.asciidoctor:asciidoctorj:jar:1.5.6:compile
> [INFO] |  +- org.jruby:jruby-complete:jar:1.7.18:runtime
> [INFO] |  \- com.beust:jcommander:jar:1.35:runtime
> [INFO] +- com.google.guava:guava:jar:19.0:compile
> [INFO] +- org.jboss.forge.roaster:roaster-api:jar:2.20.1.Final:compile
> [INFO] +- org.jboss.forge.roaster:roaster-jdt:jar:2.20.1.Final:compile
> [INFO] +- org.springframework.boot:spring-boot:jar:2.1.0.M4:compile
> [INFO] |  +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile
> [INFO] |  |  \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile
> [INFO] |  \- org.springframework:spring-context:jar:5.1.0.RELEASE:compile
> [INFO] |     +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile
> [INFO] |     +- org.springframework:spring-beans:jar:5.1.0.RELEASE:compile
> [INFO] |     \-
> org.springframework:spring-expression:jar:5.1.0.RELEASE:compile
> [INFO] +-
> org.springframework.boot:spring-boot-autoconfigure:jar:2.1.0.M4:compile
> [INFO] +- org.freemarker:freemarker:jar:2.3.28:compile
> [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> [INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile
> [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
> [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
> [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.11.1:test
> [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.11.1:test
> [INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.1:test
> [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.25:runtime
> [INFO] \- org.apache.camel:spi-annotations:jar:2.23.0-SNAPSHOT:compile
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7.222 s
> [INFO] Finished at: 2018-10-31T22:05:17-04:00
> [INFO] Final Memory: 22M/77M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Any idea?
>
> Thanks
> Önder



-- 
Zoran Regvart