/
pom.xml
88 lines (82 loc) · 3.33 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.seratch</groupId>
<artifactId>notion-sdk-jvm-parent</artifactId>
<version>0.1.7</version>
</parent>
<artifactId>notion-sdk-jvm-scala3</artifactId>
<version>0.1.7</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<scala.version>3.0.0</scala.version>
<scalafmt.version>2.7.5</scalafmt.version>
<maven-scala-plugin.version>4.5.1</maven-scala-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>com.github.seratch</groupId>
<artifactId>notion-sdk-jvm-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala3-library_3</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>com.github.seratch</groupId>
<artifactId>notion-sdk-jvm-httpclient</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<testSourceDirectory>src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${maven-scala-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>doc-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- TODO: We should remove this version once scala-maven-plugin works with Scala v3.0
This is a workaround for attaching doc-jar. Without this version,
doc-jar task fails with "java.lang.ClassNotFoundException: scala.tools.nsc.ScalaDoc"
-->
<scalaVersion>2.13.6</scalaVersion>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.version}</version>
<configuration>
<scala>
<scalafmt>
<version>${scalafmt.version}</version>
</scalafmt>
</scala>
</configuration>
</plugin>
</plugins>
</build>
</project>