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 206206 </plugin >
207207 </plugins >
208208 </build >
209+
210+ <profiles >
211+ <profile >
212+ <id >release</id >
213+ <properties >
214+ <documentation .staging.dir>${rootProject.directory} /target/staging-deploy/</documentation .staging.dir>
215+ </properties >
216+ <build >
217+ <plugins >
218+ <plugin >
219+ <groupId >org.apache.maven.plugins</groupId >
220+ <artifactId >maven-assembly-plugin</artifactId >
221+ <configuration >
222+ <descriptors >
223+ <descriptor >${basedir} /src/main/assembly/docs.xml</descriptor >
224+ </descriptors >
225+ <appendAssemblyId >false</appendAssemblyId >
226+ <finalName >documentation</finalName >
227+ <tarLongFileMode >posix</tarLongFileMode >
228+ <outputDirectory >${documentation.staging.dir} </outputDirectory >
229+ </configuration >
230+ <executions >
231+ <execution >
232+ <id >stage-documentation</id >
233+ <phase >install</phase >
234+ <goals >
235+ <goal >single</goal >
236+ </goals >
237+ </execution >
238+ </executions >
239+ </plugin >
240+ </plugins >
241+ </build >
242+ </profile >
243+ </profiles >
209244</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/apidocs</directory >
19+ <outputDirectory >api</outputDirectory >
20+ </fileSet >
21+ <fileSet >
22+ <directory >../documentation/target/dist</directory >
23+ <outputDirectory >.</outputDirectory >
24+ </fileSet >
25+
26+ </fileSets >
27+
28+ </assembly >
You can’t perform that action at this time.
0 commit comments