On Fri, Jul 24, 2015 at 1:03 PM, Stefan Seelmann <[email protected]> wrote:
> On 07/24/2015 05:16 PM, Lucas Theisen wrote: > > Has anybody else attempted to get eclipse MARS to work with the directory > > source. Specifically, the antlr-maven-plugin seems to be something m2e > > complains about: "Plugin execution not covered by lifecycle > configuration: > > org.codehaus.mojo:antlr-maven-plugin:2.2:generate (execution: default, > > phase: generate-sources)". Without that plugin functioning, the sources > > are not properly generated, and I cannot run the server in debug. I dont > > know much about antlr, but it seems like the code is using > > antlr-maven-plugin, and the m2e doc seems to say we should be using > > antlr3-maven-plugin ( > > > http://www.eclipse.org/m2e/documentation/m2e-extension-development.html#m2e-antlr3-code-generation-support-explained > ). > > Any suggestions here? > > > > The 1.6 m2e catalog doesn't include connectors for old maven plugins. > But it is possible to install them manally. > > I looked into the Luna installation, Help -> About -> Installation > Details -> Plugins -> filter for "connector". Then used the PluginID and > searched on https://search.maven.org/. This way its possible to find out > the update site URL, which you can use in Window -> Install new Software > to install the connector. > > For Antlr the update sit URL is > > https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-antlr/0.15.0/N/0.15.0.201405281449/ > > This should be enougth to get the API and Server build. I'll import > Studio later to see which connectors are missing. > > Anyway, update to newer Maven plugins (espacially antlr) makes sense in > any case :) > > Kind Regards, > Stefan > > Thanks Stefan, that update site worked for me. After installing and restarting, i had to Maven -> Update Projects... for all the projects using antlr, but it works now.
