private ArtifactType getSharedLibDependency(DependenciesType dependencies) {
DependenciesType depType = getDependencies(false);
List dependenciesList = depType.getDependency();
Iterator i = dependenciesList.iterator();
while(i.hasNext()) {
ArtifactType ArtifactType = (ArtifactType) i.next();
if("org.apache.geronimo.configs".equals(ArtifactType.getGroupId()) && "sharedlib".equals(ArtifactType.getArtifactId()) && "car".equals(ArtifactType.getType())) {
return ArtifactType;
}
}
return null;
}