Skip to content

Commit 841089a

Browse files
Michael Figuieretolbertam
authored andcommitted
JAVA-1631 Publish a sources jar for driver-core-tests
1 parent 3f654e2 commit 841089a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

driver-core/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,18 @@
189189
We avoid packaging bundle because it does not play nicely with the shade plugin, see
190190
https://stackoverflow.com/questions/31262032/maven-shade-plugin-and-custom-packaging-type
191191
-->
192+
<plugin>
193+
<groupId>org.apache.maven.plugins</groupId>
194+
<artifactId>maven-source-plugin</artifactId>
195+
<executions>
196+
<execution>
197+
<id>attach-test-sources</id>
198+
<goals>
199+
<goal>test-jar-no-fork</goal>
200+
</goals>
201+
</execution>
202+
</executions>
203+
</plugin>
192204
<plugin>
193205
<groupId>org.apache.felix</groupId>
194206
<artifactId>maven-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)