I try to encrypt my password in the settings.xml. With the password as plain text Hudson works and I can deploy to the repository, but with the encrypted password, it won´t work. I can deploy with maven over command line with the encrypted password, so the problem has to be with Hudson. I don´t use the bundled Maven. Also the settings-security.xml is correct.
The Maven goals are: clean deploy.