You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/08/26 08:19:50 UTC

camel git commit: Skip Validation for camel-linkedin and camel-salesforce since they have API and component in the same component folder.

Repository: camel
Updated Branches:
  refs/heads/master bc98bcaaa -> e7eca7c6b


Skip Validation for camel-linkedin and camel-salesforce since they have API and component in the same component folder.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e7eca7c6
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e7eca7c6
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e7eca7c6

Branch: refs/heads/master
Commit: e7eca7c6bdb69aca83ba5658d9b64530791b5835
Parents: bc98bca
Author: Andrea Cosentino <an...@gmail.com>
Authored: Fri Aug 26 10:18:38 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Fri Aug 26 10:18:38 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e7eca7c6/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
index 5b3cd5c..ae1ab13 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
@@ -863,7 +863,7 @@ public class PrepareCatalogMojo extends AbstractMojo {
                 component = "ftp";
             } 
             String name = component + "-component";
-            if (!docs.contains(name)) {
+            if (!docs.contains(name) && (!component.equalsIgnoreCase("linkedin") && !component.equalsIgnoreCase("salesforce"))) {
                 missing.add(name);
             }
         }