Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
342 lines (336 sloc) 12.9 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>
<parent>
<groupId>org.scala-ide</groupId>
<artifactId>org.scala-ide.sdt.build</artifactId>
<version>4.7.1-SNAPSHOT</version>
<relativePath>../org.scala-ide.sdt.build/pom.xml</relativePath>
</parent>
<artifactId>org.scala-ide.sdt.core</artifactId>
<packaging>eclipse-plugin</packaging>
<dependencies>
<dependency>
<groupId>com.miglayout</groupId>
<artifactId>miglayout</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<!-- log4j without its dependencies -->
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.cedarsoftware</groupId>
<artifactId>json-io</artifactId>
<version>${json-io.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-core_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-classpath_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>compiler-interface</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-ide</groupId>
<artifactId>zinc-compile-core_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-persist_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-apiinfo_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-classfile_${scala.minor.version}</artifactId>
<version>${zinc.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>util-interface</artifactId>
<version>${sbt-util.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>util-logging_${scala.minor.version}</artifactId>
<version>${sbt-util.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>util-control_${scala.minor.version}</artifactId>
<version>${sbt-util.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>util-relation_${scala.minor.version}</artifactId>
<version>${sbt-util.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>io_${scala.minor.version}</artifactId>
<version>${sbt-io.version}</version>
</dependency>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>sbinary_${scala.minor.version}</artifactId>
<version>${sbinary.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scalap</artifactId>
<version>${scala212.version}</version>
<exclusions>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
<id>bintray.com</id>
<name>bintray repo</name>
<url>https://dl.bintray.com/sbt/maven-releases/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- copy the jar dependencies -->
<execution>
<id>copy</id>
<phase>initialize</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</artifactItem>
<artifactItem>
<groupId>com.miglayout</groupId>
<artifactId>miglayout</artifactId>
</artifactItem>
<artifactItem>
<groupId>com.cedarsoftware</groupId>
<artifactId>json-io</artifactId>
</artifactItem>
<artifactItem>
<groupId>com.cedarsoftware</groupId>
<artifactId>json-io</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-core_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-core_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-classpath_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-classpath_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>compiler-interface</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>compiler-interface</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-ide</groupId>
<artifactId>zinc-compile-core_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-ide</groupId>
<artifactId>zinc-compile-core_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-persist_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-persist_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-apiinfo_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-apiinfo_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-classfile_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>zinc-classfile_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-interface</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-interface</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-logging_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-logging_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-control_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-control_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-relation_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>util-relation_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>io_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>io_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>sbinary_${scala.minor.version}</artifactId>
</artifactItem>
<artifactItem>
<groupId>org.scala-sbt</groupId>
<artifactId>sbinary_${scala.minor.version}</artifactId>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.scala-lang</groupId>
<artifactId>scalap</artifactId>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- Scalastyle -->
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
<configuration>
<sourceDirectories>
<dir>src</dir>
</sourceDirectories>
<configLocation>../org.scala-ide.sdt.core/scala-ide-style-config.xml</configLocation>
</configuration>
</plugin>
<!-- added source folder containing the code specific to the Eclipse version -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals><goal>add-source</goal></goals>
<configuration>
<sources>
<source>src-${eclipse.codename}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>