[ 
https://issues.apache.org/jira/browse/CAMEL-9125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-9125.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.15.4

Its only the archetype that generated invalid unit test code.

> Cannot build camel-scr-example
> ------------------------------
>
>                 Key: CAMEL-9125
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9125
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-scr, tooling
>    Affects Versions: 2.15.4
>            Reporter: Thomas Diesler
>            Assignee: Claus Ibsen
>             Fix For: 2.15.4
>
>
> affects branch 2.15.x
> {code}
> [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile 
> (default-testCompile) @ camel-scr-example ---
> [INFO] [INFO] Compiling 1 source file to 
> /Users/tdiesler/git/camel/tooling/archetypes/camel-archetype-scr/target/test-classes/projects/camel-scr-example/project/camel-scr-example/target/test-classes
> [INFO] [INFO] -------------------------------------------------------------
> [INFO] [ERROR] COMPILATION ERROR : 
> [INFO] [INFO] -------------------------------------------------------------
> [INFO] [ERROR] 
> /Users/tdiesler/git/camel/tooling/archetypes/camel-archetype-scr/target/test-classes/projects/camel-scr-example/project/camel-scr-example/src/test/java/example/CamelScrExampleTest.java:[44,40]
>  error: incompatible types: CamelContext cannot be converted to 
> ModelCamelContext
> [INFO] [INFO] 1 error
> [INFO] [INFO] -------------------------------------------------------------
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 2.409 s
> [INFO] [INFO] Finished at: 2015-09-09T15:19:20+02:00
> [INFO] [INFO] Final Memory: 22M/243M
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to