Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Merge pull request #11 from skyluc/issue/missing-step

Adds information about set-versions
latest commit b6326e076c
@sschaef sschaef authored

Scala IDE profiles

This pom project provides profiles to be able to compile a Scala IDE plugin. After setting this project as the parent, enabling the right profiles configures your plugin project to be compatible with Scala IDE.

Pay special attention to the Scala IDE versions, all profiles are not compatible with all versions

  • profiles for Scala versions
    • scala-2.12.x
    • scala-2.11.x (Scala IDE version 3.0.4 -> ..)
    • scala-2.10.x (Scala IDE version 3.0.0 -> 4.0.0-m2)
    • scala-2.9.x (Scala IDE version 3.0.0)
  • profiles for Scala IDE releases
    • scala-ide-stable (stable releases)
    • scala-ide-dev (milestones)
    • scala-ide-nightly (nightly builds)
  • profiles for Eclipse releases
    • eclipse-indigo (Scala IDE versions 2.0.0 -> 3.0.1)
    • eclipse-juno (Scala IDE versions 3.0.0 -> 4.0.0-m2)
    • eclipse-kepler (Scala IDE versions 4.0.0-m3 -> ..)
    • eclipse-luna (Scala IDE versions 4.0.0-m2 -> ..)

In addition, you can sign your builds and you get a uniform version qualifier ('${version.tag}-${version.suffix}-'yyyyMMddHHmm'-${buildNumber}').


For example, this pom.xml is all that's needed to get a build that works against any Scala version, Scala IDE and Eclipse combination:

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="" xmlns=""


  <name>Play 2 Support for Scala IDE</name>



Then you can build your project by running:

mvn -Peclipse-luna,scala-ide-stable,scala-2.11.x clean package

If you want to sign your build, just add the right jarsigner properties:

mvn -Dtycho.localArtifacts=ignore \
    -P eclipse-luna,scala-ide-stable,scala-2.11.x \
    -Dversion.tag='v' \
    -Djarsigner.storepass=*** \
    -Djarsigner.keypass=*** \
    -Djarsigner.keystore=/path/to/your.keystore \
    clean package

Create a build to be integrated in the Scala IDE ecosystem repositories

To make a build compatible with the tools creating the Scala IDE ecosystem repositories, an additionnal step is required before the actual build step. Run the following command to correctly set the versions of the Scala and Scala IDE dependencies:

mvn -Peclipse-luna,scala-ide-stable,scala-2.11.x -Pset-versions --non-recursive exec:java

Release a new version (of plugin-profiles)

If you have fixes to this pom, you should publish a new version to Sonatype. Follow the OSS guide. If everything is configured correctly, releasing should be entirely managed by maven:

$ mvn release:clean
$ mvn release:prepare
$ mvn release:perform

There's an additional manual step:

  • go to Sonatype and inspect and release the staging repository.
Something went wrong with that request. Please try again.