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 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <parent >
8+ <groupId >org.springframework.boot</groupId >
9+ <artifactId >spring-boot-starter-parent</artifactId >
10+ <version >2.4.2</version >
11+ <relativePath /> <!-- lookup parent from repository -->
12+ </parent >
13+
14+ <groupId >org.example</groupId >
15+ <artifactId >k8s-scheduler</artifactId >
16+ <version >1.0-SNAPSHOT</version >
17+
18+ <properties >
19+ <maven .compiler.source>11</maven .compiler.source>
20+ <maven .compiler.target>11</maven .compiler.target>
21+ <start-class >fonda.scheduler.Main</start-class >
22+ </properties >
23+
24+ <dependencies >
25+
26+ <dependency >
27+ <groupId >io.fabric8</groupId >
28+ <artifactId >kubernetes-client</artifactId >
29+ <version >5.12.2</version >
30+ </dependency >
31+
32+ <dependency >
33+ <groupId >org.javatuples</groupId >
34+ <artifactId >javatuples</artifactId >
35+ <version >1.2</version >
36+ </dependency >
37+
38+ <dependency >
39+ <groupId >org.projectlombok</groupId >
40+ <artifactId >lombok</artifactId >
41+ <version >1.18.24</version >
42+ <scope >provided</scope >
43+ </dependency >
44+
45+ <dependency >
46+ <groupId >junit</groupId >
47+ <artifactId >junit</artifactId >
48+ <version >4.13.2</version >
49+ </dependency >
50+
51+ <dependency >
52+ <groupId >org.mockito</groupId >
53+ <artifactId >mockito-inline</artifactId >
54+ <version >4.5.1</version >
55+ <scope >test</scope >
56+ </dependency >
57+
58+ <dependency >
59+ <groupId >org.springframework.boot</groupId >
60+ <artifactId >spring-boot-starter-web</artifactId >
61+ <version >2.6.7</version >
62+ </dependency >
63+
64+ <dependency >
65+ <groupId >org.springframework.boot</groupId >
66+ <artifactId >spring-boot-starter-test</artifactId >
67+ <version >2.6.7</version >
68+ <scope >test</scope >
69+ </dependency >
70+
71+ <dependency >
72+ <groupId >org.jetbrains</groupId >
73+ <artifactId >annotations</artifactId >
74+ <version >23.0.0</version >
75+ <scope >compile</scope >
76+ </dependency >
77+
78+ <dependency >
79+ <groupId >org.junit.vintage</groupId >
80+ <artifactId >junit-vintage-engine</artifactId >
81+ <version >5.8.2</version >
82+ <scope >test</scope >
83+ </dependency >
84+
85+ <dependency >
86+ <groupId >org.apache.commons</groupId >
87+ <artifactId >commons-collections4</artifactId >
88+ <version >4.4</version >
89+ <scope >test</scope >
90+ </dependency >
91+
92+ <dependency >
93+ <groupId >commons-net</groupId >
94+ <artifactId >commons-net</artifactId >
95+ <version >3.8.0</version >
96+ </dependency >
97+
98+ <dependency >
99+ <groupId >org.springdoc</groupId >
100+ <artifactId >springdoc-openapi-ui</artifactId >
101+ <version >1.6.4</version >
102+ </dependency >
103+
104+
105+ </dependencies >
106+
107+ <build >
108+ <plugins >
109+ <plugin >
110+ <groupId >org.apache.maven.plugins</groupId >
111+ <artifactId >maven-shade-plugin</artifactId >
112+ <executions >
113+ <execution >
114+ <phase >package</phase >
115+ <goals >
116+ <goal >shade</goal >
117+ </goals >
118+ <configuration >
119+ <transformers >
120+ <transformer
121+ implementation =" org.apache.maven.plugins.shade.resource.AppendingTransformer" >
122+ <resource >META-INF/spring.handlers</resource >
123+ </transformer >
124+ <transformer
125+ implementation =" org.springframework.boot.maven.PropertiesMergingResourceTransformer" >
126+ <resource >META-INF/spring.factories</resource >
127+ </transformer >
128+ <transformer
129+ implementation =" org.apache.maven.plugins.shade.resource.AppendingTransformer" >
130+ <resource >META-INF/spring.schemas</resource >
131+ </transformer >
132+ <transformer
133+ implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
134+ <transformer
135+ implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
136+ <mainClass >fonda.scheduler.Main</mainClass >
137+ </transformer >
138+ </transformers >
139+ </configuration >
140+ </execution >
141+ </executions >
142+ </plugin >
143+ <plugin >
144+ <groupId >org.jacoco</groupId >
145+ <artifactId >jacoco-maven-plugin</artifactId >
146+ <version >0.8.7</version >
147+ <configuration >
148+ <propertyName >surefireArgLine</propertyName >
149+ </configuration >
150+ <executions >
151+ <execution >
152+ <id >pre-unit-test</id >
153+ <phase >process-test-classes</phase >
154+ <goals >
155+ <goal >prepare-agent</goal >
156+ </goals >
157+ </execution >
158+ <execution >
159+ <id >post-unit-test</id >
160+ <phase >test</phase >
161+ <goals >
162+ <goal >report</goal >
163+ </goals >
164+ </execution >
165+ </executions >
166+ </plugin >
167+ <plugin >
168+ <groupId >org.apache.maven.plugins</groupId >
169+ <artifactId >maven-surefire-plugin</artifactId >
170+ <version >3.0.0-M5</version >
171+ <configuration >
172+ <!-- redirectTestOutputToFile>true</redirectTestOutputToFile -->
173+ <argLine >${surefireArgLine} --illegal-access=permit</argLine >
174+ </configuration >
175+ <executions >
176+ <execution >
177+ <id >default-test</id >
178+ <phase >test</phase >
179+ <goals >
180+ <goal >test</goal >
181+ </goals >
182+ </execution >
183+ </executions >
184+ </plugin >
185+ </plugins >
186+ </build >
187+
188+ </project >
0 commit comments