Copy Distribution Management Snippets
To upload or download dependencies while running a build, add the Distribution Management snippet or the Dependency Declaration snippet to the POM file.
Action | How To |
---|---|
Copy the Distribution Management snippet |
|
Copy the Dependency Declaration snippet |
|
Tip:
You can copy the Maven repository’s URL from the distribution snippet or you can copy it from the Project Home page.On the Project Home page, click the
Repositories tab. In the Maven section, from the
project repository's URLs menu, select
HTTPS or Webdav, and click
Copy
to copy either the HTTPS or the WebDAV URL to the clipboard.
Use the HTTPS URL to connect to the Maven repository using the HTTP protocol. Use the Webdav URL to connect to the repository using the Webdav protocol.