File tree 2 files changed +47
-14
lines changed 2 files changed +47
-14
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,23 @@ Further reading:
13
13
* [ About Kaitai Struct] ( http://kaitai.io/ )
14
14
* [ About API implemented in this library] ( http://doc.kaitai.io/stream_api.html )
15
15
* [ Java-specific notes] ( http://doc.kaitai.io/lang_java.html )
16
+
17
+ # Build
18
+ To build library run the following command:
19
+
20
+ ``` console
21
+ mvn install
22
+ ```
23
+
24
+ # Release
25
+ To make a release ensure that you have:
26
+
27
+ - a [ gpg] ( https://gnupg.org/ ) installed
28
+ - a [ configured] ( https://maven.apache.org/plugins/maven-gpg-plugin/usage.html ) gpg signing key
29
+ - pass ` -DperformRelease=true ` argument to the maven command invocation:
30
+
31
+ ``` console
32
+ mvn -DperformRelease=true deploy
33
+ ```
34
+
35
+ See also http://doc.kaitai.io/developers.html#java .
Original file line number Diff line number Diff line change 54
54
<maven .compiler.release>7</maven .compiler.release>
55
55
</properties >
56
56
</profile >
57
+ <profile >
58
+ <id >release-sign-artifacts</id >
59
+ <activation >
60
+ <property >
61
+ <name >performRelease</name >
62
+ <value >true</value >
63
+ </property >
64
+ </activation >
65
+ <build >
66
+ <plugins >
67
+ <plugin >
68
+ <groupId >org.apache.maven.plugins</groupId >
69
+ <artifactId >maven-gpg-plugin</artifactId >
70
+ <version >3.0.1</version >
71
+ <executions >
72
+ <execution >
73
+ <id >sign-artifacts</id >
74
+ <phase >verify</phase >
75
+ <goals >
76
+ <goal >sign</goal >
77
+ </goals >
78
+ </execution >
79
+ </executions >
80
+ </plugin >
81
+ </plugins >
82
+ </build >
83
+ </profile >
57
84
</profiles >
58
85
59
86
<build >
116
143
</tags >
117
144
</configuration >
118
145
</plugin >
119
- <plugin >
120
- <groupId >org.apache.maven.plugins</groupId >
121
- <artifactId >maven-gpg-plugin</artifactId >
122
- <version >3.0.1</version >
123
- <executions >
124
- <execution >
125
- <id >sign-artifacts</id >
126
- <phase >verify</phase >
127
- <goals >
128
- <goal >sign</goal >
129
- </goals >
130
- </execution >
131
- </executions >
132
- </plugin >
133
146
</plugins >
134
147
</build >
135
148
You can’t perform that action at this time.
0 commit comments