camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [02/16] camel git commit: Add camel:validate
Date Thu, 08 Dec 2016 14:12:35 GMT
Add camel:validate


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

Branch: refs/heads/master
Commit: 390581688818bfbc07233befd7f0dd01d7cbfb2c
Parents: 1d6c889
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Dec 8 13:43:28 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Dec 8 14:04:39 2016 +0100

----------------------------------------------------------------------
 camel-core/pom.xml | 12 ++++++++++++
 components/pom.xml | 13 +++++++++++++
 2 files changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/39058168/camel-core/pom.xml
----------------------------------------------------------------------
diff --git a/camel-core/pom.xml b/camel-core/pom.xml
index ce83d6a..8cea9a6 100644
--- a/camel-core/pom.xml
+++ b/camel-core/pom.xml
@@ -330,6 +330,18 @@
         </configuration>
       </plugin>
 
+      <!-- to validate Camel endpoints: mvn camel:validate -->
+      <plugin>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-maven-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+          <failOnError>true</failOnError>
+          <includeTest>true</includeTest>
+          <ignoreLenientProperties>false</ignoreLenientProperties>
+        </configuration>
+      </plugin>
+
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-package-maven-plugin</artifactId>

http://git-wip-us.apache.org/repos/asf/camel/blob/39058168/components/pom.xml
----------------------------------------------------------------------
diff --git a/components/pom.xml b/components/pom.xml
index 8f7d0e5..8ccc94e 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -315,6 +315,19 @@
           </execution>
         </executions>
       </plugin>
+
+      <!-- to validate Camel endpoints: mvn camel:validate -->
+      <plugin>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-maven-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+          <failOnError>false</failOnError>
+          <includeTest>true</includeTest>
+          <ignoreLenientProperties>false</ignoreLenientProperties>
+        </configuration>
+      </plugin>
+
     </plugins>
   </build>
 


Mime
View raw message