Giter VIP home page Giter VIP logo

nexus3-artifact-upload's Introduction

Nexus 3 Artifact Upload Build Status

A drop-in solution for the missing artifact upload UI for Sonatype Nexus 3 Repository.

Screenshot

Table of Contents

Installation

Our goal was to make installation as easy as possible: you need to host the index.html file on your Nexus 3 installation in a raw repository, that has public access. Yes, that is all.

Example:

  • Consider having your Nexus 3 running at https://nexus.mycompany.com/nexus and a raw repository identified as utils
  • Grab the index.html and upload it with curl (or whatever you like):
    $ curl -u <user>:<password> \
           --upload-file index.html \
           https://nexus.mycompany.com/nexus/repository/utils/uploader
    Note that user and password should be an account that has write access to the utils repository.
  • Done

Usage

Visit https://nexus.mycompany.com/nexus/repository/utils/uploader and enjoy the integrated artifact uploader. You can pick a repository, browse (or drop) a file, fill in the details, and press the upload button.

Contributing

By all means! If you have a fix or an improvement, pull requests are welcome. We are also happy to get any feedback.

Known issues

  • This is really a basic implementation, some useful features are missing. You can upload files with Maven's GAV style, or do raw uploads to any other repository (in this case you need to know the proper URL).
  • Input is not validated, it will try to upload with specified settings, and you will have a success, or an error based on what you did.
  • You can use the login feature of Nexus, but if you are not logged in, you will be promted for Basic Auth by the browser. That will work for upload, if your setup allows that.
  • The JavaScript code uses arrow functions, so it will not work with IE11, but you can experiment with Babel!

Browsers we tried

Google Chrome 58.0 Chromium 58.0 Opera 45.0 Microsoft Edge 38 Mozilla Firefox 53.0 Safari 10.1.1 IE11
✔ (weird looks) ✔ (visual glitches)

Checked Nexus 3 Versions

  • PRO 3.2.1-01
  • OSS 3.3.1-01

License

MIT License

Copyright (c) 2017 TOPdesk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

nexus3-artifact-upload's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nexus3-artifact-upload's Issues

Multiple file or directory upload

Hello. This is very helpful, thanks for it!

Is there any way to upload more than one file at a time or even a directory? If not, do you intend to add that feature soon?

Upload md5, sha1

Is there any way to upload md5 & sha1 files (containing checksums of jar & pom files)?
I've received an error "Invalid path for a Maven 2 repository" when I try.

Many thanks!

Just wanted to drop a line and say THANKS! This is an amazingly simple utility that just works and is real life saver.

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.