You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/12/08 16:34:03 UTC
[2/2] camel git commit: Add camel:validate
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/f2dcfa45
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f2dcfa45
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f2dcfa45
Branch: refs/heads/master
Commit: f2dcfa45a66bf0373cde2d76b9e77ff5adff98a9
Parents: 7ba05c9
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Dec 8 17:32:00 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Dec 8 17:33:48 2016 +0100
----------------------------------------------------------------------
examples/pom.xml | 13 +++++++++++++
tests/camel-itest/pom.xml | 19 +++++++++++++++++++
2 files changed, 32 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/f2dcfa45/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index 9aeaffc..0cebc70 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -139,6 +139,19 @@
</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>
+ <includeXml>true</includeXml>
+ <ignoreLenientProperties>false</ignoreLenientProperties>
+ </configuration>
+ </plugin>
+
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
http://git-wip-us.apache.org/repos/asf/camel/blob/f2dcfa45/tests/camel-itest/pom.xml
----------------------------------------------------------------------
diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
index d2aba81..97fe8b1 100644
--- a/tests/camel-itest/pom.xml
+++ b/tests/camel-itest/pom.xml
@@ -47,6 +47,11 @@
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<scope>test</scope>
</dependency>
@@ -413,6 +418,20 @@
<build>
<plugins>
+
+ <!-- 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>
+ <includeXml>true</includeXml>
+ <ignoreLenientProperties>false</ignoreLenientProperties>
+ </configuration>
+ </plugin>
+
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>