Infrastructure
  1. Infrastructure
  2. INFRA-6414

getting unauthorized error trying to stage artifacts to a new maven repo

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: Initial Clearing
    • Component/s: Nexus
    • Labels:
      None

      Activity

      Joe Stein created issue -
      Jake Farrell made changes -
      Field Original Value New Value
      Component/s Nexus [ 12312660 ]
      Hide
      Brian Fox added a comment -
      I double checked the permissions for kafka and your user and everything appears to be correct. Have you provided your user/pass correctly in your maven settings?
      Show
      Brian Fox added a comment - I double checked the permissions for kafka and your user and everything appears to be correct. Have you provided your user/pass correctly in your maven settings?
      Brian Fox made changes -
      Assignee Brian Fox [ brianf ]
      Brian Fox made changes -
      Status Waiting for Infra [ 10011 ] Waiting for user [ 10010 ]
      Review Date 20/Jun/13
      Hide
      Joe Stein added a comment -
      I have tried both the encrypted and unencrypted version neither are working, maybe I have the id of the servers wrong or something else?

      <settings>
        <servers>
          <!-- To publish a snapshot of some part of Maven -->
          <server>
            <id>apache.snapshots.https</id>
            <username>joestein</username>
            <password></password>
          </server>
          <!-- To stage a release of some part of Maven -->
          <server>
            <id>apache.releases.https</id>
            <username>joestein</username>
            <password></password>
          </server>
        </servers>
      </settings>

      Here is what we have set in Kafka

          publishTo := Some("Apache Maven Repo" at "https://repository.apache.org/service/local/staging/deploy/maven2"),
          credentials += Credentials(Path.userHome / ".m2" / ".credentials"),

      Show
      Joe Stein added a comment - I have tried both the encrypted and unencrypted version neither are working, maybe I have the id of the servers wrong or something else? <settings>   <servers>     <!-- To publish a snapshot of some part of Maven -->     <server>       <id>apache.snapshots.https</id>       <username>joestein</username>       <password></password>     </server>     <!-- To stage a release of some part of Maven -->     <server>       <id>apache.releases.https</id>       <username>joestein</username>       <password></password>     </server>   </servers> </settings> Here is what we have set in Kafka     publishTo := Some("Apache Maven Repo" at " https://repository.apache.org/service/local/staging/deploy/maven2 "),     credentials += Credentials(Path.userHome / ".m2" / ".credentials"),
      Joe Stein made changes -
      Status Waiting for user [ 10010 ] Waiting for Infra [ 10011 ]
      Hide
      Brian Fox added a comment -
      I'm not familiar with the syntax of this particular build system, but it seems pretty clear based on everything else that the proper credentials aren't getting passed to Nexus on the deploy. In Maven, the id used in the server setting must match the id in the repository in order for it to know which credentials to pass. I don't see an id on your publishTo line.
      Show
      Brian Fox added a comment - I'm not familiar with the syntax of this particular build system, but it seems pretty clear based on everything else that the proper credentials aren't getting passed to Nexus on the deploy. In Maven, the id used in the server setting must match the id in the repository in order for it to know which credentials to pass. I don't see an id on your publishTo line.
      Brian Fox made changes -
      Status Waiting for Infra [ 10011 ] Waiting for user [ 10010 ]
      Hide
      Joe Stein added a comment -
      Thanks, I made changes to the credentials file I am using based on my tool and publishing to the staging repository is working now
      Show
      Joe Stein added a comment - Thanks, I made changes to the credentials file I am using based on my tool and publishing to the staging repository is working now
      Joe Stein made changes -
      Status Waiting for user [ 10010 ] Closed [ 6 ]
      Resolution Fixed [ 1 ]
      Hide
      Andrew Olson added a comment -
      Will Kafka 0.8.0-beta1 be available on a public maven repo?
      Show
      Andrew Olson added a comment - Will Kafka 0.8.0-beta1 be available on a public maven repo?
      Hide
      Andrew Olson added a comment -
      I see that it is now available here: http://search.maven.org/#artifactdetails|org.apache.kafka|kafka_2.8.0|0.8.0-beta1|N%2FA
      Show
      Andrew Olson added a comment - I see that it is now available here: http://search.maven.org/#artifactdetails |org.apache.kafka|kafka_2.8.0|0.8.0-beta1|N%2FA
      Gavin made changes -
      Fix Version/s Initial Clearing [ 12325964 ]
      Transition Time In Source Status Execution Times Last Executer Last Execution Date
      Waiting for user Waiting for user Waiting for Infra Waiting for Infra
      8d 11h 17m 1 Joe Stein 30/Jun/13 12:34
      Waiting for Infra Waiting for Infra Waiting for user Waiting for user
      7d 1h 51m 2 Brian Fox 05/Jul/13 13:51
      Waiting for user Waiting for user Closed Closed
      1d 23h 50m 1 Joe Stein 07/Jul/13 13:42

        People

        • Assignee:
          Brian Fox
          Reporter:
          Joe Stein
        • Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:
            Review Date:

            Development