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

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


The following commit(s) were added to refs/heads/master by this push:
     new b1bfe7a  camel-ldap - skip tests they dont work - crappy server test 
that is unmaintainable
b1bfe7a is described below

commit b1bfe7a234909e741e8371bf6fcbb68029366f66
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Oct 13 07:41:51 2020 +0200

    camel-ldap - skip tests they dont work - crappy server test that is 
unmaintainable
---
 components/camel-ldif/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/components/camel-ldif/pom.xml b/components/camel-ldif/pom.xml
index f7e28bf..4dc58be 100644
--- a/components/camel-ldif/pom.xml
+++ b/components/camel-ldif/pom.xml
@@ -91,4 +91,24 @@
         </dependency>
     </dependencies>
 
+    <!-- the tests does not work - due to complex ldap server tests - maybe 
try with testcontainers with existing ldap server -->
+    <profiles>
+        <profile>
+            <id>ldap-skip-tests</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <skipTests>true</skipTests>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
 </project>

Reply via email to