Skip to content

Commit bc1de3d

Browse files
committed
fixed shaded javadoc
1 parent 68fe1eb commit bc1de3d

File tree

3 files changed

+50
-9
lines changed

3 files changed

+50
-9
lines changed

driver/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@
2222
</properties>
2323

2424
<profiles>
25-
<profile>
26-
<id>doclint-java8-disable</id>
27-
<activation>
28-
<jdk>[1.8,)</jdk>
29-
</activation>
30-
<properties>
31-
<doclint>none</doclint>
32-
</properties>
33-
</profile>
3425
<profile>
3526
<id>no-graalvm</id>
3627
<activation>

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,15 @@
377377
<module>jsonb-serde</module>
378378
</modules>
379379
</profile>
380+
<profile>
381+
<id>doclint-java8-disable</id>
382+
<activation>
383+
<jdk>[1.8,)</jdk>
384+
</activation>
385+
<properties>
386+
<doclint>none</doclint>
387+
</properties>
388+
</profile>
380389
<profile>
381390
<id>native</id>
382391
<build>

shaded/pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,47 @@
130130
</execution>
131131
</executions>
132132
</plugin>
133+
<plugin>
134+
<groupId>org.apache.maven.plugins</groupId>
135+
<artifactId>maven-dependency-plugin</artifactId>
136+
<version>3.4.0</version>
137+
<executions>
138+
<execution>
139+
<id>unpack-shaded-sources</id>
140+
<phase>package</phase>
141+
<goals>
142+
<goal>unpack</goal>
143+
</goals>
144+
<configuration>
145+
<artifactItems>
146+
<artifactItem>
147+
<groupId>com.arangodb</groupId>
148+
<artifactId>arangodb-java-driver-shaded</artifactId>
149+
<type>jar</type>
150+
<classifier>sources</classifier>
151+
<outputDirectory>${project.build.directory}/shaded-sources</outputDirectory>
152+
</artifactItem>
153+
</artifactItems>
154+
</configuration>
155+
</execution>
156+
</executions>
157+
</plugin>
158+
<plugin>
159+
<groupId>org.apache.maven.plugins</groupId>
160+
<artifactId>maven-javadoc-plugin</artifactId>
161+
<executions>
162+
<execution>
163+
<id>attach-javadocs</id>
164+
<goals>
165+
<goal>jar</goal>
166+
</goals>
167+
<configuration>
168+
<sourcepath>${project.build.directory}/shaded-sources</sourcepath>
169+
<excludePackageNames>com.arangodb.shaded.**,**.internal**</excludePackageNames>
170+
</configuration>
171+
</execution>
172+
</executions>
173+
</plugin>
133174
<plugin>
134175
<groupId>org.codehaus.mojo</groupId>
135176
<artifactId>flatten-maven-plugin</artifactId>

0 commit comments

Comments
 (0)