Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Generic way to add eclipse source folder

You should report this either here:

https://github.com/eclipse-m2e/m2e-core/discussions

or

https://github.com/eclipse-m2e/m2e-core/issues

to get more feedback.

Am 04.02.22 um 10:08 schrieb Thomas Reinhardt:

Hello,

is it still true that there is no generic way to add a source folder to eclipse from within a mojo?

https://stackoverflow.com/questions/43920980/mojo-add-eclipse-source-folder

If not, I propose to extend BuildContext to support this. Code generation seems like an important task for maven. An easy way for plugin developers to do so seems appropriate.

Or maybe I am just using the wrong dependencies.
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-build-api</artifactId>
<version>0.0.7</version>

seems very old and https://wiki.eclipse.org/M2E_compatible_maven_plugins hints to a replacement "in the near future". But that page is from 2013.

-Thomas




Back to the top