diff options
author | Grzegorz Kossakowski <grek@google.com> | 2009-09-15 16:38:39 -0700 |
---|---|---|
committer | Grzegorz Kossakowski <grek@google.com> | 2009-09-15 16:38:39 -0700 |
commit | 87a2b4d5759ee1f213daffb1945157e12bc10e83 (patch) | |
tree | 62a118fef71492704288c4037a7f0737c1940106 | |
parent | 0ed234f379e952e5a0cf69967265517d879790a6 (diff) | |
download | gimd-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.xml | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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> |