diff --git a/basic/twitter/pom.xml b/basic/twitter/pom.xml index dd168c71a..5bfa833aa 100644 --- a/basic/twitter/pom.xml +++ b/basic/twitter/pom.xml @@ -1,13 +1,18 @@ - 4.0.0 - org.springframework.integration.samples - twitter + 4.0.0 + org.springframework.integration.samples + twitter 2.1.0.BUILD-SNAPSHOT Samples (Basic) - Twitter Demo jar + + + 2.2.1 + + - UTF-8 - 2.1.0.RELEASE + UTF-8 + 2.1.3.RELEASE 1.2.16 4.10 @@ -34,7 +39,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.3.2 + 2.5.1 1.5 1.5 diff --git a/basic/twitter/src/test/java/org/springframework/integration/samples/twitter/TwitterSearchSample.java b/basic/twitter/src/test/java/org/springframework/integration/samples/twitter/TwitterSearchSampleTest.java similarity index 93% rename from basic/twitter/src/test/java/org/springframework/integration/samples/twitter/TwitterSearchSample.java rename to basic/twitter/src/test/java/org/springframework/integration/samples/twitter/TwitterSearchSampleTest.java index 18dc5744b..76e57839e 100644 --- a/basic/twitter/src/test/java/org/springframework/integration/samples/twitter/TwitterSearchSample.java +++ b/basic/twitter/src/test/java/org/springframework/integration/samples/twitter/TwitterSearchSampleTest.java @@ -23,12 +23,12 @@ * @author Oleg Zhurakousky * */ -public class TwitterSearchSample { +public class TwitterSearchSampleTest { @Test public void runDemo() throws Exception{ new ClassPathXmlApplicationContext("META-INF/spring/integration/TwitterSearch-context.xml"); - - Thread.sleep(20000); + + Thread.sleep(5000); } } diff --git a/basic/twitter/src/test/resources/META-INF/spring/integration/TwitterSearch-context.xml b/basic/twitter/src/test/resources/META-INF/spring/integration/TwitterSearch-context.xml index 8c8edeba8..60f77ba9f 100644 --- a/basic/twitter/src/test/resources/META-INF/spring/integration/TwitterSearch-context.xml +++ b/basic/twitter/src/test/resources/META-INF/spring/integration/TwitterSearch-context.xml @@ -8,9 +8,13 @@ xmlns:context="http://www.springframework.org/schema/context" xmlns:int="http://www.springframework.org/schema/integration" xmlns:int-twitter="http://www.springframework.org/schema/integration/twitter"> - + + + + + + + + + - - + + diff --git a/basic/twitter/src/test/resources/log4j.xml b/basic/twitter/src/test/resources/log4j.xml index 40d94ca5b..c80a153b2 100644 --- a/basic/twitter/src/test/resources/log4j.xml +++ b/basic/twitter/src/test/resources/log4j.xml @@ -12,7 +12,7 @@ - +