CAMEL-11432- common flag to skipTests

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

Branch: refs/heads/master
Commit: 436e216942f81f7e629b0d9e2c15cce976b6fca6
Parents: ee68839
Author: onders86 <ondersez...@gmail.com>
Authored: Thu Jun 22 08:22:52 2017 +0300
Committer: onders86 <ondersez...@gmail.com>
Committed: Thu Jun 22 08:22:52 2017 +0300

----------------------------------------------------------------------
 components/camel-protobuf/pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/436e2169/components/camel-protobuf/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-protobuf/pom.xml 
b/components/camel-protobuf/pom.xml
index 33f7547..46c3a0c 100644
--- a/components/camel-protobuf/pom.xml
+++ b/components/camel-protobuf/pom.xml
@@ -119,7 +119,7 @@
             <configuration>
               <scripts>
                 <script><![CDATA[
-                  
project.properties['skip-test']=project.properties['os.detected.classifier'].matches('^.*?(linux|windows|osx)-x86.*$')
 ? 'false' : 'true';
+                  
project.properties['skipTests']=project.properties['os.detected.classifier'].matches('^.*?(linux|windows|osx)-x86.*$')
 ? 'false' : 'true';
                 ]]></script>
               </scripts>
             </configuration>
@@ -148,7 +148,7 @@
             </goals>
             <configuration>
               
<protocArtifact>com.google.protobuf:protoc:${protobuf-version}:exe:${os.detected.classifier}</protocArtifact>
-              <skip>${skip-test}</skip>
+              <skip>${skipTests}</skip>
             </configuration>
           </execution>
         </executions>
@@ -164,7 +164,7 @@
               <goal>testCompile</goal>
             </goals>
             <configuration>
-              <skip>${skip-test}</skip>
+              <skip>${skipTests}</skip>
             </configuration>
           </execution>
         </executions>
@@ -174,7 +174,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <skipTests>${skip-test}</skipTests>
+          <skipTests>${skipTests}</skipTests>
         </configuration>
       </plugin>
     </plugins>

Reply via email to