[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-dev] Way to trigger eclipse configurator
|
Please don't use maven-eclipse-plugin artifactId. It will be way too
confusing with [1] and it won't reflect the key point of "your" plugin
-- capture eclipse configuration.
Otherwise, this should work. Not pretty, of course, but there is
currently no other way to order execution of project configurators. I
have not looked at actual project configurator code, but I assume it
works ;-)
[1] http://maven.apache.org/plugins/maven-eclipse-plugin/
--
Regards,
Igor
On 12-02-14 8:50 AM, Olivier NOUGUIER wrote:
Hi all,
I'm replying to myself with a solution to my problem and another two
questions.
What I've done [1]:
* remove the lifecycle mapping to maven-eclipse-plugin:eclipse
* declare a secondary (to org.eclipse.m2e.jdt.javaConfigurator)
configurator to the maven-complile-plugin:compile goal
* still using my mojo configuration but without associated goal.
Now the configurator is call anytime it encounter the
maven-compiler-plugin:compile goal and does nothing if the
maven-eclipse-plugin build plugins is not there.
Is acceptable?
Should I prefer use the pluginManagement as the maven-eclipse-plugin as
no goal are associated?
[1] https://github.com/cheleb/m2e-settings/tree/nogoal
Thx,
Olivier
On Sat, Feb 11, 2012 at 6:21 PM, Olivier NOUGUIER
<olivier.nouguier@xxxxxxxxx <mailto:olivier.nouguier@xxxxxxxxx>> wrote:
Hi all,
I have built an eclipse configurator to tune the eclipse
formatting settings [1].
To trigger the configurator I'm using a fake Mojo&goal only to
use its dependencies and configurations.
Is there another solution, that could avoid this fake mojo and
goal ?
[1] https://github.com/cheleb/m2e-settings
--
"Computers are useless. They can only give you answers."
- Pablo Picasso -
--
"Computers are useless. They can only give you answers."
- Pablo Picasso -
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev