File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 176
176
</plugin >
177
177
</plugins >
178
178
</build >
179
+
180
+ <profiles >
181
+ <profile >
182
+ <id >release</id >
183
+ <properties >
184
+ <documentation .staging.dir>${rootProject.directory} /target/staging-deploy/</documentation .staging.dir>
185
+ </properties >
186
+ <build >
187
+ <plugins >
188
+ <plugin >
189
+ <groupId >org.apache.maven.plugins</groupId >
190
+ <artifactId >maven-assembly-plugin</artifactId >
191
+ <configuration >
192
+ <descriptors >
193
+ <descriptor >${basedir} /src/main/assembly/docs.xml</descriptor >
194
+ </descriptors >
195
+ <appendAssemblyId >false</appendAssemblyId >
196
+ <finalName >documentation</finalName >
197
+ <tarLongFileMode >posix</tarLongFileMode >
198
+ <outputDirectory >${documentation.staging.dir} </outputDirectory >
199
+ </configuration >
200
+ <executions >
201
+ <execution >
202
+ <id >stage-documentation</id >
203
+ <phase >install</phase >
204
+ <goals >
205
+ <goal >single</goal >
206
+ </goals >
207
+ </execution >
208
+ </executions >
209
+ </plugin >
210
+ </plugins >
211
+ </build >
212
+ </profile >
213
+ </profiles >
179
214
</project >
Original file line number Diff line number Diff line change
1
+ <?xml version =' 1.0' encoding =' UTF-8' ?>
2
+ <!--
3
+ SPDX-License-Identifier: Apache-2.0
4
+ Copyright Red Hat Inc. and Hibernate Authors
5
+ -->
6
+
7
+ <assembly >
8
+ <id >docs</id >
9
+ <formats >
10
+ <format >dir</format >
11
+ </formats >
12
+
13
+ <baseDirectory >.</baseDirectory >
14
+
15
+ <fileSets >
16
+ <!-- Include documentation -->
17
+ <fileSet >
18
+ <directory >target/site/javadocs/apidocs</directory >
19
+ <outputDirectory >api</outputDirectory >
20
+ </fileSet >
21
+ <fileSet >
22
+ <directory >../documentation/target/dist</directory >
23
+ <outputDirectory >reference</outputDirectory >
24
+ </fileSet >
25
+
26
+ </fileSets >
27
+
28
+ </assembly >
You can’t perform that action at this time.
0 commit comments