sonatype / m2eclipse-scala

108 stars 48 forks source link

XPlugin: configurator does not set compiler plugin property #37

Open Andrei-Pozolotin opened 9 years ago

Andrei-Pozolotin commented 9 years ago

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>

2) resolve them into path in local maven repository and place path list as comma separated list into XPlugin scala-ide property per project

image

davidB commented 9 years ago

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

Andrei-Pozolotin commented 9 years ago

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

m50d commented 7 years ago

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".