Skip to content

Commit

Permalink
Merge pull request #5773 from wborn/m2e-exception
Browse files Browse the repository at this point in the history
Fix MojoExecutionException in m2e plugin when using maven-jar-plugin 3.x
  • Loading branch information
pkriens authored Sep 12, 2023
2 parents edcccff + 6dc9815 commit bb99034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bndtools.m2e/src/bndtools/m2e/BndConfigurator.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<MojoExecution> mojoExecutions = null;
if (!isTest) {
Expand Down

0 comments on commit bb99034

Please sign in to comment.