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 367
367
</plugin >
368
368
</plugins >
369
369
</build >
370
+
371
+ <profiles >
372
+ <profile >
373
+ <id >release</id >
374
+ <properties >
375
+ <documentation .staging.dir>${rootProject.directory} /target/staging-deploy/</documentation .staging.dir>
376
+ </properties >
377
+ <build >
378
+ <plugins >
379
+ <plugin >
380
+ <groupId >org.apache.maven.plugins</groupId >
381
+ <artifactId >maven-assembly-plugin</artifactId >
382
+ <configuration >
383
+ <descriptors >
384
+ <descriptor >${basedir} /src/main/assembly/docs.xml</descriptor >
385
+ </descriptors >
386
+ <appendAssemblyId >false</appendAssemblyId >
387
+ <finalName >documentation</finalName >
388
+ <tarLongFileMode >posix</tarLongFileMode >
389
+ <outputDirectory >${documentation.staging.dir} </outputDirectory >
390
+ </configuration >
391
+ <executions >
392
+ <execution >
393
+ <id >stage-documentation</id >
394
+ <phase >install</phase >
395
+ <goals >
396
+ <goal >single</goal >
397
+ </goals >
398
+ </execution >
399
+ </executions >
400
+ </plugin >
401
+ </plugins >
402
+ </build >
403
+ </profile >
404
+ </profiles >
370
405
</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 >.</outputDirectory >
24
+ </fileSet >
25
+
26
+ </fileSets >
27
+
28
+ </assembly >
You can’t perform that action at this time.
0 commit comments