diff --git a/applications/cafe/cafe-amqp/pom.xml b/applications/cafe/cafe-amqp/pom.xml index c9cd479c..56ba2499 100644 --- a/applications/cafe/cafe-amqp/pom.xml +++ b/applications/cafe/cafe-amqp/pom.xml @@ -65,12 +65,6 @@ 1.3 test - - org.springframework.integration.samples - cafe-si - 4.1.0.BUILD-SNAPSHOT - compile - org.springframework.integration spring-integration-amqp @@ -89,6 +83,12 @@ 1.2.17 compile + + org.springframework.integration.samples + cafe-si + 4.1.0.BUILD-SNAPSHOT + compile + org.mockito mockito-core diff --git a/applications/cafe/cafe-jms/pom.xml b/applications/cafe/cafe-jms/pom.xml index 2a1f8dae..25192fcc 100644 --- a/applications/cafe/cafe-jms/pom.xml +++ b/applications/cafe/cafe-jms/pom.xml @@ -71,12 +71,6 @@ 1.3 test - - org.springframework.integration.samples - cafe-si - 4.1.0.BUILD-SNAPSHOT - compile - org.apache.activemq activemq-broker @@ -101,6 +95,12 @@ 1.2.17 compile + + org.springframework.integration.samples + cafe-si + 4.1.0.BUILD-SNAPSHOT + compile + org.mockito mockito-core diff --git a/build.gradle b/build.gradle index 7abd417b..ffdcde54 100644 --- a/build.gradle +++ b/build.gradle @@ -668,6 +668,15 @@ project('cafe-dsl') { springBoot { mainClass = 'org.springframework.integration.samples.dsl.cafe.lambda.Application' } + + task run(type: JavaExec) { + main 'org.springframework.integration.samples.dsl.cafe.nonlambda.Application' + classpath = sourceSets.main.runtimeClasspath + } + + tasks.withType(JavaExec) { + standardInput = System.in + } } diff --git a/dsl/cafe-dsl/pom.xml b/dsl/cafe-dsl/pom.xml index efffdb6d..a25ed018 100644 --- a/dsl/cafe-dsl/pom.xml +++ b/dsl/cafe-dsl/pom.xml @@ -69,12 +69,6 @@ 1.3 test - - org.springframework.integration.samples - cafe-si - 4.1.0.BUILD-SNAPSHOT - compile - com.google.guava guava @@ -109,6 +103,12 @@ 4.2.3.RELEASE test + + org.springframework.integration.samples + cafe-si + 4.1.0.BUILD-SNAPSHOT + compile + org.springframework.integration spring-integration-java-dsl