Am 14.08.11 11:45, schrieb Igor Fedorenko: > Connectors (or m2e extensions, as I often call them) do not require > modifications of pom.xml files. The whole idea of connectors is to take > existing Maven plugin configuration from pom.xml and map it to eclipse > project configuration and build behaviour. Why developer must write the connector? I can use <configuration> part of the plug-in in pom.xml. And nothing. > > What you probably refer to, is m2e-specific pom.xml configuration that > allows users tell m2e what to do with Maven plugins that do NOT have > corresponding connectors. There are certain advantages of storing this > information in pom.xml file, and I also expect the need for this > configuration to mostly disappear as more connectors become available. > At the same time I appreciate that some m2e users prefer to keep this > configuration outside pom.xml files, so if somebody provides a quality > implementation to do so, we will review and make it part of m2e. > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=350414 > > -- > Regards, > Igor > > On 11-08-14 1:01 AM, Philippe Bastiani wrote: >> Yes, the developer of a Maven plugin should be responsible for its >> integration into a given IDE... Wait, Wait. If you maven compile was not default cycles, than developer must create project for m2e connector for eclipse?
>> Delegate the setting of the IDE to the >> end-user is the worst solution ... If you have a plug-in with default configuration, that not problem, but if I need any changes, than I can it change in pom.xml for this plug-in(<configuration></configuration>). It means, that m2e must respect this configuration. And I don't need the connector. Other solution can be, if you m2e plug-in get the data from pom.xml and execute plug-in with custom cycles, which the m2e can manage. >> This is what was proposed with >> maven-eclipse-plugin. >> >> I agree with you for the following point: I do not understand why the >> connectors requires modification of poms. I do not understand why >> Sonatype >> does not offer an API for saving the settings of connectors in >> another file. >> >> Jason and Igor could, I think, explain this choice ! >> > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users _______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
