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

Thomas Dalbo commented on CAMEL-13446:
--------------------------------------

That's right.  And I just did a fresh clone & build, and it still failed.  
Unless my local config changed since the last time I've built, it seems 
reproducible on my end. 

> camel-xpath does not build
> --------------------------
>
>                 Key: CAMEL-13446
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13446
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Thomas Dalbo
>            Assignee: Andrea Cosentino
>            Priority: Major
>
> I think due to CAMEL-13442 refactoring, there's a generated sources path 
> that's looking in the wrong place when camel-xpath tries to build.  Here's 
> the stacktrace:
> {code:java}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Camel :: XPath 3.0.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:4.1.0:cleanVersions (versions) @ camel-xpath 
> ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
> camel-xpath ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory 
> /home/tdalbo/Programming/upstream/apache/camel/components/camel-xpath/src/main/resources
> [INFO] 
> [INFO] --- flatten-maven-plugin:1.1.0:flatten (default-cli) @ camel-xpath ---
> [INFO] Generating flattened POM of project 
> org.apache.camel:camel-xpath:jar:3.0.0-SNAPSHOT...
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ 
> camel-xpath ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 8 source files to 
> /home/tdalbo/Programming/upstream/apache/camel/components/camel-xpath/target/classes
> [INFO] 
> [INFO] --- camel-package-maven-plugin:3.0.0-SNAPSHOT:prepare-components 
> (generate) @ camel-xpath ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 3.298 s
> [INFO] Finished at: 2019-04-23T07:42:30-06:00
> [INFO] Final Memory: 24M/78M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.camel:camel-package-maven-plugin:3.0.0-SNAPSHOT:prepare-components 
> (generate) on project camel-xpath: Error loading language model from 
> camel-core. Reason: java.io.FileNotFoundException: 
> /home/tdalbo/Programming/upstream/apache/camel/core/camel-core/target/classes/org/apache/camel/model/language/xpath.json
>  (No such file or directory) -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}



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

Reply via email to