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 <[email protected]> wrote:

On Fri, Nov 2, 2018 at 2:04 PM Zoran Regvart <[email protected]> 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 <[email protected]> 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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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


Reply via email to