FYI secondaryTo is now deprecated and superseded by the more granular runsAfter/runsBefore attributes. See [1].
Only configurators can be ordered. You can't mix n' match mojo execution with configurators for a given goal. [1] https://www.eclipse.org/m2e/documentation/release-notes-16.html#improved-project-configurator-ordering On Fri, Nov 11, 2016 at 2:19 AM, Konrad Windszus <konra...@gmx.de> wrote: > Just for the record, because Igor sent the answer directly to my private > mail. > > Begin forwarded message: > > *From: *Igor Fedorenko <i...@ifedorenko.com> > *Subject: **Re: [m2e-users] Multiple Eclipse plugins providing > lifecycle-mapping for the same plugin goal* > *Date: *10 November 2016 at 20:31:34 GMT+1 > *To: *Konrad Windszus <konra...@gmx.de> > > If your plugin is complimentary to m2e-tycho, you can define it as > "secondary". This isn't well-documented feature and may not work for > your specific usecase, but this is the only way to have two > configurators for the same plugin goal. > > -- > Regards, > Igor > > > On Thu, Nov 10, 2016, at 12:24 PM, Konrad Windszus wrote: > > I want to bind my own Eclipse plugin to the same goal as m2eclipse-tycho > (https://github.com/tesla/m2eclipse-tycho) namely > > <pluginExecution> > <pluginExecutionFilter> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <versionRange>[1.0.0,)</versionRange> > <goals> > <goal>manifest</goal> > <goal>bundle</goal> > </goals> > </pluginExecution> > </pluginExecutionFilter> > > Whenever I run Eclipse with both plugins (mine and m2eclipse-tycho) it > complains about "Conflicting lifecycle mapping (plugin execution > "org.apache.felix:maven-bundle-plugin:3.0.1:bundle (execution: > default-bundle, phase: package)"). To enable full functionality, remove > the conflicting mapping and run Maven->Update Project Configuration." How > can I prioritize and in the best case execute all configurators from the > different Eclipse Plugins? > Thanks, > Konrad > _______________________________________________ > 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 > > > > _______________________________________________ > 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 > -- "Have you tried turning it off and on again" - The IT Crowd And if that fails, then http://goo.gl/tnBgH5
_______________________________________________ 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