Skip to content

Commit 11cda4b

Browse files
committed
Fix docs some more
1 parent 7052241 commit 11cda4b

4 files changed

Lines changed: 32 additions & 24 deletions

File tree

build-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

33
# Generate the README.md, CONTRIBUTING.md and the Antora site
4-
./mvnw package -DskipTests
4+
./mvnw package -P javadoc -DskipTests
55
./mvnw -pl spring-grpc-docs package antora

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@
212212
<id>javadoc</id>
213213
<goals>
214214
<goal>jar</goal>
215-
<goal>aggregate-no-fork</goal>
216215
</goals>
217216
<phase>package</phase>
218217
</execution>

spring-grpc-docs/pom.xml

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,6 @@
7272
</execution>
7373
</executions>
7474
</plugin>
75-
<plugin>
76-
<groupId>org.apache.maven.plugins</groupId>
77-
<artifactId>maven-assembly-plugin</artifactId>
78-
<version>${maven-assembly-plugin.version}</version>
79-
<configuration>
80-
<descriptors>
81-
<descriptor>src/assembly/javadocs.xml</descriptor>
82-
</descriptors>
83-
<finalName>spring-grpc-${project.version}</finalName>
84-
<appendAssemblyId>true</appendAssemblyId>
85-
</configuration>
86-
<executions>
87-
<execution>
88-
<id>make-assembly</id>
89-
<phase>package</phase>
90-
<goals>
91-
<goal>single</goal>
92-
</goals>
93-
</execution>
94-
</executions>
95-
</plugin>
9675
<plugin>
9776
<groupId>org.apache.maven.plugins</groupId>
9877
<artifactId>maven-deploy-plugin</artifactId>
@@ -187,6 +166,36 @@
187166
</plugin>
188167
</plugins>
189168
</build>
169+
<profiles>
170+
<profile>
171+
<id>javadoc</id>
172+
<build>
173+
<plugins>
174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-assembly-plugin</artifactId>
177+
<version>${maven-assembly-plugin.version}</version>
178+
<configuration>
179+
<descriptors>
180+
<descriptor>src/assembly/javadocs.xml</descriptor>
181+
</descriptors>
182+
<finalName>spring-grpc-${project.version}</finalName>
183+
<appendAssemblyId>true</appendAssemblyId>
184+
</configuration>
185+
<executions>
186+
<execution>
187+
<id>make-assembly</id>
188+
<phase>package</phase>
189+
<goals>
190+
<goal>single</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
</plugins>
196+
</build>
197+
</profile>
198+
</profiles>
190199

191200
<repositories>
192201
<repository>

spring-grpc-docs/src/main/antora/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav:
66
ext:
77
collector:
88
- run:
9-
command: mvnw process-resources
9+
command: mvnw package -P javadoc -DskipTests
1010
local: true
1111
scan:
1212
dir: spring-grpc-docs/target/classes/antora-resources

0 commit comments

Comments
 (0)