[ https://issues.apache.org/jira/browse/CAMEL-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821703#comment-15821703 ]
Claus Ibsen commented on CAMEL-10700: ------------------------------------- Oh it was not a duplicate, this is still a problem > camel-maven - validate simple predicates and property placeholders > ------------------------------------------------------------------ > > Key: CAMEL-10700 > URL: https://issues.apache.org/jira/browse/CAMEL-10700 > Project: Camel > Issue Type: Improvement > Components: tooling > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.19.0 > > > Because we cannot resolve property placeholders at design time we need a way > to let the simple parser deal with having {{ }} in the string. As you get > this kind of error today > {code} > davsclaus:/Users/davsclaus/workspace/camel/examples/camel-example-cdi-xml > (master)/$ mvn camel:validate > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Camel :: Example :: CDI :: Camel XML 2.19.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- camel-maven-plugin:2.19.0-SNAPSHOT:validate (default-cli) @ > camel-example-cdi-xml --- > [INFO] Using Camel version: 2.19.0-SNAPSHOT > [INFO] Endpoint validation success: (5 = passed, 0 = invalid, 0 = incapable, > 0 = unknown components) > [WARNING] Simple validation error at: camel-context(camel-context.xml:44) > functionEnd has no matching start token at location 21 > ${body} == '{{poison}}' > * > [WARNING] Simple validation error: (0 = passed, 1 = invalid) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)