This repository was archived by the owner on Feb 24, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
datastore-v1-proto-client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 124124 <argLine >-Xmx2048m</argLine >
125125 </configuration >
126126 </plugin >
127- <plugin >
128- <groupId >org.apache.maven.plugins</groupId >
129- <artifactId >maven-javadoc-plugin</artifactId >
130- <configuration >
131- <!-- javadoc complains about: `error: No public or protected classes found to document` in tests -->
132- <failOnError >false</failOnError >
133- </configuration >
134- </plugin >
135127 </plugins >
136128 </build >
137129
Original file line number Diff line number Diff line change 239239 </plugin >
240240 </plugins >
241241 </pluginManagement >
242+ <plugins >
243+ <plugin >
244+ <groupId >org.apache.maven.plugins</groupId >
245+ <artifactId >maven-javadoc-plugin</artifactId >
246+
247+ <configuration >
248+ <!-- javadoc complains about: `error: No public or protected classes found to document` in tests -->
249+ <!-- Allow package scope globally for sources and tests when building -->
250+ <show >package</show >
251+ <failOnError >false</failOnError >
252+ </configuration >
253+
254+ <executions >
255+ <execution >
256+ <id >attach-javadocs</id >
257+ <goals >
258+ <goal >jar</goal >
259+ </goals >
260+ <configuration >
261+ <!-- When building a JAR, the javadocs scope is set back to protected -->
262+ <show >protected</show >
263+ </configuration >
264+ </execution >
265+ </executions >
266+ </plugin >
267+ </plugins >
242268 </build >
243269
244270 <modules >
You can’t perform that action at this time.
0 commit comments