Skip to content

Commit 0880ef5

Browse files
Merge pull request #275 from data-integrations/add-source-jar
add source jar
2 parents 8ec3218 + 05d134f commit 0880ef5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,25 @@
356356
<build>
357357
<plugins>
358358

359+
<!-- Source JAR -->
360+
<plugin>
361+
<groupId>org.apache.maven.plugins</groupId>
362+
<artifactId>maven-source-plugin</artifactId>
363+
<version>2.2.1</version>
364+
<configuration>
365+
<excludeResources>true</excludeResources>
366+
</configuration>
367+
<executions>
368+
<execution>
369+
<id>attach-sources</id>
370+
<phase>package</phase>
371+
<goals>
372+
<goal>jar-no-fork</goal>
373+
</goals>
374+
</execution>
375+
</executions>
376+
</plugin>
377+
359378
<!-- Javadoc jar -->
360379
<plugin>
361380
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)