Skip to content

Commit

Permalink
Fix the model version to use POM.MODEL_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Sep 20, 2022
1 parent 9c24a94 commit 512016e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import org.eclipse.cbi.p2repo.aggregator.WindowSystem;
import org.eclipse.cbi.p2repo.aggregator.util.GeneralUtils;
import org.eclipse.cbi.p2repo.aggregator.util.InstallableUnitUtils;
import org.eclipse.cbi.p2repo.p2.maven.POM;
import org.eclipse.cbi.p2repo.p2.maven.util.VersionUtil;
import org.eclipse.cbi.p2repo.util.LogUtils;
import org.eclipse.core.runtime.CoreException;
Expand Down Expand Up @@ -244,7 +245,7 @@ public Model asPOM() {
newParent.setVersion(parent.getVersionString(false, -1));
pom.setParent(newParent);
}
pom.setModelVersion("4.0");
pom.setModelVersion(POM.MODEL_VERSION);
MavenItem mavenItem = map();
String thisGroupId = mavenItem.getGroupId();
pom.setGroupId(thisGroupId);
Expand Down

0 comments on commit 512016e

Please sign in to comment.