Hi

You are welcome to log a JIRA / provide a patch / github PR to correct this
http://camel.apache.org/contributing

On Thu, Aug 18, 2016 at 9:15 PM, Moon, John <john.m...@transamerica.com> wrote:
> Found the issue, you assume the parent folder is named "camel"  in 
> SpringBootHelper.java (line 53).
>
> public static File camelProjectRoot(File baseDir) {
>
>         try {
>
>             File root = baseDir.getCanonicalFile();
>
>             while (root != null && !root.getName().equals("camel")) {
>
>                 root = root.getParentFile();
>
>             }
>
>
> Mine was not named camel.  Ideally you should put a dummy file in the root 
> folder you check for (ie .camelroot).  For now I did this:
>
> public static File camelProjectRoot(File baseDir) {
>         try {
>
>             File root = baseDir.getCanonicalFile();
>             File starterFolder = new File(root.getAbsolutePath(), 
> "components-starter" );
>             while (root != null && !starterFolder.exists()) {
>                 root = root.getParentFile();
>           starterFolder = new File(root.getAbsolutePath(), 
> "components-starter" );
>             }
>
>
>
>
>
>
>
>
> From: Moon, John
> Sent: Thursday, August 18, 2016 12:37 PM
> To: 'dev@camel.apache.org' <dev@camel.apache.org>
> Subject: Full build broken in master branch
>
> Trying to do a full build in the master branch but getting this error.  My 
> commandline looks like this:
>
> mvn clean install -Pfastinstall -pl '!etc' -Dmaven.test.skip=true
>
> [ERROR] Failed to execute goal 
> org.apache.camel:camel-package-maven-plugin:2.18-SNAPSHOT:prepare-spring-boot-starter
>  (validate) on project camel-core: Unable to create starter: Cannot find 
> project root -> [Help 1]
>
> Thanks.
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to