• Intro Headers Instructions Macros
  • Fork me on GitHub
    • Release
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Manifest Annotations
    • Resolving Dependencies
    • Launching
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • From the command line
    • For Developers
    • Plugins
    • Tools bound to bnd
    • File Format
    • Header Reference
    • Instruction
    • Instruction Index
    • Macro Reference
    • Command Reference
    • Plugins Reference
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
    Supported by OSGi enRoute
  • repo [options] ...

    OPTIONS

    [ -c, –cache ] - Include the cache repository [ -f, –filerepo * ] - Add a File Repository [ -m, --maven ] - Include the maven repository [ -p, --project ] - Specify a project [ -r, --release ] - Override the name of the release repository (-releaserepo)

    Available sub-commands:

    copy -
    diff - Diff jars (or show tree) get - Get an artifact from a repository. list - List all artifacts from the current repositories with their versions put - Put an artifact into the repository after it has been verified. refresh - Refresh refreshable repositories repos - List the current repositories versions - Displays a list of versions for a given bsn that can be found in the current repositories. NAME copy -

    SYNOPSIS copy [options]

    OPTIONS

    [ -d, –dry ] - Do not really copy but trace the steps

                                NAME   diff                        - Show the diff tree of a single repo or compare 2
                                repos. A diff tree is a detailed tree of all
                                aspects of a bundle, including its packages,
                                types, methods, fields, and modifiers.
    

    SYNOPSIS diff [options] <[older repo]>

    OPTIONS

    [ -a, –added ] - Just additions (no removes) [ -A, –all ] - Both add and removes [ -d, –diff ] - Formatted like diff [ -f, –full ] - Show full diff tree (also wen entries are equal) [ -j, –json ] - Serialize to JSON [ -r, –remove ] - Just removes (no additions)

    biz.aQute.bnd (master)$ bnd repo help get

    NAME get - Get an artifact from a repository.

    SYNOPSIS get [options] <[range]>

    OPTIONS

    [ -f, –from ] - [ -l, --lowest ] - [ -o, --output ] - Where to store the artifact

    biz.aQute.bnd (master)$ bnd repo help list

    NAME list - List all artifacts from the current repositories with their versions

    SYNOPSIS list [options]

    OPTIONS

    [ -f, –from ] - A glob expression on the source repo, default is all repos [ -n, --noversions ] - Do not list the versions, just the bsns [ -q, --query ] - Optional search term for the list of bsns (given to the repo)

    biz.aQute.bnd (master)$ bnd repo help put

    NAME put - Put an artifact into the repository after it has been verified.

    SYNOPSIS put [options] «jar>…>

    OPTIONS

    [ -f, –force ] - Put in repository even if verification fails (actually, no verification is done).

    biz.aQute.bnd (master)$ bnd repo help refresh

    NAME refresh - Refresh refreshable repositories

    SYNOPSIS refresh biz.aQute.bnd (master)$ bnd repo help repos

    NAME repos - List the current repositories

    SYNOPSIS repos biz.aQute.bnd (master)$ bnd repo help versions

    NAME versions - Displays a sorted set of versions for a given bsn that can be found in the current repositories.

    SYNOPSIS versions

    • Contact
    • Developers
    • More