1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <groupId >org.example</groupId >
8
+ <artifactId >maven-test-project</artifactId >
9
+ <version >1.0-SNAPSHOT</version >
10
+
11
+ <properties >
12
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
13
+ <kotlin .code.style>official</kotlin .code.style>
14
+ <kotlin .compiler.jvmTarget>1.8</kotlin .compiler.jvmTarget>
15
+ <kotlin .version>2.1.0</kotlin .version>
16
+ <compose .version>1.8.0-alpha02</compose .version>
17
+ </properties >
18
+
19
+ <repositories >
20
+ <repository >
21
+ <id >mavenCentral</id >
22
+ <url >https://repo1.maven.org/maven2/</url >
23
+ </repository >
24
+ <repository >
25
+ <id >gMaven</id >
26
+ <url >https://maven.google.com/</url >
27
+ </repository >
28
+ <repository >
29
+ <id >composeDev</id >
30
+ <url >https://maven.pkg.jetbrains.space/public/p/compose/dev</url >
31
+ </repository >
32
+ </repositories >
33
+
34
+ <build >
35
+ <sourceDirectory >src/main/kotlin</sourceDirectory >
36
+ <testSourceDirectory >src/test/kotlin</testSourceDirectory >
37
+ <plugins >
38
+ <plugin >
39
+ <groupId >org.jetbrains.kotlin</groupId >
40
+ <artifactId >kotlin-maven-plugin</artifactId >
41
+ <version >${kotlin.version} </version >
42
+ <executions >
43
+ <execution >
44
+ <id >compile</id >
45
+ <phase >compile</phase >
46
+ <goals >
47
+ <goal >compile</goal >
48
+ </goals >
49
+ </execution >
50
+ <execution >
51
+ <id >test-compile</id >
52
+ <phase >test-compile</phase >
53
+ <goals >
54
+ <goal >test-compile</goal >
55
+ </goals >
56
+ </execution >
57
+ </executions >
58
+ <configuration >
59
+ <args >org.jetbrains.kotlin:kotlin-compose-compiler-plugin-embeddable
60
+ <arg >-Xplugin=${user.home} /.m2/repository/org/jetbrains/kotlin/kotlin-compose-compiler-plugin/${kotlin.version} /kotlin-compose-compiler-plugin-${kotlin.version} .jar</arg >
61
+ </args >
62
+ </configuration >
63
+ </plugin >
64
+ <plugin >
65
+ <artifactId >maven-surefire-plugin</artifactId >
66
+ <version >2.22.2</version >
67
+ </plugin >
68
+ <plugin >
69
+ <artifactId >maven-failsafe-plugin</artifactId >
70
+ <version >2.22.2</version >
71
+ </plugin >
72
+ <plugin >
73
+ <groupId >org.codehaus.mojo</groupId >
74
+ <artifactId >exec-maven-plugin</artifactId >
75
+ <version >1.6.0</version >
76
+ <configuration >
77
+ <mainClass >MainKt</mainClass >
78
+ </configuration >
79
+ </plugin >
80
+ </plugins >
81
+ </build >
82
+
83
+ <dependencies >
84
+ <dependency >
85
+ <groupId >org.jetbrains.kotlin</groupId >
86
+ <artifactId >kotlin-test-junit5</artifactId >
87
+ <version >${kotlin.version} </version >
88
+ <scope >test</scope >
89
+ </dependency >
90
+ <dependency >
91
+ <groupId >org.junit.jupiter</groupId >
92
+ <artifactId >junit-jupiter</artifactId >
93
+ <version >5.10.0</version >
94
+ <scope >test</scope >
95
+ </dependency >
96
+ <dependency >
97
+ <groupId >org.jetbrains.kotlin</groupId >
98
+ <artifactId >kotlin-stdlib</artifactId >
99
+ <version >${kotlin.version} </version >
100
+ </dependency >
101
+ <dependency >
102
+ <groupId >org.jetbrains.compose.material3</groupId >
103
+ <artifactId >material3-desktop</artifactId >
104
+ <version >${compose.version} </version >
105
+ </dependency >
106
+
107
+ <dependency >
108
+ <groupId >org.jetbrains.compose.desktop</groupId >
109
+ <artifactId >desktop-jvm-windows-x64</artifactId >
110
+ <version >${compose.version} </version >
111
+ <type >pom</type >
112
+ <exclusions >
113
+ <exclusion >
114
+ <groupId >org.jetbrains.compose.desktop</groupId >
115
+ <artifactId >desktop</artifactId >
116
+ </exclusion >
117
+ </exclusions >
118
+ </dependency >
119
+ <dependency >
120
+ <groupId >org.jetbrains.compose.desktop</groupId >
121
+ <artifactId >desktop-jvm-windows-arm64</artifactId >
122
+ <version >${compose.version} </version >
123
+ <type >pom</type >
124
+ <exclusions >
125
+ <exclusion >
126
+ <groupId >org.jetbrains.compose.desktop</groupId >
127
+ <artifactId >desktop</artifactId >
128
+ </exclusion >
129
+ </exclusions >
130
+ </dependency >
131
+
132
+ <dependency >
133
+ <groupId >org.jetbrains.compose.desktop</groupId >
134
+ <artifactId >desktop-jvm-linux-x64</artifactId >
135
+ <version >${compose.version} </version >
136
+ <type >pom</type >
137
+ <exclusions >
138
+ <exclusion >
139
+ <groupId >org.jetbrains.compose.desktop</groupId >
140
+ <artifactId >desktop</artifactId >
141
+ </exclusion >
142
+ </exclusions >
143
+ </dependency >
144
+ <dependency >
145
+ <groupId >org.jetbrains.compose.desktop</groupId >
146
+ <artifactId >desktop-jvm-linux-arm64</artifactId >
147
+ <version >${compose.version} </version >
148
+ <type >pom</type >
149
+ <exclusions >
150
+ <exclusion >
151
+ <groupId >org.jetbrains.compose.desktop</groupId >
152
+ <artifactId >desktop</artifactId >
153
+ </exclusion >
154
+ </exclusions >
155
+ </dependency >
156
+
157
+ <dependency >
158
+ <groupId >org.jetbrains.compose.desktop</groupId >
159
+ <artifactId >desktop-jvm-macos-x64</artifactId >
160
+ <version >${compose.version} </version >
161
+ <type >pom</type >
162
+ <exclusions >
163
+ <exclusion >
164
+ <groupId >org.jetbrains.compose.desktop</groupId >
165
+ <artifactId >desktop</artifactId >
166
+ </exclusion >
167
+ </exclusions >
168
+ </dependency >
169
+ <dependency >
170
+ <groupId >org.jetbrains.compose.desktop</groupId >
171
+ <artifactId >desktop-jvm-macos-arm64</artifactId >
172
+ <version >${compose.version} </version >
173
+ <type >pom</type >
174
+ <exclusions >
175
+ <exclusion >
176
+ <groupId >org.jetbrains.compose.desktop</groupId >
177
+ <artifactId >desktop</artifactId >
178
+ </exclusion >
179
+ </exclusions >
180
+ </dependency >
181
+
182
+ <dependency >
183
+ <groupId >org.jetbrains.kotlin</groupId >
184
+ <artifactId >kotlin-compose-compiler-plugin</artifactId >
185
+ <version >${kotlin.version} </version >
186
+ </dependency >
187
+ </dependencies >
188
+
189
+ </project >
0 commit comments