camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject [HEADS UP] - Camel Maven Plugin can now parse your source code and report invalid endpoints
Date Fri, 09 Dec 2016 08:50:59 GMT
Hi

Just a heads up about a new functionality coming in Camel 2.19.

I wrote a blog entry about it
http://www.davsclaus.com/2016/12/camel-maven-plugin-can-now-parse-your.html

You can find the documentation for the plugin at
https://github.com/apache/camel/blob/master/tooling/maven/camel-maven-plugin/src/main/docs/camel-maven-plugin.adoc

And we have enabled this on the Camel source code itself, where you
can run it at these maven modules

cd camel-core
mvn camel:validate -Pvalidate

cd components
mvn camel:validate -Pvalidate

cd tests/camel-itests
mvn camel:validate -Pvalidate

cd examples
mvn camel:validate -Pvalidate


The tooling uses the camel-route-parser
https://github.com/apache/camel/tree/master/tooling/camel-route-parser

Which can scan both java and xml routes.
Because people can write their java routes in endless ways, then the
parser may need a little nudge / improvement here and there if people
"draw outside the lines". However anyone who feels adventures is
welcome to help improve the parser, or report issues the find.



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

Mime
View raw message