You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ff...@apache.org on 2022/11/18 19:23:54 UTC

[camel] branch main updated: [CAMEL-18729]expose test resources/classes from camel-cxf-soap so that can be reused in camel-cxf-soap-starter

This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 17d7bab23d5 [CAMEL-18729]expose test resources/classes from camel-cxf-soap so that can be reused in camel-cxf-soap-starter
17d7bab23d5 is described below

commit 17d7bab23d510aa062ebc067ede2c42a9ba7d564
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Fri Nov 18 14:23:40 2022 -0500

    [CAMEL-18729]expose test resources/classes from camel-cxf-soap so that can be reused in camel-cxf-soap-starter
---
 components/camel-cxf/camel-cxf-soap/pom.xml        | 16 ++++++++++++++++
 components/camel-cxf/camel-cxf-spring-soap/pom.xml | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/components/camel-cxf/camel-cxf-soap/pom.xml b/components/camel-cxf/camel-cxf-soap/pom.xml
index d393bbc953e..18ffebd7220 100644
--- a/components/camel-cxf/camel-cxf-soap/pom.xml
+++ b/components/camel-cxf/camel-cxf-soap/pom.xml
@@ -280,6 +280,22 @@
             </resource>
         </resources>
         <plugins>
+            <!-- generate the attached tests jar -->
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <excludes>
+                        <exclude>log4j2.properties</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
diff --git a/components/camel-cxf/camel-cxf-spring-soap/pom.xml b/components/camel-cxf/camel-cxf-spring-soap/pom.xml
index 66cf4c4baf4..f93bc71aa47 100644
--- a/components/camel-cxf/camel-cxf-spring-soap/pom.xml
+++ b/components/camel-cxf/camel-cxf-spring-soap/pom.xml
@@ -296,6 +296,22 @@
             </resource>
         </resources>
         <plugins>
+            <!-- generate the attached tests jar -->
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <excludes>
+                        <exclude>log4j2.properties</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>