final List<Dependency> dependencies = new ArrayList<Dependency>();
final List<Element> springDependencies = XmlUtils.findElements(
"/configuration/springWebMvc/dependencies/dependency",
configuration);
for (final Element dependencyElement : springDependencies) {
final Dependency dependency = new Dependency(dependencyElement);
if (isGaeEnabled
&& dependency.getGroupId().equals("org.glassfish.web")
&& dependency.getArtifactId().equals("jstl-impl")) {
dependencies.add(new Dependency(dependency.getGroupId(),
dependency.getArtifactId(), dependency.getVersion(),
DependencyType.JAR, DependencyScope.PROVIDED));
}
else {
dependencies.add(dependency);
}