m2eclipse-scala icon indicating copy to clipboard operation
m2eclipse-scala copied to clipboard

XPlugin: configurator does not set compiler plugin property

Open Andrei-Pozolotin opened this issue 10 years ago • 3 comments

the following feature is missing:

in order for scala macro compiler plugin to work, http://docs.scala-lang.org/overviews/macros/paradise.html

  1. m2e must look for <compilerPlugin> entries in pom.xml
<compilerPlugins>
  <compilerPlugin>
    <groupId>org.scalamacros</groupId>
    <artifactId>paradise_<YOUR.SCALA.VERSION></artifactId>
    <version>2.0.1</version>
  </compilerPlugin>
</compilerPlugins>
  1. resolve them into path in local maven repository and place path list as comma separated list into XPlugin scala-ide property per project

image

Andrei-Pozolotin avatar Jan 17 '15 12:01 Andrei-Pozolotin

Hi, Sorry, today I'm not aware of a way / API to configure Scala-IDE (except classpath and nature) from other plugin like m2e-scala

davidB avatar Jan 21 '15 08:01 davidB

@davidB David: I asked @dragos Iulian for help: https://scala-ide-portfolio.assembla.com/spaces/scala-ide/support/tickets/1002372#/activity/ticket

Andrei-Pozolotin avatar Jan 21 '15 12:01 Andrei-Pozolotin

Is there any hope or way forward for this? I have a project that works fine if I manually configure Xplugin with the path to kind-projector, but it would be much nicer if I could import it and it "just work".

m50d avatar Jan 14 '17 13:01 m50d