Yes it is possible. However to do so you need to have an Eclipse plugin that registers a maven project configurator that will be hooked into the lifecycle of the m2e project import process. See here: https://www.eclipse.org/m2e/documentation/m2e-extension-development.html
For an example you can see my own company's eclipse plugin where we use this API to "configure" liferay projects with a liferay facet (but you could just as simply add a nature). https://github.com/liferay/liferay-ide/blob/master/maven/plugins/com.liferay.ide.maven.core/src/com/liferay/ide/maven/core/LiferayMavenProjectConfigurator.java#L106-L152 So you can make this "configure" logic as complex or dependent on the project being imported as you like. On Fri, Sep 14, 2018 at 4:19 AM, klaus <k-l...@gmx.net> wrote: > Hi all, > > is it possible to add an additional nature/builder during import of a > maven project into eclipse? Do you know any way to do so? > Even further; is it possible add nature/builder dependening on parent, > dependency or plugins mentioned within the pom file? > > Any idea is welcome. > > Thanks, > klaus > > _______________________________________________ > m2e-users mailing list > m2e-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users > -- Greg Amerson Liferay Backend Developer Tools Liferay, Inc. www.liferay.com
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users