0

I'm creating a new custom maven archetype for android... it's installed and working.

But where I try use mvn release:perform, I get the following error:

[DEBUG] pushing to http://code.programadoremjava.com.br/android-archetype
[DEBUG] searching for changes
[DEBUG] ignoring invalid [auth] key 'username'
[DEBUG] ignoring invalid [auth] key 'password'
[DEBUG] abort: http authorization required for http://code.programadoremjava.com.br/android-archetype

The project hgrc is here:

[paths]
default = http://code.programadoremjava.com.br/android-archetype
[auth]
username=MyUser
password=MyPass

What are wrong/missing?

brbrbr
  • 157
  • 4
  • 17

1 Answers1

0

Try this:

[paths]
default = http://code.programadoremjava.com.br/android-archetype

[auth]
repo.prefix = http://code.programadoremjava.com.br/android-archetype
repo.username = MyUser
repo.password = MyPass

Much more details you can find here: How to save username and password with Mercurial?

Community
  • 1
  • 1
Bozydar Sobczak
  • 684
  • 5
  • 16