It works now thanks. -----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, August 19, 2016 4:53 AM To: dev <dev@camel.apache.org> Subject: Re: Full build broken in master branch
I pushed a fix because our CI server has the same problem so it cannot do a build https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_camel_commit_db1d9eb701b9fe8a93b5fd376d79ad5659912e47&d=DQIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=WSfLFD6uCmwZGgsOtAnRx7p7xF0yjMDImYatakbcU7E&m=KdRooEJrTRL231Uo-ruhRTBsCMkS3QK4h4kLoYkxHpg&s=S88bpKjoJyM38n8I9atdfc2wWzSWKY8pnO5akJTdVuY&e= Can you try with latest code again ? On Fri, Aug 19, 2016 at 8:21 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > You are welcome to log a JIRA / provide a patch / github PR to correct > this > https://urldefense.proofpoint.com/v2/url?u=http-3A__camel.apache.org_c > ontributing&d=DQIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=WSfLFD6uCmwZGgsOtAnRx7 > p7xF0yjMDImYatakbcU7E&m=KdRooEJrTRL231Uo-ruhRTBsCMkS3QK4h4kLoYkxHpg&s= > 2dF0obfRMB7W4PAlbxhDB2MZDE9AgMNsNsKhayD8jjo&e= > > 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-spr >> ing-boot-starter (validate) on project camel-core: Unable to create >> starter: Cannot find project root -> [Help 1] >> >> Thanks. >> > > > > -- > Claus Ibsen > ----------------- > https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=DQ > IBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=WSfLFD6uCmwZGgsOtAnRx7p7xF0yjMDImYatak > bcU7E&m=KdRooEJrTRL231Uo-ruhRTBsCMkS3QK4h4kLoYkxHpg&s=0UjEAcMZN9s12BKq > uaJr3Rzc83B6rKZi37sFWQvcoP4&e= @davsclaus Camel in Action 2: > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.manning.com_i > bsen2&d=DQIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=WSfLFD6uCmwZGgsOtAnRx7p7xF0y > jMDImYatakbcU7E&m=KdRooEJrTRL231Uo-ruhRTBsCMkS3QK4h4kLoYkxHpg&s=co5hp- > ywlCROyUHcExFkCoOpobGud-1PJdfhW64PT6U&e= -- Claus Ibsen ----------------- https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=DQIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=WSfLFD6uCmwZGgsOtAnRx7p7xF0yjMDImYatakbcU7E&m=KdRooEJrTRL231Uo-ruhRTBsCMkS3QK4h4kLoYkxHpg&s=0UjEAcMZN9s12BKquaJr3Rzc83B6rKZi37sFWQvcoP4&e= @davsclaus Camel in Action 2: https://urldefense.proofpoint.com/v2/url?u=https-3A__www.manning.com_ibsen2&d=DQIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=WSfLFD6uCmwZGgsOtAnRx7p7xF0yjMDImYatakbcU7E&m=KdRooEJrTRL231Uo-ruhRTBsCMkS3QK4h4kLoYkxHpg&s=co5hp-ywlCROyUHcExFkCoOpobGud-1PJdfhW64PT6U&e=