With M2Eclipse

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 19. over 1 year by david.bernard.31
  2. 18. over 1 year by david.bernard.31
  3. 17. over 1 year by david.bernard.31
  4. 16. over 1 year by Anonymous
  5. 15. almost 2 years by david.bernard.31
  6. 14. almost 2 years by Anonymous
  7. 13. almost 2 years by david.bernard.31
  8. 12. almost 2 years by david.bernard.31
  9. 11. almost 2 years by david.bernard.31
  10. 10. almost 2 years by david.bernard.31
  11. 9. almost 2 years by david.bernard.31
  12. 8. almost 2 years by david.bernard.31
  13. 7. almost 2 years by david.bernard.31
  14. 6. almost 2 years by david.bernard.31
  15. 5. almost 2 years by david.bernard.31
  16. 4. almost 2 years by david.bernard.31
  17. 3. almost 2 years by david.bernard.31
  18. 2. almost 2 years by david.bernard.31
  19. 1. about 2 years by david.bernard.31
 

m2eclipse-scala

With m2eclipse and m2eclipse-scala you don't need to define maven-eclipse-plugin's configuration (you should avoid using both)

Features

m2eclipse-scala is a work in progress to ease integration between m2eclipse and scala-ide for eclipse.

What m2eclipse-scala do automaticly (on import / re-configure) ?

  • add scala nature to project if maven-scala-plugin is used in the pom.xml => add Scala-Library container
  • auto add "src/main/scala" and "src/test/scala"
  • remove of scala-library, scala-compiler, scala-dbc, scala-swing from "Maven Dependencies" Container (under eclipse only, you should not have 2 version of scala-library in the classpath)
  • re-order JRE Container and Scala Container (to avoid scala.ScalaObject NotFound and C° when use "Run As Scala Application")
  • add Scala-tools.org catalog

Support

Install

  1. install m2eclipse
  2. install m2eclipse-scala itself :

    Install

    1. install m2eclipse
    2. install m2eclipse-scala, by dowloading the lastest version of the plugin into your eclipse/dropins directory
    3. Eclipse : File > import > maven > Existing Maven Project ...

    If your project doesn't list "Scala Libraries" in Build Path (or in Package Explorer), try :

    • select project
    • right click >Maven 2 > Update Project Configuration

    Working configuration

    The plugin is "validated" by importing the samples projects into Eclipse:



    date Scala Eclipse Plugin m2eclipse m2eclipse-scala JVM comments
    2010-06-05 2.8.0.RC3 0.10.0.20100209-0800 0.0.2.201006050953 64bit server 1.6.0_20-b02
    2010-06-19 2.8.0.RC3 0.10.0.20100209-0800 0.1.0 64bit server 1.6.0_20-b02
    2010-07-11 1.0.0-SNAPSHOT (tycho-reorg branch) 0.10.2.20100623-1649 0.2.1 64bit server 1.6.0_20-b02
    2010-11-24 1.0.0-SNAPSHOT 0.12.0.20101115-1102 0.2.2 64bit server 1.6.0_20-b02

    other solutions :

    The following (older ?) solutions work without m2eclipse-scala, and are provide as fallback if you have some issue with m2eclipse-scala (in this case don't forgot to open a ticket)

    • Article to use scala and java using m2eclipse plugin and scala plugin