Yet another finding:

I tried to build the demos included in the Karaf distribution and the build 
ends with following error:

INFO] Apache Karaf :: Demos ............................. SUCCESS [1.033s]
[INFO] Apache Karaf :: Demos :: Web ...................... FAILURE [1.521s]
[INFO] Apache Karaf :: Demos :: Branding :: Shell ........ SKIPPED
[INFO] Apache Karaf :: Demos :: Command :: Extend Console  SKIPPED
[INFO] Apache Karaf :: Demos :: Demo Dump provider ....... SKIPPED
[INFO] Apache Karaf :: Demos :: Deployer ................. SKIPPED
[INFO] Apache Karaf :: Demos :: Deployer :: Kar .......... SKIPPED
[INFO] Apache Karaf :: Demos :: Deployer :: Bundle ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.370s
[INFO] Finished at: Thu Jul 02 00:42:04 CEST 2015
[INFO] Final Memory: 32M/662M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (copy-karaf) on project 
web: An Ant
BuildException has occured:
/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF/apache-karaf-3.0.4
 does not exist.
[ERROR] around Ant part ...<move
todir="/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF/karaf">...
 @ 4:105 in
/home/kso/work/projects/asf/tmp/apache-karaf-3.0.4/demos/web/target/antrun/build-main.xml
[ERROR] -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :web

I think something wrong happened with resource filtering file building the 
assembly and the property
project.build.directory has been replaced with 
/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target

kso@lenovo:~/work/projects/asf/tmp/apache-karaf-3.0.4$  fgrep -r kar30x .
./demos/branding/pom.xml:               
<directory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/src/main/resources</directory>
./demos/META-INF/maven/org.apache.karaf/demos/pom.xml:       
<appendedResourcesDirectory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/../etc/appended-resources</appendedResourcesDirectory>
./demos/META-INF/maven/org.apache.karaf/demos/pom.xml:               
<directory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/../../demos</directory>
./demos/META-INF/maven/org.apache.karaf/demos/pom.xml:               
<directory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/../../demos</directory>
./demos/web/target/antrun/build-main.xml:  <move
todir="/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF/karaf">
./demos/web/target/antrun/build-main.xml:    <fileset
dir="/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF/apache-karaf-3.0.4"/>
./demos/web/pom.xml:       
<appendedResourcesDirectory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/../../etc/appended-resources</appendedResourcesDirectory>
./demos/web/pom.xml:                   
<webAppSourceDirectory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/apache-karaf-3.0.4</webAppSourceDirectory>
./demos/web/pom.xml:                                   
<outputDirectory>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF</outputDirectory>
./demos/web/pom.xml:                                <move
todir="/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF/karaf">
./demos/web/pom.xml:                                    <fileset
dir="/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/target/karaf/WEB-INF/apache-karaf-3.0.4"
 />
./demos/deployer/kar/pom.xml:                           
<featuresFile>/x1/asf/karaf/kar30x/target/checkout/assemblies/apache-karaf/src/main/resources/features.xml</featuresFile>

I don't think it is blocking problem too, but it should be corrected in the 
next release

Regards
Krzysztof




On 01.07.2015 23:57, Krzysztof Sobkowiak wrote:
> +1 (non-binding)
>
> I have built ServiceMix 6.0.0 with Karaf and tested -- looks very good. Good 
> job!!!
>
> I have found only 2 things/problems which work differently compared to 
> ServiceMix based on Karaf 3.0.3
>
>   * one described here https://issues.apache.org/jira/browse/SM-2595
>   * I had to remove eventadmin feature from featuresBoot (or move it to the 
> first stage of featuresBoot). Otherwise
>     ServiceMix freezes.
>
> Perhaps have you some ideas about the both findings. But these are only minor 
> problems so I'm waiting for this release
> to start the SerivceMix 6 final release :)
>
> Regards
> Krzysztof
>
>
>
> On 29.06.2015 22:59, Jamie G. wrote:
>> Hi,
>>
>> We resolved 103 issues in this release:
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12329179
>>
>>
>> Staging repository:
>> https://repository.apache.org/content/repositories/orgapachekaraf-1034/
>>
>> Git tag:
>> karaf-3.0.4
>>
>> Please vote to approve this release:
>>
>> [ ] +1 Approve the release
>> [ ] -1 Veto the release (please provide specific comments)
>>
>> This vote will be open for 72 hours.

-- 
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>

Reply via email to