camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11296) camel-maven-plugin:validate - Allow to detect duplicate route ids
Date Sun, 21 May 2017 08:26:05 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018751#comment-16018751
] 

Claus Ibsen commented on CAMEL-11296:
-------------------------------------

{code}
[INFO] --- camel-maven-plugin:2.20.0-SNAPSHOT:validate (default-cli) @ camel-example-console
---
[INFO] Using Camel version: 2.20.0-SNAPSHOT
[INFO] Endpoint validation success: (10 = passed, 0 = invalid, 0 = incapable, 0 = unknown
components)
[INFO] Simple validation success: (1 = passed, 0 = invalid)
[WARNING] Duplicate route id validation error at: META-INF.spring.camel-context(camel-context.xml:41)

	foo


[WARNING] Duplicate route id validation error at: META-INF.spring.camel-context(camel-context.xml:56)

	foo


[WARNING] Duplicate route id validation error: (2 = duplicates, 5 = routes)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{code}

> camel-maven-plugin:validate - Allow to detect duplicate route ids
> -----------------------------------------------------------------
>
>                 Key: CAMEL-11296
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11296
>             Project: Camel
>          Issue Type: New Feature
>          Components: tooling
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> We can try to enhance this goal to gather all the route ids, and see if we can detect
duplicate and then give WARNs or fail the build.
> Then users can turn on this maven plugin in their build and have it fail or warn accordingly.
> The goal can validate uris etc. But note its a best effort so it may report false positives
and not be able to validate everytting 100% 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message