GitHub user PascalSchumacher opened a pull request:
https://github.com/apache/camel/pull/2284
CAMEL-10905: Make camel-grape work on java 9 by replacing Groovy Ecliâ¦
â¦pse Compiler with GMavenPlus
Not ready to merge!
The groovy-eclipse-compiler plugin is dead (last release in 2015) and
https://github.com/groovy/groovy-eclipse/issues/265 was closed with being
resolved.
With GMavenPlus `mvn clean test` works on Java 8 and 9. But when I run `mvn
package` I get this error:
```
[INFO] --- camel-package-maven-plugin:2.22.0-SNAPSHOT:validate-components
(validate) @ camel-grape ---
[WARNING] The component: grape has validation errors
[WARNING] Missing @UriPath on endpoint
[WARNING] Missing component documentation for the following options:
metaClass
patchesRepository
```
Any help with this would be greatly appreciated.
With GMavenPlus is should also be possible to make `camel-groovy` and
`camel-example-groovy` build on Java 9.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PascalSchumacher/camel
CAMEL-10905_groovy_java9
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2284.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 #2284
----
commit e5e38ce7cbac093015eb300a26002b47f6eb52f7
Author: Pascal Schumacher <pascalschumacher@...>
Date: 2018-04-09T18:35:28Z
CAMEL-10905: Make camel-grape work on java 9 by replacing Groovy Eclipse
Compiler with GMavenPlus
----
---