Generate sal-binding-broker-impl-*-test-sources.jar 15/41315/2
authorMichael Vorburger <vorburger@redhat.com>
Tue, 5 Jul 2016 00:36:47 +0000 (02:36 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Wed, 6 Jul 2016 03:02:30 +0000 (03:02 +0000)
This is handy so that you can see the source of e.g.
AbstractDataBrokerTest in the IDE, just like other sources.  This did
not work before because of <type>test-jar.

Change-Id: I7f1e2516e326de3eb824a728146ef4287d8419f8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
opendaylight/md-sal/sal-binding-broker/pom.xml

index 4f52fd124fbe0ff5d345c3afe5149f0f5d240b42..225e17e984c81a87c0d048c7f3f9abdcbcfc6ce2 100644 (file)
           </execution>
         </executions>
       </plugin>
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>
       <plugin>
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>