Add test-sources for mdsal-binding-dom-adapter 66/89666/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:52:59 +0000 (19:52 +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 22592eddeb699dc8ad8e6378d42b0d739e1c25f3..3adb158e7bf2b1d21398d57a4c250c9b8868941e 100644 (file)
     <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>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>