You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/11/13 20:43:22 UTC

svn commit: r1815130 - /axis/axis2/java/core/trunk/modules/metadata/pom.xml

Author: veithen
Date: Mon Nov 13 20:43:22 2017
New Revision: 1815130

URL: http://svn.apache.org/viewvc?rev=1815130&view=rev
Log:
Fix the source JAR for axis2-metadata.

Modified:
    axis/axis2/java/core/trunk/modules/metadata/pom.xml

Modified: axis/axis2/java/core/trunk/modules/metadata/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/metadata/pom.xml?rev=1815130&r1=1815129&r2=1815130&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/metadata/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/metadata/pom.xml Mon Nov 13 20:43:22 2017
@@ -219,6 +219,17 @@
                 </executions>
             </plugin>
             <plugin>
+                <!-- Work around a problem in jaxb2-maven-plugin which confuses compile sources
+                     and test sources, causing test sources to be included in the source JAR.
+                     Should be fixed by https://github.com/mojohaus/jaxb2-maven-plugin/pull/94. -->
+                <artifactId>maven-source-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>org/test/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>