Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit e1c9980

Browse files
committed
Exclude generated graphql query from Javadoc generation
1 parent b0b6472 commit e1c9980

2 files changed

Lines changed: 19 additions & 10 deletions

File tree

connector/connector-github/pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<name>Chronicle Release Notes - Connector - GitHub</name>
1414

1515
<properties>
16-
<maven.javadoc.skip>true</maven.javadoc.skip>
16+
<additionalParams>-Xdoclint:none</additionalParams>
1717
</properties>
1818

1919
<dependencyManagement>
@@ -86,7 +86,7 @@
8686
<goal>generate</goal>
8787
</goals>
8888
<configuration>
89-
<rootPackageName>net.openhft.chronicle.releasenotes.connector.github.graphql</rootPackageName>
89+
<rootPackageName>net.openhft.chronicle.releasenotes.connector.github.internal.graphql</rootPackageName>
9090
<sourceDirName>${project.basedir}/graphql</sourceDirName>
9191
<introspectionFile>${project.basedir}/graphql/__introspection__.json</introspectionFile>
9292
<generateIntrospectionFile>true</generateIntrospectionFile>
@@ -98,6 +98,14 @@
9898
</execution>
9999
</executions>
100100
</plugin>
101+
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-javadoc-plugin</artifactId>
105+
<configuration>
106+
<excludePackageNames>net.openhft.chronicle.releasenotes.connector.github.internal.*</excludePackageNames>
107+
</configuration>
108+
</plugin>
101109
</plugins>
102110
</build>
103111

connector/connector-github/src/main/java/net/openhft/chronicle/releasenotes/connector/github/graphql/GitHubGraphQLClient.java

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
import com.apollographql.apollo.api.Input;
99
import com.apollographql.apollo.api.Response;
1010
import com.apollographql.apollo.exception.ApolloException;
11-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.AsCommit;
12-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.AsCommit1;
13-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.AsTag;
14-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.Data;
15-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.Node;
16-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.Refs;
17-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.Repository;
18-
import net.openhft.chronicle.releasenotes.connector.github.graphql.GetTagsQuery.Target;
1911
import net.openhft.chronicle.releasenotes.connector.github.graphql.model.Tag;
12+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery;
13+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.AsCommit;
14+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.AsCommit1;
15+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.AsTag;
16+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.Data;
17+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.Node;
18+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.Refs;
19+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.Repository;
20+
import net.openhft.chronicle.releasenotes.connector.github.internal.graphql.GetTagsQuery.Target;
2021
import okhttp3.OkHttpClient;
2122
import org.jetbrains.annotations.NotNull;
2223

0 commit comments

Comments
 (0)