1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
+
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <groupId >home</groupId >
8
+ <artifactId >vehicle</artifactId >
9
+ <version >1.0.0</version >
10
+
11
+ <packaging >jar</packaging >
12
+
13
+ <name >vehicle accounting</name >
14
+
15
+ <properties >
16
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
17
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
18
+ <maven .compiler.source>11</maven .compiler.source>
19
+ <maven .compiler.target>11</maven .compiler.target>
20
+ </properties >
21
+
22
+ <dependencies >
23
+ <dependency >
24
+ <groupId >org.xerial</groupId >
25
+ <artifactId >sqlite-jdbc</artifactId >
26
+ <version >3.34.0</version >
27
+ </dependency >
28
+ <dependency >
29
+ <groupId >org.swinglabs.swingx</groupId >
30
+ <artifactId >swingx-all</artifactId >
31
+ <version >1.6.5-1</version >
32
+ </dependency >
33
+ <dependency >
34
+ <groupId >log4j</groupId >
35
+ <artifactId >log4j</artifactId >
36
+ <version >1.2.17</version >
37
+ </dependency >
38
+ <dependency >
39
+ <groupId >org.junit.jupiter</groupId >
40
+ <artifactId >junit-jupiter-engine</artifactId >
41
+ <version >5.0.0</version >
42
+ <scope >test</scope >
43
+ </dependency >
44
+ </dependencies >
45
+
46
+ <build >
47
+ <plugins >
48
+ <plugin >
49
+ <groupId >org.apache.maven.plugins</groupId >
50
+ <artifactId >maven-dependency-plugin</artifactId >
51
+ <executions >
52
+ <execution >
53
+ <id >copy-dependencies</id >
54
+ <phase >prepare-package</phase >
55
+ <goals >
56
+ <goal >copy-dependencies</goal >
57
+ </goals >
58
+ <configuration >
59
+ <outputDirectory >${project.build.directory} /lib</outputDirectory >
60
+ <overWriteReleases >false</overWriteReleases >
61
+ <overWriteSnapshots >false</overWriteSnapshots >
62
+ <overWriteIfNewer >true</overWriteIfNewer >
63
+ </configuration >
64
+ </execution >
65
+ </executions >
66
+ </plugin >
67
+ <plugin >
68
+ <groupId >org.apache.maven.plugins</groupId >
69
+ <artifactId >maven-jar-plugin</artifactId >
70
+ <configuration >
71
+ <archive >
72
+ <manifest >
73
+ <addClasspath >true</addClasspath >
74
+ <classpathPrefix >lib/</classpathPrefix >
75
+ <mainClass >home.Main</mainClass >
76
+ </manifest >
77
+ </archive >
78
+ </configuration >
79
+ </plugin >
80
+ </plugins >
81
+ </build >
82
+
83
+ </project >
0 commit comments