forked from spotify/flo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
103 lines (96 loc) · 2.94 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.spotify</groupId>
<artifactId>flo</artifactId>
<version>0.5.12-SNAPSHOT</version>
</parent>
<name>Flo Scala 2.11 API</name>
<artifactId>flo-scala_2.11</artifactId>
<description>
Scala API Bindings for Flo
</description>
<properties>
<scala.baseVersion>2.11</scala.baseVersion>
<scala.version>2.11.12</scala.version>
</properties>
<dependencies>
<dependency>
<groupId>com.spotify</groupId>
<artifactId>flo-workflow</artifactId>
</dependency>
<dependency>
<groupId>com.spotify</groupId>
<artifactId>flo-api-generator</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>com.spotify</groupId>
<artifactId>flo-runner</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_${scala.baseVersion}</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>../flo-scala_2.12/src/main/java</sourceDirectory>
<testSourceDirectory>../flo-scala_2.12/src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<configuration>
<sourceDir>../flo-scala_2.12/src/main/scala</sourceDir>
<scalaVersion>${scala.version}</scalaVersion>
<sendJavaToScalac>false</sendJavaToScalac>
<args>
<arg>-Xexperimental</arg>
<arg>-target:jvm-1.8</arg>
</args>
</configuration>
</plugin>
<!-- enable scalatest -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>add-source</goal>
<goal>doc-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>