It seems to publish the maven artifacts to bintray.com, not apache repository.
just took a quick look at your pom.xml, it seems that your profile doesn't inherit from Apache POM, which will help you setup the distribution management section to use the correct release / snapshot repositories. You can checkout the instructions here - http://www.apache.org/dev/publishing-maven-artifacts.html Hope this helps! - Sijie On Wed, Jun 6, 2018 at 1:20 AM Ohad Shacham <oh...@oath.com.invalid> wrote: > Hi All, > > I am trying to deploy Omid 0.9.0.0 release and get the following error: > > [*ERROR*] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy *(default-deploy)* > on project omid: *Failed to deploy artifacts: Could not transfer artifact > org.apache.omid:omid:pom:0.9.0.0 from/to bintray > (https://api.bintray.com/maven/yahoo/maven/omid > <https://api.bintray.com/maven/yahoo/maven/omid>): Failed to transfer > file: > > https://api.bintray.com/maven/yahoo/maven/omid/org/apache/omid/omid/0.9.0.0/omid-0.9.0.0.pom > < > https://api.bintray.com/maven/yahoo/maven/omid/org/apache/omid/omid/0.9.0.0/omid-0.9.0.0.pom > >. > Return code is: 401, ReasonPhrase: Unauthorized.* -> *[Help 1]* > > I am using command: > mvn deploy -Phbase-1 -Prelease_profile -DskipTests > > The release tag is: > https://git-wip-us.apache.org/repos/asf/incubator-omid.git/? > p=incubator-omid.git;a=tag;h=229831bc377e47431cc7cbc211803069158b5711 > > and the repository is: > > https://git-wip-us.apache.org/repos/asf/incubator-omid.git > > Can anyone please advise? > > Thanks, > Ohad >