//GERONIMODEVTOOLS-361
for (IModule singleModule:module){
EnvironmentType environment = getEnvironment(singleModule);
if (environment != null) {
ArtifactType child = environment.getModuleId();
DependenciesType dependencies = environment.getDependencies();
if (dependencies != null) {
List<DependencyType> depList = dependencies.getDependency();
for ( DependencyType dep : depList) {
ArtifactType parent = deploymentFactory.createArtifactType();
parent.setGroupId( dep.getGroupId() );
parent.setArtifactId( dep.getArtifactId() );
parent.setVersion( dep.getVersion() );