Re: Problems with Karaf build with profiles

2021-01-27 Thread JB Onofré
Hi I guess it works with mvn url right ? Regards JB > Le 27 janv. 2021 à 20:10, Geoffrey Seanor > a écrit : > >  > Hi, > > I have been creating a build based on Karaf v4.3.0 that uses profiles for > provisioning and have used the karaf-profile-example sample as a reference. > I hit a

Problems with Karaf build with profiles

2021-01-27 Thread Geoffrey Seanor
Hi, I have been creating a build based on Karaf v4.3.0 that uses profiles for provisioning and have used the karaf-profile-example sample as a reference. I hit a problem so tried building the examples locally but both the dynamic and static projects failed to build. The

Re: karaf build

2016-10-26 Thread Thomas Termin
Hello, to come back on this one. At home without a proxy server the build works fine as you all said. At work behind a proxy server it does not work. As it works at home it is ok. Regards, Thomas On Fri, Oct 14, 2016 at 4:14 PM, Jean-Baptiste Onofré wrote: > Correct for the

Re: karaf build

2016-10-14 Thread Jean-Baptiste Onofré
Correct for the branch. I will apply. But anyway, they should not failed (it doesn't fail). What's the cause ? Regards JB On 10/14/2016 04:01 PM, Thomas Termin wrote: The failing tests are excluded in the current master branch but not in the karaf-4.0.x branch and not in the karaf-4.0.7

Re: karaf build

2016-10-14 Thread Thomas Termin
The failing tests are excluded in the current master branch but not in the karaf-4.0.x branch and not in the karaf-4.0.7 tag. > Am 14.10.2016 um 15:29 schrieb Jean-Baptiste Onofré : > > By the way, the failing karaf test are excluded by default: > > >

Re: karaf build

2016-10-14 Thread Jean-Baptiste Onofré
By the way, the failing karaf test are excluded by default: test-run/pom.xml test-assembly/pom.xml test-check-dependencies-failure/pom.xml test-assembly-prop-edits/pom.xml So, you are not running a

Re: karaf build

2016-10-14 Thread Jean-Baptiste Onofré
Hi Thomas, I don't explain: 1. Rat output is correct, but rat is executed only if you build with the rat profile, so something like: mvn clean install -Prat Do you build with this profile ? 2. You can bypass the maven test (invoker) using -Dinvoker.skip: mvn clean install -DskipTests

Re: karaf build

2016-10-14 Thread Thomas Termin
First off all thanks for the quick responses. @Benson RAT complains about missing apache license header within the files: tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/LocalDependency.java

Re: karaf build

2016-10-14 Thread Benson Margulies
I suggest that you actually look at the RAT output file and see of what it complains. On Fri, Oct 14, 2016 at 8:30 AM, Christian Schneider wrote: > I just ran this with no problems. > > git checkout karaf-4.0.7 > mvn clean install -DskipTests > > mvn -v > Apache Maven

Re: karaf build

2016-10-14 Thread Christian Schneider
I just ran this with no problems. git checkout karaf-4.0.7 mvn clean install -DskipTests mvn -v Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00) Maven home: /home/cschneider/java/apache-maven-3.2.5 Java version: 1.8.0_92, vendor: Oracle Corporation Java

Re: karaf build

2016-10-14 Thread Jean-Baptiste Onofré
Hi Thomas, you have some "created" file without license, that's why it fails on RAT. I just tried purging my local ~/.m2/repository/org/apache/karaf and ~/.m2/repository/commons-* with Maven 3.3.9 and Java 8. And it works fine. Do you have some Maven or HTTP proxy ? Regards JB On

Re: karaf build

2016-10-14 Thread Thomas Termin
@Jean-Baptiste mvn clean install -DskipTests results in: [INFO] BUILD FAILURE [INFO] [INFO] Total time: 7.785 s [INFO] Finished at: 2016-10-14T14:06:08+02:00 [INFO] Final Memory: 76M/383M [INFO]

Re: karaf build

2016-10-14 Thread Jean-Baptiste Onofré
Hi Thomas, Can you try mvn clean install -DskipTests ? Regards JB On 10/14/2016 01:47 PM, Thomas Termin wrote: Hello, why is it not possible to build the karaf source code? If I download the src for 4.0.7 or checkout the tag and try to build karaf with mvn -Pfastinstall I always get the

Re: karaf build

2016-10-14 Thread Christian Schneider
What java and maven versions do you use? Christian On 14.10.2016 13:47, Thomas Termin wrote: Hello, why is it not possible to build the karaf source code? If I download the src for 4.0.7 or checkout the tag and try to build karaf with mvn -Pfastinstall I always get the output below. It

karaf build

2016-10-14 Thread Thomas Termin
Hello, why is it not possible to build the karaf source code? If I download the src for 4.0.7 or checkout the tag and try to build karaf with mvn -Pfastinstall I always get the output below. It seems that there are missing dependencies on apache.commons. What do I wrong? Regards, Thomas