Skip to content

Commit e20c784

Browse files
committed
doc: added some basic description of what this library does.
1 parent d73ff6b commit e20c784

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

README.md

-2
This file was deleted.

README.org

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
* maven
2+
Maven shell utilities
3+
4+
** Features
5+
*** automating releases
6+
7+
** Automating Releases
8+
9+
For automating the release of a maven project the maven_release function is provided:
10+
11+
For example:
12+
13+
#+BEGIN_SRC shell
14+
#!/bin/bash
15+
16+
source $(grab github.com/shellib/maven)
17+
18+
pushd workspace/src/github.com/sundrio/sundrio/
19+
maven_release --release-version 0.8.1 --dev-version 0.8-SNAPSHOT
20+
popd
21+
#+END_SRC
22+
23+
The actual options supported by the command are:
24+
25+
| Option | Required | Description |
26+
|----------------------+----------+-------------------------------------------------------|
27+
| --release-version | true | The release version |
28+
| --dev-version | true | The version that will be set after the release |
29+
| --release-snapshots | false | Release snapshot artifacts |
30+
| --staging-profile-id | false | The staging profile id (as seen in the nexus console) |
31+
| --nexus-rul | false | The nexus server url |
32+
| --dry-run | false | Dry run. No release will take place |

0 commit comments

Comments
 (0)