Skip to content

Commit 7deac7c

Browse files
committed
pom.xml now builds source jar
1 parent 2eac041 commit 7deac7c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ driver developers who would rather use Maven than Ant as their build tool.
3232
<sourceDirectory>src/main</sourceDirectory>
3333
<testSourceDirectory>src/test</testSourceDirectory>
3434
<plugins>
35+
<plugin>
36+
<groupId>org.apache.maven.plugins</groupId>
37+
<artifactId>maven-source-plugin</artifactId>
38+
<version>2.1.2</version>
39+
<executions>
40+
<execution>
41+
<id>attach-sources</id>
42+
<phase>verify</phase>
43+
<goals>
44+
<goal>jar-no-fork</goal>
45+
</goals>
46+
</execution>
47+
</executions>
48+
</plugin>
3549
<plugin>
3650
<groupId>org.apache.felix</groupId>
3751
<artifactId>maven-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)