[
https://issues.apache.org/jira/browse/CAMEL-11166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976357#comment-15976357
]
ASF GitHub Bot commented on CAMEL-11166:
----------------------------------------
GitHub user zregvart opened a pull request:
https://github.com/apache/camel/pull/1643
CAMEL-11166 make camel-package-maven-plugin work on Java 9
I propose a different solution to
[CAMEL-11166](https://issues.apache.org/jira/browse/CAMEL-11166). @johnpoth and
@davsclaus can you take a look, thanks 🥇
This changes the dependency to `javax.annotation:javax.annotation-api:1.3`
from `javax.xml.ws:jaxws-api:2.2.11` to have a smaller footprint, and places
the dependency on the plugin instead of in the parent POM.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zregvart/camel CAMEL-11166
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1643.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1643
----
commit 0b5b3f71f61c1236e5100d3953c958bbc28e0fc1
Author: Zoran Regvart <[email protected]>
Date: 2017-04-20T09:04:01Z
CAMEL-11166 make camel-package-maven-plugin wor...
...k on Java 9
This changes the dependency to
`javax.annotation:javax.annotation-api:1.3` from
`javax.xml.ws:jaxws-api:2.2.11` to have a smaller footprint, and places
the dependency on the plugin instead of in the parent POM.
----
> @Generated annotation and java 9 problem
> ----------------------------------------
>
> Key: CAMEL-11166
> URL: https://issues.apache.org/jira/browse/CAMEL-11166
> Project: Camel
> Issue Type: Task
> Reporter: Claus Ibsen
> Assignee: John Poth
>
> Just noticed this on the JDK9 build
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal
> org.apache.camel:camel-package-maven-plugin:2.19.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> (validate) on project camel-core: Execution validate of goal
> org.apache.camel:camel-package-maven-plugin:2.19.0-SNAPSHOT:prepare-spring-boot-auto-configuration
> failed: A required class was missing while executing
> org.apache.camel:camel-package-maven-plugin:2.19.0-SNAPSHOT:prepare-spring-boot-auto-configuration:
> javax/annotation/Generated
> [~jpoth] do you have time to help look into this?
> It fails when building camel-core due a recent addition of adding
> `@generated` annotation to the generated source code for spring-boot starters
> and whatnot.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)