File tree Expand file tree Collapse file tree 4 files changed +80
-1
lines changed
src/main/java/com/couchbase/client/scala/internal
scala-implicits/src/main/java/com/couchbase/client/scala/internal Expand file tree Collapse file tree 4 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 5858 <maven-javadoc-plugin .version>3.11.2</maven-javadoc-plugin .version>
5959 <build-helper-maven-plugin .version>3.2.0</build-helper-maven-plugin .version>
6060 <flatten-maven-plugin .version>1.7.0</flatten-maven-plugin .version>
61- <scala-maven-plugin .version>4.8.1 </scala-maven-plugin .version>
61+ <scala-maven-plugin .version>4.9.5 </scala-maven-plugin .version>
6262 <mvn-scalafmt .version>1.1.1713302731.c3d0074</mvn-scalafmt .version>
6363
6464 <!-- When changing this, make sure to update these versions:
Original file line number Diff line number Diff line change 532532 </execution >
533533 </executions >
534534 </plugin >
535+
536+ <!-- scala-maven-plugin does not support scaladocs together with Scala 3:
537+ https://github.com/davidB/scala-maven-plugin/issues/862
538+ so we attach an empty javadocs to satisfy Maven Central.
539+
540+ The Scala 2 builds continue to provide scaladocs as usual.
541+ -->
542+ <plugin >
543+ <groupId >org.apache.maven.plugins</groupId >
544+ <artifactId >maven-javadoc-plugin</artifactId >
545+ <version >${maven-javadoc-plugin.version} </version >
546+ <executions >
547+ <execution >
548+ <id >attach-javadocs</id >
549+ <goals >
550+ <goal >jar</goal >
551+ </goals >
552+ <configuration >
553+ <sourcepath >${project.basedir} /src/main/java</sourcepath >
554+ <sourceFileIncludes >com/couchbase/client/scala/internal/**/*.java</sourceFileIncludes >
555+ <show >private</show >
556+ <source >8</source >
557+ <doclint >none</doclint >
558+ <quiet >true</quiet >
559+ <stylesheetfile >${project.basedir} /../config/javadoc/style.css</stylesheetfile >
560+ </configuration >
561+ </execution >
562+ </executions >
563+ </plugin >
535564 </plugins >
536565 </build >
537566 </profile >
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 Couchbase, Inc.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com .couchbase .client .scala .internal ;
18+
19+ /**
20+ * Empty API docs are generated for the Scala 3 build at this time, due to known incompatibilies between Maven and Scala 3:
21+ * https://github.com/davidB/scala-maven-plugin/issues/862
22+ */
23+ @ Deprecated
24+ class JavadocPlaceholder {
25+ }
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 Couchbase, Inc.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com .couchbase .client .scala .internal ;
18+
19+ /**
20+ * Empty API docs are generated for the Scala 3 build at this time, due to known incompatibilies between Maven and Scala 3:
21+ * https://github.com/davidB/scala-maven-plugin/issues/862
22+ */
23+ @ Deprecated
24+ class JavadocPlaceholder {
25+ }
You can’t perform that action at this time.
0 commit comments