Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

SCALA Container still not being detected from Maven plugin #44

Open
eliasbalasis opened this issue Jan 27, 2018 · 4 comments
Open

SCALA Container still not being detected from Maven plugin #44

eliasbalasis opened this issue Jan 27, 2018 · 4 comments

Comments

@eliasbalasis
Copy link

eliasbalasis commented Jan 27, 2018

Using
Eclipse Oxygen.1
SCALA IDE 4.7.0
Maven Integration for Scala IDE 0.5.1.201410131304
m2e - Maven Integration for Eclipse 1.8.2.20171007-0217
Java 8
importing a Maven project containing
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<scalaVersion>2.11.11</scalaVersion>
<scalaCompatVersion>2.11</scalaCompatVersion>
</configuration>
</plugin>

the detected SCALA Container in Eclipse imported project is 2.12.3
conflicting with Maven dependencies (cross-compilation issue)
while 2.11.11 was expected

Any thoughts?

@davidB
Copy link
Contributor

davidB commented Jan 27, 2018

the m2eclipse-scala plugin is not able to set the version of scala-library. It was a limitation of the scala-plugin, when the m2eclipse-scala was made. I don't know if scala-plugin allow today (programmatically).

@eliasbalasis
Copy link
Author

I suspect you mean Scala IDE limitation.

I am using latest version of Scala IDE and it is still not working, I guess support for detection is still missing from Scala IDE.

Any direction? chase this with Scala IDE team perhaps?

@davidB
Copy link
Contributor

davidB commented Jan 27, 2018

Yes, you can try to contact the scala IDE team.
I guess there are some change since my latest commit in this project, and the last time I check with Scala IDE team (~2014).

@eliasbalasis
Copy link
Author

eliasbalasis commented Jan 27, 2018

That could be a starting point.

I assume then that if there is support for detection/assignment in later versions of Scala IDE you would have to implement it in m2eclipse-scala?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants