-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
61 lines (56 loc) · 2.14 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
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.tors42</groupId>
<artifactId>charibot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jlink</packaging>
<dependencies>
<dependency>
<groupId>io.github.tors42</groupId>
<artifactId>chariot</artifactId>
<version>0.1.8</version>
</dependency>
</dependencies>
<properties>
<maven.compiler.release>23</maven.compiler.release>
<source.jdk>${env.JAVA_HOME}</source.jdk>
<os.arch.classifier>${os.name}-${os.arch}</os.arch.classifier>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin</artifactId>
<version>3.2.0</version>
<extensions>true</extensions>
<configuration>
<sourceJdkModules>${source.jdk}</sourceJdkModules>
<classifier>${os.arch.classifier}</classifier>
<launcher>bot=charibot/bot.Bot</launcher>
<addOptions>
<addOption>--enable-preview</addOption>
</addOptions>
<addModules>
<addModule>jdk.jfr</addModule>
<addModule>jdk.jcmd</addModule>
</addModules>
<compress>zip-9</compress>
<noHeaderFiles>true</noHeaderFiles>
<noManPages>true</noManPages>
<!--<stripDebug>true</stripDebug>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<compilerArgs>
<compilerArg>--enable-preview</compilerArg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</project>