File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 212212 <id >javadoc</id >
213213 <goals >
214214 <goal >jar</goal >
215- <goal >aggregate-no-fork</goal >
216215 </goals >
217216 <phase >package</phase >
218217 </execution >
Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff line change 66ext :
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
You can’t perform that action at this time.
0 commit comments