It shows up in a message like that: impossible to publish artifacts for com-test#coolsoftwaremodule;working@pboethig: java.io.IOException: Access to URL http://localhost:8082/content/repositories/releases/com-test/coolsoftwaremodule/1.2.3.4/coolsoftwaremodule-1.2.3.4.zip was refused by the server: Unauthorized
I wrongly have used a build.properties like that:
repo.protocoll=http
repo.host=localhost:8082
repo.realm=Sonatype Nexus Repository Manager
repo.username=admin
repo.password=admin123
and a credentialsobject like that:
<credentialsIf you want to ivy:publish to a custom port you have to configure the port like that:
host="${repo.host}"
realm="${repo.realm}"
username="${repo.username}"
passwd="${repo.password}"
repo.protocoll=http
repo.host=localhost
repo.port=8082
repo.realm=Sonatype Nexus Repository Manager
repo.username=admin
repo.password=admin123
and a credentialsobject like that:
<credentialsHope that will save you some time!
host="${repo.host}"
port="${repo.port}"
realm="${repo.realm}"
username="${repo.username}"
passwd="${repo.password}"
Keine Kommentare:
Kommentar veröffentlichen