Hi JB, Yes, I do have the dependency. The packaging worked correctly with 3.0.3 and only broke when upgrading 4.0.0.M3. I noticed that my dependancy on the standard features had the scope set to "runtime" whereas yours did not. After changing the scope to "compile", I now get this error instead:
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0.M3:assembly (default-assembly) on project karaf: Unable to build assembly: Error downloading configuration files -> [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 Thank you! Marc On Thu, Jun 25, 2015 at 2:20 PM, Jean-Baptiste Onofré <[email protected]> wrote: > Hi Marc, > > It's not really vote related, but not a big deal ;) > > For your issue, you can have an example in the Karaf assembly itself: > > > https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=blob_plain;f=assemblies/apache-karaf/pom.xml;hb=HEAD > > Basically, can you check if your pom.xml contains the <dependency/> with > Karaf standard features XML ? > > Regards > JB > > On 06/25/2015 05:54 PM, Marc Durand wrote: > >> Please forgive me if I am posting this to the incorrect mailing list. >> >> I have upgraded from Karaf 3.0.3 to 4.0.0.M3 and the karaf-maven-plugin >> encounters this error: >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3.860 s >> [INFO] Finished at: 2015-06-25T11:33:55-04:00 >> [INFO] Final Memory: 24M/309M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.karaf.tooling:karaf-maven-plugin:4.0.0.M3:assembly >> (default-assembly) on project karaf: Unable to build assembly: Could not >> find matching feature for standard -> [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 >> >> I don't know if it is related to Fabian's error mentioned below: >> >> >> Fabian Lange wrote >> >>> I observed that the karaf-maven-plugin was unable to build my dist >>> because >>> it only checked the maven central remote. I needed to manually clone the >>> required jars to my local repo. >>> I reported this to irc. >>> >>> The assembly plugin indeed does copy a strange artifact as Christian >>> reported: >>> >>> /Users/fabian/work/source/karaf-assembly/system/file:/Users/fabian/work/source/karaf-assembly/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml >>> >> >> >> >> >> >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.com/VOTE-Release-Apache-Karaf-4-0-0-tp4041054p4041080.html >> Sent from the Karaf - Dev mailing list archive at Nabble.com. >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
