From 82afbe6aef71058699433d60c1b4695ccd735606 Mon Sep 17 00:00:00 2001 From: eugenp Date: Wed, 17 Aug 2016 10:41:23 +0300 Subject: [PATCH] maven cleanup --- cdi/pom.xml | 54 +++++++++---------- .../com/baeldung/test/TestInterceptor.java | 2 + pom.xml | 1 + 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/cdi/pom.xml b/cdi/pom.xml index 2a9d32188b..b771857938 100644 --- a/cdi/pom.xml +++ b/cdi/pom.xml @@ -1,52 +1,52 @@ - + 4.0.0 com.baeldung cdi 1.0-SNAPSHOT - - 4.3.1.RELEASE - + - - - junit - junit - 4.12 - - org.springframework spring-core ${spring.version} - org.springframework spring-context ${spring.version} - + + + org.aspectj + aspectjweaver + 1.8.9 + + + org.jboss.weld.se + weld-se-core + 2.3.5.Final + + + + junit + junit + 4.12 + test + org.springframework spring-test ${spring.version} test - - - org.aspectj - aspectjweaver - 1.8.9 - - - - org.jboss.weld.se - weld-se-core - 2.3.5.Final - + + + + 4.3.1.RELEASE + + \ No newline at end of file diff --git a/cdi/src/test/java/com/baeldung/test/TestInterceptor.java b/cdi/src/test/java/com/baeldung/test/TestInterceptor.java index 406296529c..3529a796d2 100644 --- a/cdi/src/test/java/com/baeldung/test/TestInterceptor.java +++ b/cdi/src/test/java/com/baeldung/test/TestInterceptor.java @@ -30,7 +30,9 @@ public class TestInterceptor { SuperService superService = container.select(SuperService.class).get(); String code = "123456"; superService.deliverService(code); + Assert.assertTrue(AuditedInterceptor.calledBefore); Assert.assertTrue(AuditedInterceptor.calledAfter); } + } diff --git a/pom.xml b/pom.xml index 3f4489fc4c..8b2d0b3ff1 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,7 @@ apache-cxf apache-fop autovalue-tutorial + cdi core-java core-java-8 couchbase-sdk-intro