summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2013-02-20 15:29:57 +0100
committerAndrew Branson <andrew.branson@cern.ch>2013-02-20 15:44:38 +0100
commit54b466dc08ab2dc9ed3ac32697e7f32084ed498d (patch)
treec6b7d8bc9427c38f68f8b5134bfebbe2e4bd882c /pom.xml
parent0c15b4693782fbf5c37b6628d6538e43d7ef1ced (diff)
Publish sources jar
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 45fc40e..866eb08 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,6 +41,20 @@
</resources>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
@@ -101,4 +115,4 @@
</snapshots>
</repository>
</repositories>
-</project> \ No newline at end of file
+</project>