You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Geoffrey Seanor <Ge...@mufgsecurities.com> on 2021/01/27 19:10:05 UTC

Problems with Karaf build with profiles

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 karaf-profile-example-dynamic build raised the following warnings:
            Ignoring non maven artifact file:etc/bank1.xml
            Ignoring non maven artifact file:etc/bank2.xml
            Ignoring non maven artifact file:etc/loanBroker.xml
            Ignoring non maven artifact file:etc/bank3.xml

The karaf-profile-example-static artifact build fails during assembly (process-resources).

These errors are similar to those I have in my own project build.
I couldn’t find a related Jira, and noticed that the karaf-profile-example module is commented out in the parent pom.  Are the above known issues, and is there a fix in the pipeline?

Thanks,

Geoff

This email including any attachments is confidential and may be subject to legal privilege. Unless otherwise indicated, you may not disclose or distribute this email to any other person.  If you are not the intended recipient of this email, please delete it and notify the sender immediately. 

MUFG Bank, Ltd. (“MUFG Bank”), MUFG Securities EMEA plc ("MUS(EMEA)") and Mitsubishi UFJ Financial Group, Inc. (“MUFG Inc.”) are members of the MUFG group.

-	MUFG Bank is a limited liability stock company incorporated in Japan and registered in the Tokyo Legal Affairs Bureau (company no. 0100-01-008846). MUFG Bank’s head office is at 7-1 Marunouchi 2-Chome, Chiyoda-Ku, Tokyo 100-8388, Japan. MUFG Bank’s London branch is at Ropemaker Place, 25 Ropemaker Street, London EC2Y 9AN, and is registered as a UK establishment in the UK register of companies (registered no. BR002013).   MUFG Bank is authorised and regulated by the Japanese Financial Services Agency. MUFG Bank’s London branch is authorised by the UK Prudential Regulation Authority (“PRA”) and regulated by the UK Financial Conduct Authority (“FCA”) with limited regulation by the PRA.
-	MUS(EMEA) is a limited liability company registered in England (company no. 1698498) with its registered office at Ropemaker Place, 25 Ropemaker Street, London, EC2Y 9AJ.  MUS (EMEA) is authorised by the PRA and regulated by the FCA and PRA in the UK.
-	MUFG Inc. is a limited liability stock company incorporated in Japan and registered in the Tokyo Legal Affairs Bureau (company no. 0100-01-073486). MUFG Inc.’s head office is at 7-1 Marunouchi 2-Chome, Chiyoda-Ku, Tokyo 100-8388, Japan.  MUFG Inc.’s London office is at Ropemaker Place, 25 Ropemaker Street, London EC2Y 9AN, and is registered as a UK establishment in the UK register of companies (registered no. BR015994).

Details on how MUFG Bank, London branch and MUS (EMEA) process personal data relating to individuals associated with our clients are on the MUFG EMEA website at: https://www.mufgemea.com/governance/privacy-notice/ 

Unless specifically indicated, this email should not be regarded as an offer, advice, recommendation, confirmation or valuation in relation to any financial products or services and any views expressed are those of the author only. If information in this email constitutes an investment recommendation provided by MUS(EMEA) as defined in EU (MAR) Regulation 596/2014, additional disclosures are available at https://research.musi.com/MUFGSecDisclaimers.aspx. Information in this email may be subject to change without notice.  Emails cannot be guaranteed to be timely, secure or error or virus-free, and members of the MUFG group accept no liability for such matters. Members of the MUFG group may record and monitor emails and disclose them where relevant in litigation or to regulators.



This message has been scanned for malware by Websense. www.websense.com

Re: Problems with Karaf build with profiles

Posted by JB Onofré <jb...@nanthrax.net>.
Hi

I guess it works with mvn url right ?

Regards 
JB

> Le 27 janv. 2021 à 20:10, Geoffrey Seanor <Ge...@mufgsecurities.com> 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 problem so tried building the examples locally but both the dynamic and static projects failed to build.
>  
> The karaf-profile-example-dynamic build raised the following warnings:
>             Ignoring non maven artifact file:etc/bank1.xml
>             Ignoring non maven artifact file:etc/bank2.xml
>             Ignoring non maven artifact file:etc/loanBroker.xml
>             Ignoring non maven artifact file:etc/bank3.xml
>  
> The karaf-profile-example-static artifact build fails during assembly (process-resources).
>  
> These errors are similar to those I have in my own project build.
> I couldn’t find a related Jira, and noticed that the karaf-profile-example module is commented out in the parent pom.  Are the above known issues, and is there a fix in the pipeline?
>  
> Thanks,
>  
> Geoff
> This email including any attachments is confidential and may be subject to legal privilege. Unless otherwise indicated, you may not disclose or distribute this email to any other person.  If you are not the intended recipient of this email, please delete it and notify the sender immediately.
> 
> MUFG Bank, Ltd. (“MUFG Bank”), MUFG Securities EMEA plc ("MUS(EMEA)") and Mitsubishi UFJ Financial Group, Inc. (“MUFG Inc.”) are members of the MUFG group.
> 
> MUFG Bank is a limited liability stock company incorporated in Japan and registered in the Tokyo Legal Affairs Bureau (company no. 0100-01-008846). MUFG Bank’s head office is at 7-1 Marunouchi 2-Chome, Chiyoda-Ku, Tokyo 100-8388, Japan. MUFG Bank’s London branch is at Ropemaker Place, 25 Ropemaker Street, London EC2Y 9AN, and is registered as a UK establishment in the UK register of companies (registered no. BR002013).   MUFG Bank is authorised and regulated by the Japanese Financial Services Agency. MUFG Bank’s London branch is authorised by the UK Prudential Regulation Authority (“PRA”) and regulated by the UK Financial Conduct Authority (“FCA”) with limited regulation by the PRA.
> 
> MUS(EMEA) is a limited liability company registered in England (company no. 1698498) with its registered office at Ropemaker Place, 25 Ropemaker Street, London, EC2Y 9AJ.  MUS (EMEA) is authorised by the PRA and regulated by the FCA and PRA in the UK.
> 
> MUFG Inc. is a limited liability stock company incorporated in Japan and registered in the Tokyo Legal Affairs Bureau (company no. 0100-01-073486). MUFG Inc.’s head office is at 7-1 Marunouchi 2-Chome, Chiyoda-Ku, Tokyo 100-8388, Japan.  MUFG Inc.’s London office is at Ropemaker Place, 25 Ropemaker Street, London EC2Y 9AN, and is registered as a UK establishment in the UK register of companies (registered no. BR015994).
> 
> Details on how MUFG Bank, London branch and MUS (EMEA) process personal data relating to individuals associated with our clients are on the MUFG EMEA website at: https://www.mufgemea.com/governance/privacy-notice/ 
> 
> Unless specifically indicated, this email should not be regarded as an offer, advice, recommendation, confirmation or valuation in relation to any financial products or services and any views expressed are those of the author only. If information in this email constitutes an investment recommendation provided by MUS(EMEA) as defined in EU (MAR) Regulation 596/2014, additional disclosures are available at https://research.musi.com/MUFGSecDisclaimers.aspx. Information in this email may be subject to change without notice.  Emails cannot be guaranteed to be timely, secure or error or virus-free, and members of the MUFG group accept no liability for such matters. Members of the MUFG group may record and monitor emails and disclose them where relevant in litigation or to regulators.
> 
> 
> 
> This message has been scanned for malware by Websense. www.websense.com