You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Felix marezki (JIRA)" <ji...@apache.org> on 2018/03/05 15:11:00 UTC
[jira] [Created] (KARAF-5656) maven:password -eb notwirking
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.
Symptom:
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
(v7.6.3#76005)