Skip to content

Commit 05ba03c

Browse files
devonfw#427: implemented requested changes
removed build-documentation workflow adjusted github upload documentation path
1 parent 95cbd6d commit 05ba03c

File tree

3 files changed

+4
-43
lines changed

3 files changed

+4
-43
lines changed

.github/workflows/nightly-build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
- name: Make documentation available
3636
run: |
3737
cd documentation
38-
mvn -B -ntp -Dstyle.color=always -Pbuild-documentation -DskipTests=true package
38+
mvn -B -ntp -Dstyle.color=always -DskipTests=true package
3939
- name: Upload documentation
4040
uses: actions/upload-artifact@v4
4141
with:
4242
name: docs
43-
path: documentation/target/package/*.pdf
43+
path: documentation/target/generated-docs/*.pdf
4444

4545
# Downloads documentation docs artifact, builds all native images, archives native image for each os with documentation pdf file and uploads artifacts to f.e. natives-windows-latest
4646
build-natives:

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
- name: Make documentation available
2323
run: |
2424
cd documentation
25-
mvn -B -ntp -Dstyle.color=always -Pbuild-documentation -DskipTests=true package
25+
mvn -B -ntp -Dstyle.color=always -DskipTests=true package
2626
- name: Upload documentation
2727
uses: actions/upload-artifact@v4
2828
with:
2929
name: docs
30-
path: documentation/target/package/*.pdf
30+
path: documentation/target/generated-docs/*.pdf
3131

3232
# Downloads documentation docs artifact, builds all native images, archives native image for each os with documentation pdf file and uploads artifacts to f.e. natives-windows-latest
3333
build-natives:

documentation/pom.xml

-39
Original file line numberDiff line numberDiff line change
@@ -21,44 +21,5 @@
2121
<revision>dev-SNAPSHOT</revision>
2222
</properties>
2323

24-
<profiles>
25-
<!-- Builds the documentation pdf file and stores it in target/package -->
26-
<profile>
27-
<id>build-documentation</id>
28-
<build>
29-
<plugins>
30-
<plugin>
31-
<!-- Include documentation into release -->
32-
<groupId>org.apache.maven.plugins</groupId>
33-
<artifactId>maven-dependency-plugin</artifactId>
34-
<executions>
35-
<execution>
36-
<id>copy-documentation</id>
37-
<phase>prepare-package</phase>
38-
<goals>
39-
<goal>copy</goal>
40-
</goals>
41-
</execution>
42-
</executions>
43-
<configuration>
44-
<artifactItems>
45-
<artifactItem>
46-
<groupId>${project.groupId}</groupId>
47-
<artifactId>ide-doc</artifactId>
48-
<version>${project.version}</version>
49-
<type>pdf</type>
50-
<destFileName>IDEasy-documentation.pdf</destFileName>
51-
</artifactItem>
52-
</artifactItems>
53-
<outputDirectory>${project.build.directory}/package</outputDirectory>
54-
<overWriteReleases>false</overWriteReleases>
55-
<overWriteSnapshots>true</overWriteSnapshots>
56-
</configuration>
57-
</plugin>
58-
</plugins>
59-
</build>
60-
</profile>
61-
</profiles>
62-
6324
<!-- run "mvn package" and get the PDF result in target/generated-docs/*.pdf -->
6425
</project>

0 commit comments

Comments
 (0)