if(version == null && model.getParent() != null) {
version=model.getParent().getVersion();
}
return version;
}
<BUG>@Override
public SonarMvnProject createSubprojectInfo(Project subproject) {
try {
return new SonarMvnProject(subproject);
} catch (MvnModelInputException ex) {
throw new SonarQubeProjectException(ex);
}
}</BUG>
private static Model createModel(FileObject projectDir) throws MvnModelInputException {

if(version == null && model.getParent() != null) {
version=model.getParent().getVersion();
}
return version;
}
private static Model createModel(FileObject projectDir) throws MvnModelInputException {
