• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Getting Started
      • Introduction
      • How to install bnd
      • Guided Tour Workspace & Projects
      • bnd / bndlib Features and JAR Wrapping Techniques
      • FAQ - Frequently Asked Questions
    • Concepts and Practices
      • Concepts
      • Background
      • Best practices
    • Build and Development
      • Build
      • Generating JARs
      • Versioning
      • Baselining
      • Service Components
      • Metatype
      • Contracts
      • Bundle Annotations
      • Accessor Properties
      • SPI Annotations
    • Dependency and Launching
      • Resolving Dependencies
      • Launching
      • Startlevels
    • Testing
      • Testing
      • Testing with Launchpad
    • Packaging and Distribution
      • Packaging Applications
      • JPMS Libraries
      • Wrapping Libraries to OSGi Bundles
    • Documentation and Tools
      • Generating Documentation
      • Commands
      • For Developers
      • Templates for Workspaces
      • Tips for Windows users
      • Tools bound to bnd
    • Reference Material
      • Reference
      • Headers
      • Instruction Reference
      • Instruction Index
      • Macro Reference
      • Macro Index
      • Plugins
      • External Plugins
    • Configuration and Troubleshooting
      • Settings
      • Errors
      • Warnings
  • nexus

    Prev Next

    Description

    Nexus repository command. Provides a number of sub commands to manipulate a Nexus repository.

    Synopsis:

       nexus [options]  <sub-cmd> ...
    

    Options:

    • [ -c --compatible <compatible> ]
    • [ -s --settings <string> ] Specify the connection-settings for the HttpClient. Default looks for the normal settings files.
    • [ -u --url <uri> ] Specify the URL of the Nexus repository.

    Available sub-commands

    • createstaging - Create a staging repository. The profileId specifies a particular profile. If you go to nexus, select the staging profiles, and then select the profile you want to use. The profile id is then in the url.
    • delete - Delete a file in a staging repository by id
    • fetch - Fetch a file to staging repository by id
    • files -
    • index -
    • sign -
    • upload - Upload a file to staging repository by id

    createstaging

    Create a staging repository. The profileId specifies a particular profile. If you go to nexus, select the staging profiles, and then select the profile you want to use. The profile id is then in the url.

    Synopsis:

       createstaging [options]  <profileId>
    
    Options:
    • [ -d --description <string> ]

    delete

    Delete a file in a staging repository by id

    Synopsis:

       delete [options]  <repositoryId> <remotepath_or_gav>
    
    Options:
    • [ -f --force ]

    fetch

    Fetch a file to staging repository by id

    Synopsis:

       fetch [options]  <repositoryId> <remotepath_or_gav>
    
    Options:
    • [ -f --force ]
    • [ -o --output <file> ]

    files

    Synopsis:

       files [options]  <files...>
    
    Options:
    • [ -e --exclude <string> ] A resource URI is only include if the include pattern appears in the path and the exclude does not appear
    • [ -i --include <string> ] A resource URI is only include if the include pattern appears in the path and the exclude does not appear
    • [ -r --relative ]

    index

    Synopsis:

       index [options]  ...
    
    Options:
    • [ -d --depth <int> ]
    • [ -n --name <string> ]
    • [ -o --output <string> ]
    • [ -r --referal <uri> ]

    sign

    Synopsis:

       sign [options]  <path...>
    
    Options:
    • [ -c --command <string> ] Specify the path to the gpg command. The gpg path can also be specified using the ‘gpg’ system property or the ‘GPG’ environment variable. Defaults to ‘gpg’.
    • [ -f --from <uri> ] Specify the URL to a Nexus repository from which to obtain the artifacts to sign. Defaults to signing the specified paths to the sign subcommand.
    • [ -i --include <string> ] Specify the include pattern for artifacts from the ‘–from’ option. Defaults to ‘**’.
    • [ -k --key <string> ] Specify the local-user USER-ID for signing. Defaults to signing with the default key.
    • [ -p --password <string> ] Specify the passpharse to the gpg command. Defaults to reading stdin for the passphrase.
    • [ -s --show ] Only compute and display the signatures but do not upload them.
    • [ -t --threads <int> ] Specify the number of threads to use when downloading, signing, and uploading artifacts. Defaults to one thread.
    • [ -x --xclude <string> ] Specify the exclude pattern for artifacts from the ‘–from’ option. Defaults to no exclude pattern.

    upload

    Upload a file to staging repository by id

    Synopsis:

       upload [options]  <repositoryId> <remotepath_or_gav> <file>
    
    Options:
    • [ -f --force ]
Prev Next
Search
    • Home