Coder Social home page Coder Social logo

Comments (8)

branky avatar branky commented on September 28, 2024

It's suppose to be conjars. I used mvn:deploy, but failed with authorization issue.

[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ cascading-hive ---
Downloading: http://conjars.org/repo/cascading/cascading-hive/0.0.1-SNAPSHOT/maven-metadata.xml
Uploading: http://conjars.org/repo/cascading/cascading-hive/0.0.1-SNAPSHOT/cascading-hive-0.0.1-20140317.023148-1.jar
14888/15863 KB
Uploading: http://conjars.org/repo/cascading/cascading-hive/0.0.1-SNAPSHOT/cascading-hive-0.0.1-20140317.023148-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:16.471s
[INFO] Finished at: Mon Mar 17 10:33:39 CST 2014
[INFO] Final Memory: 9M/93M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project cascading-hive: Failed to deploy artifacts: Could not transfer artifact cascading:cascading-hive:jar:0.0.1-20140317.023148-1 from/to conjars (http://conjars.org/repo): Failed to transfer file: http://conjars.org/repo/cascading/cascading-hive/0.0.1-SNAPSHOT/cascading-hive-0.0.1-20140317.023148-1.jar. Return code is: 401, ReasonPhrase: Unauthorized.

Do you have any idea how can I get authorized?

from cascading.hive.

fs111 avatar fs111 commented on September 28, 2024

Did you sign up for an account on conjars? Did you upload your ssh key? http://conjars.org/register

Also, you won't be able to upload the jar, if you are using the 'cascading' group id. Only we can use that. Once you have registered, you will be assigned one, that you can use.

from cascading.hive.

branky avatar branky commented on September 28, 2024

I have registered an account and uploaded my ssh pub key to the site.

"you won't be able to upload the jar, if you are using the 'cascading' group id. Only we can use that."
-- this might be the root cause.
But I tried to change the assigned group id to be "org.clojars.branky", still got same error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project cascading-hive: Failed to deploy artifacts: Could not transfer artifact org.clojars.branky:cascading-hive:jar:0.0.1-20140317.122457-1 from/to conjars (http://conjars.org/repo): Failed to transfer file: http://conjars.org/repo/org/clojars/branky/cascading-hive/0.0.1-SNAPSHOT/cascading-hive-0.0.1-20140317.122457-1.jar. Return code is: 401, ReasonPhrase: Unauthorized.

from cascading.hive.

fs111 avatar fs111 commented on September 28, 2024

I believe you have to setup your project like so to make it work with maven: http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html

from cascading.hive.

branky avatar branky commented on September 28, 2024

Yes, maven has been setup properly.

I just realized that I can't logon conjars through ssh:
$ ssh [email protected]
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Is this working for you?

from cascading.hive.

fs111 avatar fs111 commented on September 28, 2024

you cannot log into conjars. You can only upload a jar/pom via scp

from cascading.hive.

branky avatar branky commented on September 28, 2024

I gave up with mvn deploy, scp works elegantly!

from cascading.hive.

cwensel avatar cwensel commented on September 28, 2024

fwiw, you should just be able to push using your conjars user/password over http.

but good we have the scp option working as well.

from cascading.hive.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.