Return-Path: X-Original-To: apmail-tamaya-commits-archive@minotaur.apache.org Delivered-To: apmail-tamaya-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D3BC102E5 for ; Sun, 30 Nov 2014 21:58:47 +0000 (UTC) Received: (qmail 91210 invoked by uid 500); 30 Nov 2014 21:58:47 -0000 Delivered-To: apmail-tamaya-commits-archive@tamaya.apache.org Received: (qmail 91190 invoked by uid 500); 30 Nov 2014 21:58:46 -0000 Mailing-List: contact commits-help@tamaya.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tamaya.incubator.apache.org Delivered-To: mailing list commits@tamaya.incubator.apache.org Received: (qmail 91181 invoked by uid 99); 30 Nov 2014 21:58:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2014 21:58:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 30 Nov 2014 21:58:45 +0000 Received: (qmail 87849 invoked by uid 99); 30 Nov 2014 21:54:40 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2014 21:54:40 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1A4BF94EE4A; Sun, 30 Nov 2014 21:54:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: plexus@apache.org To: commits@tamaya.incubator.apache.org Message-Id: <4359281984254e2d88b718dca0f79a7b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-tamaya git commit: TAMAYA-13 Dependency cleanup for JUnit Date: Sun, 30 Nov 2014 21:54:40 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-tamaya Updated Branches: refs/heads/master 96f77d4c3 -> 660d36567 TAMAYA-13 Dependency cleanup for JUnit Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/660d3656 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/660d3656 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/660d3656 Branch: refs/heads/master Commit: 660d36567a9a68aff64f025ba9e553568a0f6018 Parents: 96f77d4 Author: Oliver B. Fischer Authored: Sun Nov 30 22:54:36 2014 +0100 Committer: Oliver B. Fischer Committed: Sun Nov 30 22:54:36 2014 +0100 ---------------------------------------------------------------------- core/pom.xml | 1 - modules/cdi/pom.xml | 12 +++++++++++- .../apache/tamaya/ext/cdi/ConfiguredTest.java | 7 +++---- modules/managed/pom.xml | 1 - modules/metamodel/pom.xml | 1 - modules/pom.xml | 1 - pom.xml | 19 +++++++++++++++++-- 7 files changed, 31 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/core/pom.xml ---------------------------------------------------------------------- diff --git a/core/pom.xml b/core/pom.xml index 77db85a..2b6f305 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -32,7 +32,6 @@ under the License. 1.8 - 4.8.2 1.7.2 1.2.17 2.1 http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/modules/cdi/pom.xml ---------------------------------------------------------------------- diff --git a/modules/cdi/pom.xml b/modules/cdi/pom.xml index 54d27c1..9f12b7a 100644 --- a/modules/cdi/pom.xml +++ b/modules/cdi/pom.xml @@ -32,7 +32,6 @@ under the License. 1.8 - 4.8.2 ${jdkVersion} ${jdkVersion} 1.5.0-SNAPSHOT @@ -75,6 +74,17 @@ under the License. test + org.hamcrest + hamcrest-library + test + + + org.hamcrest + hamcrest-core + test + + + ${project.groupId} tamaya-core ${project.version} http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/modules/cdi/src/test/java/org/apache/tamaya/ext/cdi/ConfiguredTest.java ---------------------------------------------------------------------- diff --git a/modules/cdi/src/test/java/org/apache/tamaya/ext/cdi/ConfiguredTest.java b/modules/cdi/src/test/java/org/apache/tamaya/ext/cdi/ConfiguredTest.java index 571ae8c..3869b8b 100644 --- a/modules/cdi/src/test/java/org/apache/tamaya/ext/cdi/ConfiguredTest.java +++ b/modules/cdi/src/test/java/org/apache/tamaya/ext/cdi/ConfiguredTest.java @@ -16,14 +16,12 @@ package org.apache.tamaya.ext.cdi; import org.apache.deltaspike.testcontrol.api.junit.CdiTestRunner; -import org.junit.Assert; +import org.hamcrest.MatcherAssert; import org.junit.Test; import org.junit.runner.RunWith; import javax.enterprise.inject.spi.CDI; -import java.util.OptionalDouble; -import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; /** @@ -40,7 +38,8 @@ public class ConfiguredTest{ System.out.println("********************************************"); double actual = 1234.5678; - assertThat(item.getDoubleValue(),is(actual)); + + MatcherAssert.assertThat(item.getDoubleValue(), is(actual)); } } http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/modules/managed/pom.xml ---------------------------------------------------------------------- diff --git a/modules/managed/pom.xml b/modules/managed/pom.xml index 15b2372..61c9a39 100644 --- a/modules/managed/pom.xml +++ b/modules/managed/pom.xml @@ -32,7 +32,6 @@ under the License. 1.8 - 4.8.2 ${jdkVersion} ${jdkVersion} http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/modules/metamodel/pom.xml ---------------------------------------------------------------------- diff --git a/modules/metamodel/pom.xml b/modules/metamodel/pom.xml index 735fd17..c8161f1 100644 --- a/modules/metamodel/pom.xml +++ b/modules/metamodel/pom.xml @@ -32,7 +32,6 @@ under the License. 1.8 - 4.8.2 ${jdkVersion} ${jdkVersion} http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/modules/pom.xml ---------------------------------------------------------------------- diff --git a/modules/pom.xml b/modules/pom.xml index 583fc17..40771b8 100644 --- a/modules/pom.xml +++ b/modules/pom.xml @@ -33,7 +33,6 @@ under the License. github 1.8 - 4.8.2 ${jdkVersion} ${jdkVersion} http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/660d3656/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index ba26380..5c07dcf 100644 --- a/pom.xml +++ b/pom.xml @@ -48,10 +48,11 @@ under the License. true UTF-8 UTF-8 - 4.8.2 + 4.11 1.5.0 + 1.3 3.0.0 @@ -303,9 +304,23 @@ under the License. junit junit - 4.11 + ${junit.version} test + + org.hamcrest + hamcrest-core + ${hamcrest.version} + test + + + + org.hamcrest + hamcrest-library + ${hamcrest.version} + test + +