Giter VIP home page Giter VIP logo

nexus-cli's Introduction

nexus-cli Build Status

TODOs

  • 1.0.0 refactoring model because it is the godawful mess

nexus-cli

I share a volume where i have my upload.jar file.

#run your own nexus
docker run -d -P --name nexus sonatype/nexus3:3.5.1
docker build --tag sjeandeaux/nexus-cli .
docker run --link nexus:nexus -ti -v $(pwd):$(pwd):ro sjeandeaux/nexus-cli \
                              -repo=http://nexus:8081/repository/maven-releases \
                              -user=admin \
                              -password=admin123 \
                              -file=$(pwd)/upload.jar \
                              -groupID=com.jeandeaux \
                              -artifactID=elyne \
                              -version=0.1.0 \
                              -hash md5 \
                              -hash sha1
#or with the binary
nexus-cli -repo=http://nexus:8081/repository/maven-releases \
                              -user=admin \
                              -password=admin123 \
                              -action PUT \
                              -file=upload.jar \
                              -groupID=com.jeandeaux \
                              -artifactID=elyne \
                              -version=0.1.0 \
                              -hash md5 \
                              -hash sha1

nexus-cli -repo=http://nexus:8081/repository/maven-releases \
                              -user=admin \
                              -password=admin123 \
                              -action DELETE \
                              -file=upload.jar \
                              -groupID=com.jeandeaux \
                              -artifactID=elyne \
                              -version=0.1.0 \
                              -hash md5 \
                              -hash sha1

nexus-cli's People

Contributors

sjeandeaux avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nexus-cli's Issues

[Q] How to publish without POM

Hi,
Great tool!
I was just wondering: is there a way to publish artifacts without generatins POM fields? I'm publish non maven artifacts and POM is not necessary.

[Q] How to publish multiple files

Hi,

I was trying to publish multiple files into one artifact using simple glob: $(ls) but it does not seem to be possible. Any hints?

[publish] exe

[windows] [☯ nexus-cli ☯] ⇒ 2018/09/12 17:57:45 400 Detected content type [application/x-msdownload], but expected [application/x-dosexec]: SNAPSHOT.exe

use as a library

Thank you for your work on this!

Are you encouraging using this as a library to implement artifact transports to sonatype nexus? i am in need of some automation and also right now have written an concourse-ci resource to upload to nexus using curl ( in go ) .. but could think about using your library too.

Are there any plans to implement artifact deletion?

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.