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

Claus Ibsen commented on CAMEL-13383:
-------------------------------------

I get this error when I run your route
{code}
[INFO] --- camel-report-maven-plugin:3.0.0-SNAPSHOT:validate (default-cli) @ 
camel-example-main ---
[INFO] Detected Camel version used in project: 3.0.0-SNAPSHOT
[INFO] Validating using Camel version: 3.0.0-SNAPSHOT
[INFO] Endpoint validation success: (2 = passed, 0 = invalid, 1 = incapable, 0 
= unknown components, 0 = deprecated options)
[WARNING] Simple validation error at: 
org.apache.camel.example.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:37)

        Unexpected token p at location 0
        properties:dhub.export.doUpload:false
        *

[WARNING] Simple validation error: (0 = passed, 1 = invalid)
[INFO] Endpoint pair (seda/direct) validation success (0 = pairs)
[INFO] Duplicate route id validation success (0 = ids)
[INFO] ------------------------------------------------------------------------
{code}

> maven plugi validation fails with 3.0.0m1/m2
> --------------------------------------------
>
>                 Key: CAMEL-13383
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13383
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.0.0-M2, 3.0.0-M1
>            Reporter: David J. M. Karlsen
>            Priority: Major
>
> The camel plugin fails validation which passed fine in v2.latest.
> Also from the error-message it is not easy to understand what is really the 
> problem?
> {noformat}
> INFO] [jenkins-event-spy] Generated 
> /data/jenkins/workspace/c-jfr-server_feature_camel3-Y6VPXEFM3D7D7C2V3GQRGLFL7QLPEWEFUJY6V6RFK46FIDVYQ7SQ@tmp/withMavenca46cdd5/maven-spy-20190401-102256-4351026941413226375350.log
> [ERROR] Failed to execute goal 
> org.apache.camel:camel-report-maven-plugin:3.0.0-M2:validate (default) on 
> project jfr-srv-batch: Endpoint validation success: (1 = passed, 0 = invalid, 
> 1 = incapable, 0 = unknown components, 0 = deprecated options)
> [ERROR] Simple validation error: (0 = passed, 1 = invalid)
> [ERROR] Duplicate route id validation success (0 = ids)
> [ERROR] Endpoint pair (seda/direct) validation success (0 = pairs)
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.camel:camel-report-maven-plugin:3.0.0-M2:validate (default) 
> on project jfr-srv-batch: Endpoint validation success: (1 = passed, 0 = 
> invalid, 1 = incapable, 0 = unknown components, 0 = deprecated options)
> Simple validation error: (0 = passed, 1 = invalid)
> Duplicate route id validation success (0 = ids)
> Endpoint pair (seda/direct) validation success (0 = pairs)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:215)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:200)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:196)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:515)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1128)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:628)
>     at java.lang.Thread.run (Thread.java:835)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Endpoint 
> validation success: (1 = passed, 0 = invalid, 1 = incapable, 0 = unknown 
> components, 0 = deprecated options)
> Simple validation error: (0 = passed, 1 = invalid)
> Duplicate route id validation success (0 = ids)
> Endpoint pair (seda/direct) validation success (0 = pairs)
>     at org.apache.camel.maven.ValidateMojo.execute (ValidateMojo.java:484)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:200)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:196)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:515)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1128)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:628)
>     at java.lang.Thread.run (Thread.java:835)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to