Skip to content

Commit 56f9ffe

Browse files
committed
fixed shaded javadoc
1 parent 68fe1eb commit 56f9ffe

File tree

3 files changed

+67
-9
lines changed

3 files changed

+67
-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: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,64 @@
134134
<groupId>org.codehaus.mojo</groupId>
135135
<artifactId>flatten-maven-plugin</artifactId>
136136
</plugin>
137+
<plugin>
138+
<groupId>org.apache.maven.plugins</groupId>
139+
<artifactId>maven-dependency-plugin</artifactId>
140+
<version>3.4.0</version>
141+
<executions>
142+
<execution>
143+
<id>unpack-shaded-classes</id>
144+
<phase>package</phase>
145+
<goals>
146+
<goal>unpack</goal>
147+
</goals>
148+
<configuration>
149+
<artifactItems>
150+
<artifactItem>
151+
<groupId>com.arangodb</groupId>
152+
<artifactId>arangodb-java-driver-shaded</artifactId>
153+
<type>jar</type>
154+
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
155+
</artifactItem>
156+
</artifactItems>
157+
</configuration>
158+
</execution>
159+
<execution>
160+
<id>unpack-shaded-sources</id>
161+
<phase>package</phase>
162+
<goals>
163+
<goal>unpack</goal>
164+
</goals>
165+
<configuration>
166+
<artifactItems>
167+
<artifactItem>
168+
<groupId>com.arangodb</groupId>
169+
<artifactId>arangodb-java-driver-shaded</artifactId>
170+
<type>jar</type>
171+
<classifier>sources</classifier>
172+
<outputDirectory>${project.build.directory}/shaded-sources</outputDirectory>
173+
</artifactItem>
174+
</artifactItems>
175+
</configuration>
176+
</execution>
177+
</executions>
178+
</plugin>
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-javadoc-plugin</artifactId>
182+
<executions>
183+
<execution>
184+
<id>attach-javadocs</id>
185+
<goals>
186+
<goal>jar</goal>
187+
</goals>
188+
<configuration>
189+
<sourcepath>${project.build.directory}/shaded-sources</sourcepath>
190+
<excludePackageNames>com.arangodb.shaded.**,**.internal**</excludePackageNames>
191+
</configuration>
192+
</execution>
193+
</executions>
194+
</plugin>
137195
</plugins>
138196
</build>
139197

0 commit comments

Comments
 (0)