summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grek@google.com>2009-09-15 16:38:39 -0700
committerGrzegorz Kossakowski <grek@google.com>2009-09-15 16:38:39 -0700
commit87a2b4d5759ee1f213daffb1945157e12bc10e83 (patch)
tree62a118fef71492704288c4037a7f0737c1940106
parent0ed234f379e952e5a0cf69967265517d879790a6 (diff)
downloadgimd-87a2b4d5759ee1f213daffb1945157e12bc10e83.tar.gz
Add source Maven plug-in to build cycle.
By attaching source plug-in to package phase one can be sure that whenever mvn install is called both compiled code and source artifacts are installed. Signed-off-by: Grzegorz Kossakowski <grek@google.com>
-rw-r--r--pom.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 019ce03..b523a8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -272,6 +272,21 @@ limitations under the License.
</jvmArgs>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>