INTSAMPLES-125/126:SF 3.2.7, SI 3.0.1; Schemas
JIRA: https://jira.springsource.org/browse/INTSAMPLES-125 Polishing some poms and enable all modules INTSAMPLES-126: Fix XSD versions vulnerability JIRA: https://jira.springsource.org/browse/INTSAMPLES-126 Polishing Add dummy JUnit to monitoring "test".
This commit is contained in:
committed by
Gary Russell
parent
56aee6fd91
commit
e20219560f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,6 +16,9 @@
|
||||
|
||||
package org.springframework.integration;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
|
||||
/**
|
||||
@@ -27,9 +30,16 @@ public class SpringIntegrationTest {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
new ClassPathXmlApplicationContext("/META-INF/spring/integration/spring-integration-context.xml", SpringIntegrationTest.class);
|
||||
ConfigurableApplicationContext context =
|
||||
new ClassPathXmlApplicationContext("/META-INF/spring/integration/spring-integration-context.xml", SpringIntegrationTest.class);
|
||||
System.out.println("Hit Enter to terminate");
|
||||
System.in.read();
|
||||
context.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
// no op for maven
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user