mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 02:59:16 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/mvn-deploy
Normal file
17
tldr/mvn-deploy
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mvn deploy
|
||||
|
||||
> Add an artifact to a remote repository.
|
||||
> More information: <https://manned.org/mvn>.
|
||||
|
||||
- Copy the final artifact into the remote repository configured in the `settings.xml` file:
|
||||
|
||||
`mvn deploy`
|
||||
|
||||
- Copy an artifact, that is not built using Maven to the remote repository:
|
||||
|
||||
`mvn deploy:deploy-file {{[-D|--define]}} url={{URLOfTheRemoteRepository}} {{[-D|--define]}} repositoryId={{ServerIdFromSettingsXML}} {{[-D|--define]}} file={{FileToBeDeployed}}`
|
||||
Reference in New Issue
Block a user