"Set Me Up" Maven Settings not valid

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"Set Me Up" Maven Settings not valid

evilmonkey
Hey folks --

I've set up Artifactory 4.2.2. I'm trying to get a maven settings file pulled down, but when it pops up the file, it hasn't replaced the user/password entries. The snippet I get looks like this:

    <server>
      <username>${security.getCurrentUsername()}</username>
      <password>${security.getEscapedEncryptedPassword()!"*** Insert encrypted password here ***"}</password>
      <id>central</id>
    </server>

It seems that the location on the profile to get the escaped, encrypted password has been removed in 4.2.2 (or sometime before, but it's not there now). There's nothing in the logs indicating any issue.

This seems like a pretty big issue, but I'm assuming I've configured something incorrectly. Any pointers on this? Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: "Set Me Up" Maven Settings not valid

denebeim
The settings.xml functionality is the same as it's always been.  The snippit you're talking about does not have the passwords and so on in it.   You need to download the settings.xml file and it will generate the correct values.

 Select a maven repository
 click set me up
 click on generate settings
 click on download snippet

The settings.xml will have the passwords and so on in it.  

It's a little harder to find than it used to be, I had to dig for it a bit to find it.

On Fri, Nov 20, 2015 at 12:13 PM, evilmonkey <[hidden email]> wrote:
Hey folks --

I've set up Artifactory 4.2.2. I'm trying to get a maven settings file
pulled down, but when it pops up the file, it hasn't replaced the
user/password entries. The snippet I get looks like this:

    <server>
      <username>${security.getCurrentUsername()}</username>
      <password>${security.getEscapedEncryptedPassword()!"*** Insert
encrypted password here ***"}</password>
      <id>central</id>
    </server>

It seems that the location on the profile to get the escaped, encrypted
password has been removed in 4.2.2 (or sometime before, but it's not there
now). There's nothing in the logs indicating any issue.

This seems like a pretty big issue, but I'm assuming I've configured
something incorrectly. Any pointers on this? Thanks!



--
View this message in context: http://forums.jfrog.org/Set-Me-Up-Maven-Settings-not-valid-tp7580624.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--

Jay Denebeim | Solutions Engineer | JFrog

3945 Freedom Circle | Santa Clara | CA 95054

U.S Toll Free: +1.888.494.2855 | Tel: +1.408.329.1540


This message may contain confidential and/or proprietary information, and is intended only for the person/entity to whom it was originally addressed. The content of this message may contain private views and opinions, which do not constitute a formal disclosure or commitment unless specifically stated.



------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users