Re: mvn deploy and password encryption
The Maven version shouldn't matter. What does the Nexus log say? I would start with unencrypted passwords first, to make sure I have Nexus correctly configured and that I can deploy. Then I would start encrypting the passwords. Not two things at the same time. /Anders On Thu, Jan 6, 2011 at 01:28, Steve Cohen sco...@javactivity.org wrote: I figured that that must be the case. Do you have any idea why this would fail? Could the 3.0.1 vs. 2.2.1 thing be involved or MUST it be that I'm making a mistake I just can't see? On 01/05/2011 05:04 PM, Benjamin Bentmann wrote: Steve Cohen wrote: Another thing I notice is that mvn -ep {password} when run several times in succession generates different encryptions each time. This is correct/expected, the encrypted value is also based on a random salt. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn deploy and password encryption
It was a stupid user error. Thanks. On 01/06/2011 01:59 AM, Anders Hammar wrote: The Maven version shouldn't matter. What does the Nexus log say? I would start with unencrypted passwords first, to make sure I have Nexus correctly configured and that I can deploy. Then I would start encrypting the passwords. Not two things at the same time. /Anders On Thu, Jan 6, 2011 at 01:28, Steve Cohensco...@javactivity.org wrote: I figured that that must be the case. Do you have any idea why this would fail? Could the 3.0.1 vs. 2.2.1 thing be involved or MUST it be that I'm making a mistake I just can't see? On 01/05/2011 05:04 PM, Benjamin Bentmann wrote: Steve Cohen wrote: Another thing I notice is that mvn -ep {password} when run several times in succession generates different encryptions each time. This is correct/expected, the encrypted value is also based on a random salt. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
mvn deploy and password encryption
I am, for the first time, trying to use a nexus repository. I have read all the information here: http://maven.apache.org/guides/mini/guide-encryption.html on password encryption and to the best of my knowledge, have followed it correctly and set up my setting.xml, settings-security.xml and pom file correctly to enable deployment. And yet, when I try to deploy something to my repository, I get 401 errors. The one question I am having is that I am using maven 3.0.1, whereas the repo may be expecting 2.2.1. Would this make a difference here, and how can I debug the situation? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn deploy and password encryption
On 01/05/2011 04:36 PM, Steve Cohen wrote: I am, for the first time, trying to use a nexus repository. I have read all the information here: http://maven.apache.org/guides/mini/guide-encryption.html on password encryption and to the best of my knowledge, have followed it correctly and set up my setting.xml, settings-security.xml and pom file correctly to enable deployment. And yet, when I try to deploy something to my repository, I get 401 errors. The one question I am having is that I am using maven 3.0.1, whereas the repo may be expecting 2.2.1. Would this make a difference here, and how can I debug the situation? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Another thing I notice is that mvn -ep {password} when run several times in succession generates different encryptions each time. Yet the instructions tell you to add the encrypted value to the settings file. Can this be right, or will several different encryptions yield the same unencrypted pw when decrypted? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn deploy and password encryption
Steve Cohen wrote: Another thing I notice is that mvn -ep {password} when run several times in succession generates different encryptions each time. This is correct/expected, the encrypted value is also based on a random salt. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn deploy and password encryption
I figured that that must be the case. Do you have any idea why this would fail? Could the 3.0.1 vs. 2.2.1 thing be involved or MUST it be that I'm making a mistake I just can't see? On 01/05/2011 05:04 PM, Benjamin Bentmann wrote: Steve Cohen wrote: Another thing I notice is that mvn -ep {password} when run several times in succession generates different encryptions each time. This is correct/expected, the encrypted value is also based on a random salt. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org