Installing Scala Maven plugin on eclipse from local

5.2k Views Asked by At

I am trying to setup Scala development environment with maven on scala IDE for eclipse. I am not able to install the Scala Maven plugin from the software site due to some problems with my proxy settings. So, I am trying to download the plugin onto my local system and then install it.

I got the Scala Maven plugin from this site: https://github.com/davidB/scala-maven-plugin

I've unzipped the plugin and tried to install it from eclipse using 'install new software' but eclipse gives errors like this:

Could not find file: C:\..\..

This may be dumb, but I need help! What is the right way to install the plugin?

Any help would be appreciated.

Thank you.

1

There are 1 best solutions below

2
On

scala-maven-plugin is a maven plugin, to install it, juste declare it in your pom.xml (already done with the the archetype) like in the doc

For eclipse, you need the following plugins:

  • scala-ide to add support of scala into eclipse, could be installed from eclipse's marketplace (iirc)
  • m2eclipse to add support of maven into eclipse, cloud be installed from eclipse's marketplace (iirc)
  • m2eclipse-scala to add link between scala-ide, m2e, eclipse and maven-scala-plugin

See http://scala-ide.org/docs/tutorials/m2eclipse/index.html