Avoid to run the tests if Maven is run with the -DskipTests option.

This commit is contained in:
Simone Bordet 2015-05-20 11:32:53 +02:00
parent b844bdde0b
commit 10130afa8d
1 changed files with 5 additions and 6 deletions

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
// ========================================================================
// Copyright (c) Webtide LLC
//
//
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.apache.org/licenses/LICENSE-2.0.txt
//
// You may elect to redistribute this code under either of these licenses.
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@ -43,7 +43,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>false</skipTests>
<includes>
<include>org/eclipse/jetty/server/session/*.java</include>
</includes>
@ -119,7 +118,7 @@
<artifactId>infinispan-client-hotrod</artifactId>
<version>7.1.1.Final</version>
<scope>test</scope>
</dependency>
</dependency>
</dependencies>
<profiles>
<!-- to test hotrod, configure a cache called "remote-session-test" -->