You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by kseelam <kr...@hotmail.com> on 2012/08/30 02:55:20 UTC
Using encrypted password for accessing maven repository
Hi,
We successfully mapped the maven settings.xml file in
org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
retrieve the artifacts.
But we would like to use encrypted password instead of clear text in
settings.xml as described in the maven guide
http://maven.apache.org/guides/mini/guide-encryption.html
Please help us if anyone has achieved it.
Thanks
KS
--
View this message in context: http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Using encrypted password for accessing maven repository
Posted by Andrei Pozolotin <an...@gmail.com>.
can you please share your settings.xml and pom.xml ?
-------- Original Message --------
Subject: Using encrypted password for accessing maven repository
From: kseelam <kr...@hotmail.com>
To: dev@karaf.apache.org
Date: Wed 29 Aug 2012 07:55:20 PM CDT
> Hi,
>
> We successfully mapped the maven settings.xml file in
> org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
> retrieve the artifacts.
>
> But we would like to use encrypted password instead of clear text in
> settings.xml as described in the maven guide
> http://maven.apache.org/guides/mini/guide-encryption.html
>
> Please help us if anyone has achieved it.
>
> Thanks
> KS
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
Re: Using encrypted password for accessing maven repository
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi JB,
I added a corresponding issue to it :)
regards, Achim
2012/9/3 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Achim,
>
> agree, my bad, I will fix that ;)
>
> Regards
> JB
>
>
> On 09/02/2012 11:35 AM, Achim Nierbeck wrote:
>>
>> Hi guys,
>>
>> but this is probably more an issue of pax-url-mvn /pax-url-aether then
>> karaf :)
>>
>> so any Issues should be linked to a corresponding pax-url issue.
>>
>> regards, Achim
>>
>> 2012/8/31 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>>
>>> Hi Heath,
>>>
>>> my bad: it's not exactly the same topic:
>>>
>>> https://issues.apache.org/jira/browse/KARAF-846
>>>
>>> but it's also related.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 08/31/2012 06:05 PM, Heath Kesler wrote:
>>>>
>>>>
>>>> Hi JB,
>>>>
>>>> Can you point me at the jira you are referencing?
>>>>
>>>> Cheers,
>>>> Heath
>>>>
>>>> On Aug 31, 2012, at 10:01 AM, Jean-Baptiste Onofré wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> in the etc/org.ops4j.pax.url.mvn.cfg, in the defaultRepositories
>>>>> section,
>>>>> if you use something like:
>>>>>
>>>>> http://user:pass@myhost/repo
>>>>>
>>>>> no, password has to be "in clear" (encrypted is not supported).
>>>>>
>>>>> I created a Jira a while ago to leverage the <repositories/> section of
>>>>> the settings.xml or support "encrypted" password as we do in the jaas
>>>>> layer.
>>>>> I have to work on it.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 08/30/2012 02:55 AM, kseelam wrote:
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We successfully mapped the maven settings.xml file in
>>>>>> org.ops4j.pax.url.mvn.cfg to use the repository user id and password
>>>>>> to
>>>>>> retrieve the artifacts.
>>>>>>
>>>>>> But we would like to use encrypted password instead of clear text in
>>>>>> settings.xml as described in the maven guide
>>>>>> http://maven.apache.org/guides/mini/guide-encryption.html
>>>>>>
>>>>>> Please help us if anyone has achieved it.
>>>>>>
>>>>>> Thanks
>>>>>> KS
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>>
>>>>>> http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
>>>>>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>>>>
>>>>>
>>>>> --
>>>>> Jean-Baptiste Onofré
>>>>> jbonofre@apache.org
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>>
>>>>
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>
>>
>>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>
Re: Using encrypted password for accessing maven repository
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Achim,
agree, my bad, I will fix that ;)
Regards
JB
On 09/02/2012 11:35 AM, Achim Nierbeck wrote:
> Hi guys,
>
> but this is probably more an issue of pax-url-mvn /pax-url-aether then karaf :)
>
> so any Issues should be linked to a corresponding pax-url issue.
>
> regards, Achim
>
> 2012/8/31 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>> Hi Heath,
>>
>> my bad: it's not exactly the same topic:
>>
>> https://issues.apache.org/jira/browse/KARAF-846
>>
>> but it's also related.
>>
>> Regards
>> JB
>>
>>
>> On 08/31/2012 06:05 PM, Heath Kesler wrote:
>>>
>>> Hi JB,
>>>
>>> Can you point me at the jira you are referencing?
>>>
>>> Cheers,
>>> Heath
>>>
>>> On Aug 31, 2012, at 10:01 AM, Jean-Baptiste Onofré wrote:
>>>
>>>> Hi,
>>>>
>>>> in the etc/org.ops4j.pax.url.mvn.cfg, in the defaultRepositories section,
>>>> if you use something like:
>>>>
>>>> http://user:pass@myhost/repo
>>>>
>>>> no, password has to be "in clear" (encrypted is not supported).
>>>>
>>>> I created a Jira a while ago to leverage the <repositories/> section of
>>>> the settings.xml or support "encrypted" password as we do in the jaas layer.
>>>> I have to work on it.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 08/30/2012 02:55 AM, kseelam wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> We successfully mapped the maven settings.xml file in
>>>>> org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
>>>>> retrieve the artifacts.
>>>>>
>>>>> But we would like to use encrypted password instead of clear text in
>>>>> settings.xml as described in the maven guide
>>>>> http://maven.apache.org/guides/mini/guide-encryption.html
>>>>>
>>>>> Please help us if anyone has achieved it.
>>>>>
>>>>> Thanks
>>>>> KS
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
>>>>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>>>
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Using encrypted password for accessing maven repository
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi guys,
but this is probably more an issue of pax-url-mvn /pax-url-aether then karaf :)
so any Issues should be linked to a corresponding pax-url issue.
regards, Achim
2012/8/31 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Heath,
>
> my bad: it's not exactly the same topic:
>
> https://issues.apache.org/jira/browse/KARAF-846
>
> but it's also related.
>
> Regards
> JB
>
>
> On 08/31/2012 06:05 PM, Heath Kesler wrote:
>>
>> Hi JB,
>>
>> Can you point me at the jira you are referencing?
>>
>> Cheers,
>> Heath
>>
>> On Aug 31, 2012, at 10:01 AM, Jean-Baptiste Onofré wrote:
>>
>>> Hi,
>>>
>>> in the etc/org.ops4j.pax.url.mvn.cfg, in the defaultRepositories section,
>>> if you use something like:
>>>
>>> http://user:pass@myhost/repo
>>>
>>> no, password has to be "in clear" (encrypted is not supported).
>>>
>>> I created a Jira a while ago to leverage the <repositories/> section of
>>> the settings.xml or support "encrypted" password as we do in the jaas layer.
>>> I have to work on it.
>>>
>>> Regards
>>> JB
>>>
>>> On 08/30/2012 02:55 AM, kseelam wrote:
>>>>
>>>> Hi,
>>>>
>>>> We successfully mapped the maven settings.xml file in
>>>> org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
>>>> retrieve the artifacts.
>>>>
>>>> But we would like to use encrypted password instead of clear text in
>>>> settings.xml as described in the maven guide
>>>> http://maven.apache.org/guides/mini/guide-encryption.html
>>>>
>>>> Please help us if anyone has achieved it.
>>>>
>>>> Thanks
>>>> KS
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
>>>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>
Re: Using encrypted password for accessing maven repository
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Heath,
my bad: it's not exactly the same topic:
https://issues.apache.org/jira/browse/KARAF-846
but it's also related.
Regards
JB
On 08/31/2012 06:05 PM, Heath Kesler wrote:
> Hi JB,
>
> Can you point me at the jira you are referencing?
>
> Cheers,
> Heath
>
> On Aug 31, 2012, at 10:01 AM, Jean-Baptiste Onofré wrote:
>
>> Hi,
>>
>> in the etc/org.ops4j.pax.url.mvn.cfg, in the defaultRepositories section, if you use something like:
>>
>> http://user:pass@myhost/repo
>>
>> no, password has to be "in clear" (encrypted is not supported).
>>
>> I created a Jira a while ago to leverage the <repositories/> section of the settings.xml or support "encrypted" password as we do in the jaas layer. I have to work on it.
>>
>> Regards
>> JB
>>
>> On 08/30/2012 02:55 AM, kseelam wrote:
>>> Hi,
>>>
>>> We successfully mapped the maven settings.xml file in
>>> org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
>>> retrieve the artifacts.
>>>
>>> But we would like to use encrypted password instead of clear text in
>>> settings.xml as described in the maven guide
>>> http://maven.apache.org/guides/mini/guide-encryption.html
>>>
>>> Please help us if anyone has achieved it.
>>>
>>> Thanks
>>> KS
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
>>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Using encrypted password for accessing maven repository
Posted by Heath Kesler <he...@gmail.com>.
Hi JB,
Can you point me at the jira you are referencing?
Cheers,
Heath
On Aug 31, 2012, at 10:01 AM, Jean-Baptiste Onofré wrote:
> Hi,
>
> in the etc/org.ops4j.pax.url.mvn.cfg, in the defaultRepositories section, if you use something like:
>
> http://user:pass@myhost/repo
>
> no, password has to be "in clear" (encrypted is not supported).
>
> I created a Jira a while ago to leverage the <repositories/> section of the settings.xml or support "encrypted" password as we do in the jaas layer. I have to work on it.
>
> Regards
> JB
>
> On 08/30/2012 02:55 AM, kseelam wrote:
>> Hi,
>>
>> We successfully mapped the maven settings.xml file in
>> org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
>> retrieve the artifacts.
>>
>> But we would like to use encrypted password instead of clear text in
>> settings.xml as described in the maven guide
>> http://maven.apache.org/guides/mini/guide-encryption.html
>>
>> Please help us if anyone has achieved it.
>>
>> Thanks
>> KS
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
Re: Using encrypted password for accessing maven repository
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
in the etc/org.ops4j.pax.url.mvn.cfg, in the defaultRepositories
section, if you use something like:
http://user:pass@myhost/repo
no, password has to be "in clear" (encrypted is not supported).
I created a Jira a while ago to leverage the <repositories/> section of
the settings.xml or support "encrypted" password as we do in the jaas
layer. I have to work on it.
Regards
JB
On 08/30/2012 02:55 AM, kseelam wrote:
> Hi,
>
> We successfully mapped the maven settings.xml file in
> org.ops4j.pax.url.mvn.cfg to use the repository user id and password to
> retrieve the artifacts.
>
> But we would like to use encrypted password instead of clear text in
> settings.xml as described in the maven guide
> http://maven.apache.org/guides/mini/guide-encryption.html
>
> Please help us if anyone has achieved it.
>
> Thanks
> KS
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Using-encrypted-password-for-accessing-maven-repository-tp4025881.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com