diff --git a/pom.xml b/pom.xml
index d0f6f4e65a..1d9b647e4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,6 +18,7 @@
3.2.0.M2
2.2.4.RELEASE
2.2.0.RELEASE
+ 2.1.6
7.0.42
8.1.9.v20130131
1.7.3
@@ -352,12 +353,12 @@
org.codehaus.groovy
groovy
- 2.1.6
+ ${groovy.version}
org.codehaus.groovy
groovy-templates
- 2.1.6
+ ${groovy.version}
org.codehaus.plexus
diff --git a/spring-bootstrap/src/main/java/org/springframework/bootstrap/StartupInfoLogger.java b/spring-bootstrap/src/main/java/org/springframework/bootstrap/StartupInfoLogger.java
index 368b9d48e4..4c799e5559 100644
--- a/spring-bootstrap/src/main/java/org/springframework/bootstrap/StartupInfoLogger.java
+++ b/spring-bootstrap/src/main/java/org/springframework/bootstrap/StartupInfoLogger.java
@@ -25,6 +25,7 @@ import java.security.ProtectionDomain;
import java.util.concurrent.Callable;
import org.apache.commons.logging.Log;
+import org.springframework.context.ApplicationContext;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils;
@@ -47,11 +48,17 @@ class StartupInfoLogger {
StringBuilder message = new StringBuilder();
message.append("Starting ");
message.append(getApplicationName());
- message.append(getVersion());
+ message.append(getVersion(this.sourceClass));
message.append(getOn());
message.append(getPid());
message.append(getContext());
log.info(message);
+ message.setLength(0);
+ message.append("Running with Spring Bootstrap");
+ message.append(getVersion(SpringApplication.class));
+ message.append(", Spring");
+ message.append(getVersion(ApplicationContext.class));
+ log.info(message);
}
private String getApplicationName() {
@@ -59,14 +66,13 @@ class StartupInfoLogger {
: "application");
}
- private String getVersion() {
+ private String getVersion(final Class> source) {
return getValue(" v", new Callable
+
+
+ src/main/resources
+ true
+
+
maven-shade-plugin
diff --git a/spring-cli/src/main/java/org/springframework/cli/compiler/DependencyCustomizer.java b/spring-cli/src/main/java/org/springframework/cli/compiler/DependencyCustomizer.java
index aae2a74ccd..dd8d4617b2 100644
--- a/spring-cli/src/main/java/org/springframework/cli/compiler/DependencyCustomizer.java
+++ b/spring-cli/src/main/java/org/springframework/cli/compiler/DependencyCustomizer.java
@@ -20,11 +20,14 @@ import groovy.grape.Grape;
import groovy.lang.Grapes;
import groovy.lang.GroovyClassLoader;
+import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Properties;
/**
* Customizer that allows dependencies to be added during compilation. Delegates to Groovy
@@ -40,6 +43,8 @@ public class DependencyCustomizer {
private final List