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/23 21:32:17 UTC

[camel] branch camel-3.19.x 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 camel-3.19.x
in repository https://gitbox.apache.org/repos/asf/camel.git


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

commit 03d171ae0d9e3e9fc64c33ce8f17ee936cda563d
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
    
    (cherry picked from commit 17d7bab23d510aa062ebc067ede2c42a9ba7d564)
---
 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 1702bb6c009..872fcc05a54 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 769e9d05ebf..7f8287463b4 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>