You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Dalbo (JIRA)" <ji...@apache.org> on 2019/04/23 16:13:00 UTC

[jira] [Comment Edited] (CAMEL-13446) camel-xpath does not build

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

Thomas Dalbo edited comment on CAMEL-13446 at 4/23/19 4:12 PM:
---------------------------------------------------------------

-It looks like the resource is there at the right time, but under camel-core/target instead of where it's looking in core/camel-core.  Excuse my unfamiliarity with the build order & structure, but do those sources then get copied to core/camel-core/target after the components are all built?-

edit:  disregard - that root level folder was a leftover from an older version.  


was (Author: tdalbo):
It looks like the resource is there at the right time, but under camel-core/target instead of where it's looking in core/camel-core.  Excuse my unfamiliarity with the build order & structure, but do those sources then get copied to core/camel-core/target after the components are all built?

> 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
>            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)