File tree 2 files changed +32
-2
lines changed
2 files changed +32
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
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 |
You can’t perform that action at this time.
0 commit comments