Author: lindner
Date: Tue Jan 13 18:23:17 2009
New Revision: 734307

URL: http://svn.apache.org/viewvc?rev=734307&view=rev
Log:
SHINDIG-830 | Patch from Vincent Siveton | Add shindig-common-tests to 
dependencyManagement and generate sources

Modified:
    incubator/shindig/trunk/pom.xml

Modified: incubator/shindig/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/pom.xml?rev=734307&r1=734306&r2=734307&view=diff
==============================================================================
--- incubator/shindig/trunk/pom.xml (original)
+++ incubator/shindig/trunk/pom.xml Tue Jan 13 18:23:17 2009
@@ -567,7 +567,7 @@
               </reportSet>
             </reportSets>
           </plugin>
-          
+
           <!-- Mojo -->
           <!--plugin>
             <groupId>org.codehaus.mojo</groupId>
@@ -696,6 +696,7 @@
                 <id>attach-sources</id>
                 <goals>
                   <goal>jar</goal>
+                  <goal>test-jar</goal>
                 </goals>
               </execution>
             </executions>
@@ -886,6 +887,19 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>2.0.4</version>
+          <executions>
+            <execution>
+              <id>attach-sources</id>
+              <goals>
+                <goal>jar</goal>
+                <goal>test-jar</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <excludeResources>false</excludeResources>
+            <attach>true</attach>
+          </configuration>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -984,20 +998,8 @@
         <artifactId>maven-resources-plugin</artifactId>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <phase>package</phase>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <excludeResources>false</excludeResources>
-          <attach>true</attach>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -1116,6 +1118,12 @@
         <artifactId>shindig-social-api</artifactId>
         <version>${project.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.shindig</groupId>
+        <artifactId>shindig-common</artifactId>
+        <version>${project.version}</version>
+        <type>test-jar</type>
+      </dependency>
 
       <!-- external dependencies -->
       <dependency>


Reply via email to