Add test-sources for mdsal-binding-dom-adapter 65/89665/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 11 May 2020 15:58:41 +0000 (17:58 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 11 May 2020 17:51:46 +0000 (19:51 +0200)
We are (unwisely) constructing a test-jar here, hence we should
also be publishing the corresponding sources.

Change-Id: I08ffb23b1e5eb8036e16237b8bc6fb0c6480f848
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 9cf191a88781e5208392b08740e480fd048e58c2)

binding/mdsal-binding-dom-adapter/pom.xml

index 3733c6870ae64913919906f08414cf14530ab3db..4a145b891ed7164b41423d0f0ac411693eb2e93d 100644 (file)
@@ -99,7 +99,6 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
                 <executions>
                     <execution>
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <scm>