diff --git a/bndtools.m2e/src/bndtools/m2e/BndConfigurator.java b/bndtools.m2e/src/bndtools/m2e/BndConfigurator.java index 49cf23a47f..867efb7863 100644 --- a/bndtools.m2e/src/bndtools/m2e/BndConfigurator.java +++ b/bndtools.m2e/src/bndtools/m2e/BndConfigurator.java @@ -304,6 +304,7 @@ private void execJarMojo(IMaven maven, IMavenProjectRegistry projectRegistry, projectRegistry.execute(projectFacade, (context1, monitor1) -> { SubMonitor progress = SubMonitor.convert(monitor1); MavenProject mavenProject = getMavenProject(projectFacade, progress.split(1)); + mavenProject.getArtifact().setFile(null); List mojoExecutions = null; if (!isTest) {