• 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
      • bnd CLI 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
  • -deployrepo

    Prev Next
    Project
    Specifies to which repo the project should be deployed.

    • Example: -deployrepo=cnf

    • Values: ${repos}

    • Pattern: .*



    The -deployrepo instruction is used to deploy a bundle (JAR file) to a specific repository using deploy plugins, such as the MavenDeploy plugin. You can specify the repository by name, and the bundle will be uploaded to that repository if it supports write operations.

    If no repository name is provided, the first writable repository found will be used. If no suitable repository is found, deployment will fail with an error. This instruction is typically used in conjunction with plugins that handle the actual deployment process.

    Note: This feature may require additional configuration and plugin support to work as intended.


    TODO Needs review - AI Generated content

Prev Next
Search
    • Home