55 <packaging >jar</packaging >
66 <version >1.0-SNAPSHOT</version >
77 <dependencies >
8- <dependency >
9- <groupId >org.mongodb</groupId >
10- <artifactId >mongodb-driver-sync</artifactId ><version >x.x.x</version >
11- </dependency >
8+ <dependency >
9+ <groupId >org.mongodb</groupId >
10+ <artifactId >mongodb-driver-sync</artifactId ><version >x.x.x</version >
11+ </dependency >
12+ <dependency >
13+ <groupId >org.slf4j</groupId >
14+ <artifactId >slf4j-api</artifactId >
15+ <version >1.7.6</version >
16+ <scope >compile</scope >
17+ <optional >true</optional >
18+ </dependency >
1219 </dependencies >
1320 <properties >
1421 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1522 </properties >
1623 <build >
1724 <plugins >
18- <plugin >
19- <groupId >org.apache.maven.plugins</groupId >
20- <artifactId >maven-compiler-plugin</artifactId >
21- <version >3.7.0</version >
22- <configuration >
23- <source >1.8</source >
24- <target >1.8</target >
25- </configuration >
26- </plugin >
27- <plugin >
28- <groupId >org.apache.maven.plugins</groupId >
29- <artifactId >maven-shade-plugin</artifactId >
30- <version >3.1.1</version >
31- <executions >
32- <execution >
33- <phase >package</phase >
34- <goals >
35- <goal >shade</goal >
36- </goals >
37- <configuration >
38- <transformers >
39- <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
40- <mainClass >com.start.Getstarted</mainClass >
41- </transformer >
42- </transformers >
43- </configuration >
44- </execution >
45- </executions >
46- </plugin >
47- </plugins >
25+ <plugin >
26+ <groupId >org.apache.maven.plugins</groupId >
27+ <artifactId >maven-compiler-plugin</artifactId >
28+ <version >3.7.0</version >
29+ <configuration >
30+ <source >1.8</source >
31+ <target >1.8</target >
32+ </configuration >
33+ </plugin >
34+ <plugin >
35+ <groupId >org.apache.maven.plugins</groupId >
36+ <artifactId >maven-shade-plugin</artifactId >
37+ <version >3.1.1</version >
38+ <executions >
39+ <execution >
40+ <phase >package</phase >
41+ <goals >
42+ <goal >shade</goal >
43+ </goals >
44+ <configuration >
45+ <transformers >
46+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
47+ <mainClass >com.start.Getstarted</mainClass >
48+ </transformer >
49+ </transformers >
50+ </configuration >
51+ </execution >
52+ </executions >
53+ </plugin >
54+ </plugins >
4855 </build >
4956</project >
0 commit comments