Re: [HEADS UP] - Camel Maven Plugin can now parse your source code and report invalid endpoints
Hello, Looking forward to try this out! Best Souciance On Fri, Dec 9, 2016 at 9:51 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5791290...@n5.nabble.com> wrote: > 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 > > > -------------- > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/HEADS-UP-Camel-Maven- > Plugin-can-now-parse-your-source-code-and-report- > invalid-endpoints-tp5791290.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=465428=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/Re-HEADS-UP-Camel-Maven-Plugin-can-now-parse-your-source-code-and-report-invalid-endpoints-tp5791292.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: [HEADS UP] - Camel Maven Plugin can now parse your source code and report invalid endpoints
Great work! Thanks! -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Friday, December 9, 2016 9:51 AM, Claus Ibsenwrote: 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
[HEADS UP] - Camel Maven Plugin can now parse your source code and report invalid endpoints
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