Thanks Cody. May be I haven't explained well. My problem is not an encryption. What I am looking for is the way where you can put password (could be in plain text) in settings.xml and leverage it in artifactory maven plugin. If you look at the documentation - https://www.jfrog.com/confluence/display/RTF/Maven+Artifactory+Plugin it needs password to put into <publisher> </publisher> block. I want to use that from settings.xml (from <server> </server> block).
I again appreciate the reply. On Tue, Aug 9, 2016 at 1:37 PM, <[email protected]> wrote: > I googled it for you. > > https://maven.apache.org/guides/mini/guide-encryption.html > > > Cody Fyler > CLT – APMS > G=Lending Grid Builds > (515) – 441 - 0814 > > -----Original Message----- > From: swapnil barwat [mailto:[email protected]] > Sent: Tuesday, August 09, 2016 12:27 PM > To: [email protected] > Subject: Fwd: Artifactory pro abstract credentials in settings.xml > > Hi, > > I am using artifactory pro and integrating with Jenkins. We are also using > artifactory maven plugin to publish artifacts. For this plugin > configuration regarding artifactory (username, password, context url) needs > to go in project pom.xml. Which gives our security teams creeps (since it > has plain text password). > Before this we were using default maven deploy plugin which had all of > this information in settings.xml. > So my question is - is there a way we can leverage username/password > (server stanza) from settings.xml and pass it to artifactory maven plugin > to read from? > > Any help would be highly appreciated. > > -- > regards.. > Swapnil Barwat > > > > -- > regards.. > Swapnil Barwat > -- regards.. Swapnil Barwat
