Giter Site home page Giter Site logo

xsoloking / nexus-repository-import-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sonatype-nexus-community/nexus-repository-import-scripts

0.0 0.0 0.0 23 KB

A few scripts for importing artifacts into Nexus Repository

License: Apache License 2.0

Shell 100.00%

nexus-repository-import-scripts's Introduction

Nexus Repository Import Scripts

Wut?

These are bare bones bash scripts to import a Nexus 2 Maven, NuGet or npm repository (and likely other file system based repos) into Nexus Repository 3.

Wut does it do?

Imports artifacts into a Nexus Repository 3 Maven2, NuGet or npm hosted repo.

Wut does it not do?

Literally anything else. You want security? Better set it up yourself.

How do I use it?

  • Maven
    • cd rootdirectorywithallyourartifacts
    • ./mavenimport.sh -u admin -p admin123 -r http://localhost:8084/repository/maven-releases/
    • Watch a bunch of verbose output from curl
    • If need be, change -u to user, -p to password, and -r (I bet you'll have to change this) to the repo you want to upload in to
  • NuGet
    • cd rootdirectorywithallyournugetpackages
    • ./nugetimport.sh -k APIKEYFROMNEXUS - r http://localhost:8084/repository/nuget-hosted/
    • Watch the money roll in and the haters start askin
    • You'll need to obtain your APIKEY for Nexus Repository, and obviously set -r to the repo path you want to use
  • npm

Like it?

Great, buy me a beer.

nexus-repository-import-scripts's People

Contributors

xsoloking avatar darthhater avatar peterlynch avatar

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.