Build source archive when building jar.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 26 Nov 2009 13:35:18 +0000 (14:35 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 26 Nov 2009 13:35:18 +0000 (14:35 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 05b0255..166f2a8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>attach-sources</id>
+                                               <goals>
+                                                       <goal>jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
 </project>