Git Product home page Git Product logo

Comments (17)

mrpolaris avatar mrpolaris commented on May 10, 2024 2

so looks like nexus 3 now supports apis https://help.sonatype.com/repomanager3/rest-and-integration-api

from vsts-nexus.

ypupo2002 avatar ypupo2002 commented on May 10, 2024 1

This plugin does not supports nexus 3 because it depends on the nexus 2 rest api which isn't present on the v3.

For reference, see this issue #5 and this link: https://groups.google.com/a/glists.sonatype.com/forum/#!topic/nexus-users/eb7jeXKNgdU

from vsts-nexus.

ypupo2002 avatar ypupo2002 commented on May 10, 2024 1

As this plugin only supports uploading artifacts to maven repositories, it could relay on the standard http api used by maven clients. A reference implementation is the apache http provider for maven wagon located at https://github.com/apache/maven-wagon/tree/wagon-2.10/wagon-providers/wagon-http

from vsts-nexus.

yacaovsnc avatar yacaovsnc commented on May 10, 2024

The endpoint doesn't look right. We have recorded a video tutorial here: https://www.youtube.com/watch?v=bIIIh0Ki0q0

Hope that helps. Thanks!

from vsts-nexus.

dev7dev8 avatar dev7dev8 commented on May 10, 2024

I think this does not support Nexus 3. I was unable to get this working in v3, but v2 worked just fine

from vsts-nexus.

davidstaheli avatar davidstaheli commented on May 10, 2024

We're investigating adding Nexus 3 support right now.

from vsts-nexus.

yacaovsnc avatar yacaovsnc commented on May 10, 2024

It appears REST api is still not available in nexus v3.2. :(

As of now, if 'mvn deploy' works for you, a workaround would be using the Maven task and do the same.

from vsts-nexus.

terminatur avatar terminatur commented on May 10, 2024

It's awesome you guys are active on this. I have decided to go with Nexus 2 for now, since that is working with the extension.

from vsts-nexus.

ajross avatar ajross commented on May 10, 2024

It would be great if you could make it more prominent that this extension currently only works with Nexus v2.

from vsts-nexus.

terminatur avatar terminatur commented on May 10, 2024

Is there a time frame we can expect for support with Nexus 3?

from vsts-nexus.

davidstaheli avatar davidstaheli commented on May 10, 2024

Hi @terminatur. Unfortunately, Nexus 3 still doesn't have REST APIs for this extension to upload into. The best solution for now is using a Maven pom.xml file to upload an artifact into Nexus via Nexus' Maven support. Just curious... would this workaround be a natural part of a Java build process for you, or are you uploading non-Java artifacts or using non-Java builds?

from vsts-nexus.

dangmike avatar dangmike commented on May 10, 2024

Does Nexus 3 have any REST API's?

from vsts-nexus.

24mu13 avatar 24mu13 commented on May 10, 2024

Seems so:
http://books.sonatype.com/nexus-book/reference3/scripting.html

from vsts-nexus.

quartelh avatar quartelh commented on May 10, 2024

Using curl it is quite easy to upload file to Nexus 3 (be it just the file, and not the associated pom file, and related md5 and sha... so it is a crude way to use Nexus as binary repository):
curl -u <username>:<password> --upload-file <artifactId>-<version>.<extention> <url to nexus>/repository/<name of repository>/<groupId using '/' separators>/<artifactId>/<version>/<artifactId>-<version>.<extention>

optionally add --insecure when using https with a self-signed certificate.

Adhering to the Maven2 repo layout is important for this to work.

I use the cURL Upload File Task for this in VSTS to upload to Nexus 3.

from vsts-nexus.

IronCity avatar IronCity commented on May 10, 2024

I currently have the docker container with nexus 3 installed too,
I faced same issue when I try to deploy application into nexus 3 repository.
Now I used mvn deploy:deploy-file command
I hope soon I can do deploy by pom.xml file to nexus 3 repository use mvn deploy command

from vsts-nexus.

heresandyboy avatar heresandyboy commented on May 10, 2024

Hi,
It's been a while since there was any update on extension support for Nexus 3, since the API was added, how is everyone integrating these days? Still a combination of cURL and Maven tasks?

from vsts-nexus.

quartelh avatar quartelh commented on May 10, 2024

from vsts-nexus.

Related Issues (12)

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.