mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-398) Add mesos-0.10.0-incubating jar to maven central
Date Tue, 04 Jun 2013 03:19:20 GMT

    [ https://issues.apache.org/jira/browse/MESOS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673992#comment-13673992
] 

Vinod Kone commented on MESOS-398:
----------------------------------

Hey [~andyk], I'm still having problems uploading the 0.11.0 jar to artifactory. 
➜  ~/workspace/apache/mesos/build/src/java git:(0.11.x) mvn clean deploy -f mesos.pom

[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ mesos ---
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/mesos/mesos/0.11.0-incubating/mesos-0.11.0-incubating.jar
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/mesos/mesos/0.11.0-incubating/mesos-0.11.0-incubating.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.731s
[INFO] Finished at: Mon Jun 03 19:57:13 PDT 2013
[INFO] Final Memory: 15M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
on project mesos: Failed to deploy artifacts: Could not transfer artifact org.apache.mesos:mesos:jar:0.11.0-incubating
from/to apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2):
Failed to transfer file: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/mesos/mesos/0.11.0-incubating/mesos-0.11.0-incubating.jar.
Return code is: 401 -> [Help 1]


AFAICT, I've setup the settings.xml correctly. Here is the output from "mvn help:effective-settings"

<settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
  <localRepository xmlns="http://maven.apache.org/SETTINGS/1.1.0">/Users/vinod/.m2/repository</localRepository>
  <servers xmlns="http://maven.apache.org/SETTINGS/1.1.0">
    <server>
      <username>vinodkone</username>
      <password>***</password>
      <id>apache.snapshots.https</id>
    </server>
    <server>
      <username>vinodkone</username>
      <password>***</password>
      <id>apache.releases.https</id>
    </server>
  </servers>
  <pluginGroups xmlns="http://maven.apache.org/SETTINGS/1.1.0">
    <pluginGroup>org.apache.maven.plugins</pluginGroup>
    <pluginGroup>org.codehaus.mojo</pluginGroup>
  </pluginGroups>
</settings>

I've tried using both plain text password and encrypted password. I'm able to login fine to
https://repository.apache.org/ with the same username and password. Is there something else
that I need to do?

Even curling, as suggested at, http://blog.sonatype.com/people/2010/11/what-to-do-when-nexus-returns-401/,
returns error for me.

➜  ~/workspace/apache/mesos/build/src/java git:(0.11.x) curl -u vinodkone:**** "https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/mesos/mesos/0.11.0-incubating/mesos-0.11.0-test.pom"
--request PUT --data @mesos.pom -H 'Content-Type: application/xml'
<html>
<head>
   <title>Status page</title>
</head>
<body>
<h3>Illegal access of staging profile '170dfcbde91b3'</h3><p>You can get
technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>
                
> Add mesos-0.10.0-incubating jar to maven central
> ------------------------------------------------
>
>                 Key: MESOS-398
>                 URL: https://issues.apache.org/jira/browse/MESOS-398
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Andy Konwinski
>            Assignee: Andy Konwinski
>             Fix For: 0.10.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message