Skip to content

Commit 37624d7

Browse files
author
Dave Syer
committed
Add source jars to deployment
Signed-off-by: Dave Syer <[email protected]>
1 parent 3cf16a9 commit 37624d7

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,21 @@
391391
</plugins>
392392
</pluginManagement>
393393
<plugins>
394-
<plugin>
394+
<!-- Sources jar -->
395+
<plugin>
396+
<groupId>org.apache.maven.plugins</groupId>
397+
<artifactId>maven-source-plugin</artifactId>
398+
<version>3.2.1</version>
399+
<executions>
400+
<execution>
401+
<id>attach-sources</id>
402+
<goals>
403+
<goal>jar-no-fork</goal>
404+
</goals>
405+
</execution>
406+
</executions>
407+
</plugin>
408+
<plugin>
395409
<groupId>org.apache.maven.plugins</groupId>
396410
<artifactId>maven-assembly-plugin</artifactId>
397411
<version>3.3.0</version>

0 commit comments

Comments
 (0)