Comments (17)
so looks like nexus 3 now supports apis https://help.sonatype.com/repomanager3/rest-and-integration-api
from vsts-nexus.
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.
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.
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.
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.
We're investigating adding Nexus 3 support right now.
from vsts-nexus.
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.
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.
It would be great if you could make it more prominent that this extension currently only works with Nexus v2.
from vsts-nexus.
Is there a time frame we can expect for support with Nexus 3?
from vsts-nexus.
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.
Does Nexus 3 have any REST API's?
from vsts-nexus.
Seems so:
http://books.sonatype.com/nexus-book/reference3/scripting.html
from vsts-nexus.
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.
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.
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.
from vsts-nexus.
Related Issues (12)
- Getting in touch HOT 1
- Nexus url incorrect formatting HOT 1
- nexus plugin works only for maven repositories HOT 2
- ¿Nexus version 3.0? HOT 1
- Success if upload fails HOT 1
- Multiple file upload is not working.
- Packaging input should be a drop-down with set options HOT 1
- The "Extension" field allows unsupported input values HOT 1
- Does this build extension support Nexus Repository Manager OSS 3.0? HOT 3
- Cannot create a proper vsix from the master branch HOT 1
- Need a way to trust the nexus server certificate. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsts-nexus.