Build source archive when building jar.
[jFCPlib.git] / 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>