use of org.apache.maven.project.path.PathTranslator in project intellij-community by JetBrains.
the class Maven3ServerEmbedderImpl method interpolateAndAlignModel.
@NotNull
public static MavenModel interpolateAndAlignModel(MavenModel model, File basedir) throws RemoteException {
Model result = MavenModelConverter.toNativeModel(model);
result = doInterpolate(result, basedir);
PathTranslator pathTranslator = new DefaultPathTranslator();
pathTranslator.alignToBaseDirectory(result, basedir);
return MavenModelConverter.convertModel(result, null);
}
use of org.apache.maven.project.path.PathTranslator in project intellij-community by JetBrains.
the class Maven2ServerEmbedderImpl method interpolateAndAlignModel.
@NotNull
public static MavenModel interpolateAndAlignModel(MavenModel model, File basedir) throws RemoteException {
Model result = Maven2ModelConverter.toNativeModel(model);
result = doInterpolate(result, basedir);
PathTranslator pathTranslator = new DefaultPathTranslator();
pathTranslator.alignToBaseDirectory(result, basedir);
return Maven2ModelConverter.convertModel(result, null);
}
use of org.apache.maven.project.path.PathTranslator in project intellij-community by JetBrains.
the class Maven30ServerEmbedderImpl method interpolateAndAlignModel.
@NotNull
public static MavenModel interpolateAndAlignModel(MavenModel model, File basedir) throws RemoteException {
Model result = MavenModelConverter.toNativeModel(model);
result = doInterpolate(result, basedir);
PathTranslator pathTranslator = new DefaultPathTranslator();
pathTranslator.alignToBaseDirectory(result, basedir);
return MavenModelConverter.convertModel(result, null);
}
Aggregations