karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix marezki (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5656) maven:password -eb notwirking
Date Mon, 05 Mar 2018 15:11:00 GMT
Felix marezki created KARAF-5656:

             Summary: maven:password -eb notwirking
                 Key: KARAF-5656
                 URL: https://issues.apache.org/jira/browse/KARAF-5656
             Project: Karaf
          Issue Type: Improvement
    Affects Versions: 4.2.0.M2
         Environment: fresh Karaf-4.2.0.M2 instance
            Reporter: Felix marezki

I couldn't find the component, but its located in the maven feature.


The "maven:password -ep" command fails with message: "Master password is not available",

(even) when you have configured a master password before.

This happens when there is no maven settings.xml configured/present.

So you have to have a settings.xml in your local maven repo (.m2 folder) present before encrypting
a password using this command. (well or u have somehow configured etc/org.ops4j.pax.url.mvn.cfg
properties accordingly beforehand/manually)


steps to reproduce:
 # install fresh Karaf(-4.2.0.M2) instance
 # run:
 ## feature:install maven
 ## maven:password -emp (–persist)
 ## maven:password -ep

This message was sent by Atlassian JIRA

View raw message