This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new a45269c  CAMEL-13449: camel3 - Move bean component out of camel-core, 
fix camel-bean build
a45269c is described below

commit a45269cda4a2c417cd4a202e85236911ec32b044
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Sat Apr 27 15:52:02 2019 +0200

    CAMEL-13449: camel3 - Move bean component out of camel-core, fix camel-bean 
build
---
 .../java/org/apache/camel/maven/packaging/PackageLanguageMojo.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PackageLanguageMojo.java
 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PackageLanguageMojo.java
index a0681bb..1434b80 100644
--- 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PackageLanguageMojo.java
+++ 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PackageLanguageMojo.java
@@ -143,6 +143,9 @@ public class PackageLanguageMojo extends 
AbstractGeneratorMojo {
                         if ("xpath".equals(name)) {
                             // special for camel-xpath as we need to build 
this before camel-core so we load the schema from a static file
                             is = new FileInputStream(new File(buildDir, 
"../src/main/schema/xpath.json"));
+                        } else if ("bean".equals(name)) {
+                            // special for camel-bean as we need to build this 
before camel-core so we load the schema from a static file
+                            is = new FileInputStream(new File(buildDir, 
"../src/main/schema/method.json"));
                         } else {
                             is = new FileInputStream(new File(core, 
"target/classes/org/apache/camel/model/language/" + modelName + ".json"));
                         }

Reply via email to