Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

454 lines (430 sloc) 17.42 kb
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<groupId>org.scala-ide</groupId>
<artifactId>org.scala-ide.build</artifactId>
<version>4.0.0-SNAPSHOT</version>
<description>Default config holder (value, profiles, versions, ...) for the build of Scala IDE for Eclipse</description>
<packaging>pom</packaging>
<properties>
<encoding>UTF-8</encoding>
<!-- p2 repositories location -->
<repo.eclipse.indigo>http://download.eclipse.org/releases/indigo/</repo.eclipse.indigo>
<repo.eclipse.juno>http://download.eclipse.org/releases/juno</repo.eclipse.juno>
<repo.ajdt.indigo>http://download.eclipse.org/tools/ajdt/37/update</repo.ajdt.indigo>
<repo.ajdt.juno>http://download.eclipse.org/tools/ajdt/42/update</repo.ajdt.juno>
<repo.equinox.launcher>http://www.chuusai.com/eclipse/equinox-weaving-launcher/</repo.equinox.launcher>
<repo.scala-ide.root>http://download.scala-ide.org</repo.scala-ide.root>
<!-- fixed versions -->
<sbt.version>Select a profile</sbt.version>
<sbinary.version>0.4.1-pretending-SNAPSHOT</sbinary.version>
<jline.version>0.9.94</jline.version>
<ivy.version>2.2.0</ivy.version>
<miglayout.version>3.7.4</miglayout.version>
<log4j.version>1.2.16</log4j.version>
<junit.version>4.10</junit.version>
<mockito.version>1.9.0</mockito.version>
<!-- plugin versions -->
<tycho.plugin.version>0.16.0</tycho.plugin.version>
<scala.plugin.version>3.0.2</scala.plugin.version>
<aspectj.plugin.version>1.4</aspectj.plugin.version>
<maven-bunble.plugin.version>2.3.7</maven-bunble.plugin.version>
<properties-maven.plugin.version>1.1.10</properties-maven.plugin.version>
<buildnumber-maven.plugin.version>1.1</buildnumber-maven.plugin.version>
<maven-source.plugin.version>2.1.2</maven-source.plugin.version>
<maven-clean.plugin.version>2.5</maven-clean.plugin.version>
<!-- Weaving plugin version, default for Indigo -->
<weaving.hook.plugin.version>1.0.200.I20120427-0800</weaving.hook.plugin.version>
<!-- tycho test related -->
<tycho.test.OSspecific></tycho.test.OSspecific>
<!-- Partial workaround against JDT Weaving deadlocks. See #1000317 and the original ticket on https://issuetracker.springsource.com/browse/STS-1445 -->
<tycho.test.weaving>-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dosgi.classloader.lock=classname</tycho.test.weaving>
<tycho.test.jvmArgs>-Xmx1024m -XX:MaxPermSize=256m -Dsdtcore.headless -Dsdtcore.notimeouts ${tycho.test.weaving} ${tycho.test.OSspecific}</tycho.test.jvmArgs>
<!-- dependencies repos, can be overwritten by profiles -->
<eclipse.codename>indigo</eclipse.codename>
<repo.eclipse>${repo.eclipse.indigo}</repo.eclipse>
<repo.ajdt>${repo.ajdt.indigo}</repo.ajdt>
<!-- default values, can be overwritten by profiles -->
<scala.version>2.10.0</scala.version>
<scala.era.major.version>2.10</scala.era.major.version>
<scala.library.version>${scala.version}</scala.library.version>
<sbt.compiled.version>${scala.version}</sbt.compiled.version>
<version.suffix>2_10</version.suffix>
<version.tag>local</version.tag>
<!-- the repos containing the Scala dependencies -->
<repo.scala-refactoring>Select a profile</repo.scala-refactoring>
<repo.scalariform>Select a profile</repo.scalariform>
<repo.typesafe>Select a profile</repo.typesafe>
</properties>
<profiles>
<profile>
<id>scala-2.10.x</id>
<properties>
<scala.version>2.10.2-SNAPSHOT</scala.version>
<scala.era.major.version>2.10</scala.era.major.version>
<version.suffix>2_10</version.suffix>
<!-- The version is odd, but correct. We need the `SNAPSHOT` in the sbt version
because we need to grab the latest Sbt artifacts compiled against the latest
Scala 2.10.2-SNAPSHOT.
If you want to build the Scala IDE against Scala 2.10.0 or Scala 2.10.1, make
sure to pass -Dsbt.version=0.13.0-M1 to the build script (no SNAPSHOT is needed
in this case because the Scala version is stable!)
-->
<sbt.version>0.13.0-M1-SNAPSHOT</sbt.version>
<repo.scala-refactoring>${repo.scala-ide.root}/scala-refactoring-210x</repo.scala-refactoring>
<repo.scalariform>${repo.scala-ide.root}/scalariform-210x</repo.scalariform>
<repo.typesafe>http://repo.typesafe.com/typesafe/ide-2.10</repo.typesafe>
</properties>
</profile>
<profile>
<id>scala-2.11.x</id>
<properties>
<scala.version>2.11.0-SNAPSHOT</scala.version>
<scala.era.major.version>2.11</scala.era.major.version>
<version.suffix>2_11</version.suffix>
<sbt.version>0.13.0-SNAPSHOT</sbt.version> <!-- We use Sbt 0.13 master for building against Scala 2.11.0-SNAPSHOT -->
<repo.scala-refactoring>${repo.scala-ide.root}/scala-refactoring-211x</repo.scala-refactoring>
<repo.scalariform>${repo.scala-ide.root}/scalariform-211x</repo.scalariform>
<repo.typesafe>http://repo.typesafe.com/typesafe/ide-2.11</repo.typesafe>
</properties>
</profile>
<profile>
<!-- Eclipse Juno -->
<id>eclipse-juno</id>
<properties>
<eclipse.codename>juno</eclipse.codename>
<repo.eclipse>${repo.eclipse.juno}</repo.eclipse>
<repo.ajdt>${repo.ajdt.juno}</repo.ajdt>
<weaving.hook.plugin.version>1.0.200.v20120524-1707</weaving.hook.plugin.version>
</properties>
</profile>
<profile>
<!-- some extra configuration for running tests with tycho on Mac OS -->
<id>macOs</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<tycho.test.OSspecific>-Dosgi.ws=cocoa -XstartOnFirstThread</tycho.test.OSspecific>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<dependencies>
<dependency>
<artifactId>org.eclipse.jdt.launching.macosx</artifactId>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<!-- pull the data needed to add the version numbers to the manifests -->
<id>set-versions</id>
<dependencies>
<dependency>
<groupId>org.scala-ide</groupId>
<artifactId>build-tools_2.9.2</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
<properties>
<scala.version>2.9.2</scala.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>copy.reflect</id>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<classpathScope>compile</classpathScope>
<mainClass>org.scalaide.buildtools.UpdateScalaIDEManifests</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<!-- extra repository containing the build package -->
<id>typesafe-ide</id>
<name>Typesafe IDE repository</name>
<url>http://repo.typesafe.com/typesafe/ide-2.9</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
<repositories>
<!-- the sonatype repos -->
<repository>
<id>sonatype.release</id>
<name>Sonatype maven release repository</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
<snapshots><enabled>false</enabled></snapshots>
</repository>
<repository>
<id>sonatype.snapshot</id>
<name>Sonatype maven snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<!-- toolchain, Scala library -->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.library.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-swing</artifactId>
<version>${scala.library.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-dbc</artifactId>
<version>${scala.library.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-actors</artifactId>
<version>${scala.library.version}</version>
</dependency>
<!-- toolchain, Scala compiler -->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang.plugins</groupId>
<artifactId>continuations</artifactId>
<version>${scala.version}</version>
</dependency>
<!-- toolchain, sbt -->
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>classpath_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>logging_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>io_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>control_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>classfile_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>process_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>relation_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>interface_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>persist_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>api_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>compiler-integration_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>incremental-compiler_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>compile_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>compiler-interface_${sbt.compiled.version}</artifactId>
<version>${sbt.version}</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>${jline.version}</version>
</dependency>
<dependency>
<groupId>org.scala-tools.sbinary</groupId>
<artifactId>sbinary_${sbt.compiled.version}</artifactId>
<version>${sbinary.version}</version>
</dependency>
<!-- sdt.core dependencies -->
<dependency>
<groupId>com.miglayout</groupId>
<artifactId>miglayout</artifactId>
<version>${miglayout.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- test support -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<!-- define the version of all used plugins, and some default configuration -->
<plugins>
<!-- osgi bundle builder -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bunble.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<unpackBundle>true</unpackBundle>
<manifestLocation>${project.build.directory}/META-INF</manifestLocation>
</configuration>
</plugin>
<!-- set property value from file -->
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>${properties-maven.plugin.version}</version>
</plugin>
<!-- tycho plugins -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<!-- aspectJ support -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${aspectj.plugin.version}</version>
</plugin>
<!-- scala compiler -->
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala.plugin.version}</version>
</plugin>
<!-- git hash extractor -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>${buildnumber-maven.plugin.version}</version>
</plugin>
<!-- creating maven source artefact -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source.plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean.plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Jump to Line
Something went wrong with that request. Please try again.