camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Add camel:validate
Date Thu, 08 Dec 2016 19:20:42 GMT
Repository: camel
Updated Branches:
  refs/heads/master 51841d346 -> 47cd88bba


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/47cd88bb
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/47cd88bb
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/47cd88bb

Branch: refs/heads/master
Commit: 47cd88bbacd434e0167bd2d9a527913975463984
Parents: 51841d3
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Dec 8 20:20:34 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Dec 8 20:20:34 2016 +0100

----------------------------------------------------------------------
 components/pom.xml | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/47cd88bb/components/pom.xml
----------------------------------------------------------------------
diff --git a/components/pom.xml b/components/pom.xml
index a7b5324..d61dba1 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -315,21 +315,6 @@
           </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>
-          <includeXml>true</includeXml>
-          <ignoreLenientProperties>false</ignoreLenientProperties>
-          <excludes>.*custom-exchange-formatter-context\.xml</excludes>
-        </configuration>
-      </plugin>
-
     </plugins>
   </build>
 
@@ -353,6 +338,26 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>validate</id>
+      <build>
+        <plugins>           
+          <!-- to validate Camel endpoints: mvn camel:validate -Pvalidate -->
+          <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>
+              <excludes>.*custom-exchange-formatter-context\.xml</excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>


Mime
View raw message