Permalink
Browse files

Added source inclusion to build process for snapshots

  • Loading branch information...
Todd Nine
Todd Nine committed Aug 1, 2011
1 parent 2427754 commit 936733210b1d40c7cfff896d54864bb294cdd4b4
Showing with 25 additions and 0 deletions.
  1. +25 −0 pom.xml
View
25 pom.xml
@@ -191,6 +191,31 @@
</execution>
</executions>
</plugin>
+ <!-- always attach sources -->
+ <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>
+ <!-- attach sources -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>

0 comments on commit 9367332

Please sign in to comment.