Skip to content

Commit c4872cd

Browse files
committed
Fix imagej-maven-plugin configuration in Eclipse
This configures Eclipse to ignore the imagej-maven-plugin's set-rootdir goal, which avoids an error about M2E lifecycle mappings.
1 parent d39781e commit c4872cd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>org.scijava</groupId>
99
<artifactId>pom-scijava</artifactId>
10-
<version>1.26</version>
10+
<version>1.27</version>
1111
<packaging>pom</packaging>
1212

1313
<name>SciJava Projects</name>
@@ -280,6 +280,19 @@
280280
</execute>
281281
</action>
282282
</pluginExecution>
283+
<pluginExecution>
284+
<pluginExecutionFilter>
285+
<groupId>net.imagej</groupId>
286+
<artifactId>imagej-maven-plugin</artifactId>
287+
<versionRange>[0.1.0,)</versionRange>
288+
<goals>
289+
<goal>set-rootdir</goal>
290+
</goals>
291+
</pluginExecutionFilter>
292+
<action>
293+
<ignore/>
294+
</action>
295+
</pluginExecution>
283296
</pluginExecutions>
284297
</lifecycleMappingMetadata>
285298
</configuration>

0 commit comments

Comments
 (0)