Skip to content

Commit f2933cd

Browse files
committed
Add Eclipse config for build-helper-maven-plugin
On out-of-the-box Eclipse installations, there is no m2e connector for the build-helper-maven-plugin. It used to be the case (I think) that you could simply use the quick fix solution to install the m2e connector, but these days it is not available from the Eclipse marketplace (at least not by default). Regardless, it's better to simply provide the lifecycle mappings in the POM configuration directly, so everything "just works."
1 parent d0cf91d commit f2933cd

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,6 +1876,23 @@ Projects wishing to use pom-scijava as a parent project need to override the &lt
18761876
</execute>
18771877
</action>
18781878
</pluginExecution>
1879+
<pluginExecution>
1880+
<pluginExecutionFilter>
1881+
<groupId>org.codehaus.mojo</groupId>
1882+
<artifactId>build-helper-maven-plugin</artifactId>
1883+
<versionRange>[1.0,)</versionRange>
1884+
<goals>
1885+
<goal>add-source</goal>
1886+
<goal>add-test-source</goal>
1887+
</goals>
1888+
</pluginExecutionFilter>
1889+
<action>
1890+
<execute>
1891+
<runOnIncremental>false</runOnIncremental>
1892+
<runOnConfiguration>true</runOnConfiguration>
1893+
</execute>
1894+
</action>
1895+
</pluginExecution>
18791896
<pluginExecution>
18801897
<pluginExecutionFilter>
18811898
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)