|
32 | 32 | <dependencies>
|
33 | 33 | <dependency>
|
34 | 34 | <groupId>org.springframework.boot</groupId>
|
35 |
| - <artifactId>spring-boot-starter-web</artifactId> |
| 35 | + <artifactId>spring-boot-starter-data-mongodb</artifactId> |
36 | 36 | </dependency>
|
37 |
| - |
38 | 37 | <dependency>
|
39 | 38 | <groupId>org.springframework.boot</groupId>
|
40 |
| - <artifactId>spring-boot-starter-test</artifactId> |
41 |
| - <scope>test</scope> |
| 39 | + <artifactId>spring-boot-starter-web</artifactId> |
42 | 40 | </dependency>
|
| 41 | + |
43 | 42 | <dependency>
|
44 | 43 | <groupId>org.springframework.boot</groupId>
|
45 | 44 | <artifactId>spring-boot-devtools</artifactId>
|
46 | 45 | <scope>runtime</scope>
|
47 |
| - </dependency> |
48 |
| - <dependency> |
49 |
| - <groupId>org.springframework.boot</groupId> |
50 |
| - <artifactId>spring-boot-starter-data-mongodb</artifactId> |
| 46 | + <optional>true</optional> |
51 | 47 | </dependency>
|
52 | 48 | <dependency>
|
53 | 49 | <groupId>org.projectlombok</groupId>
|
54 | 50 | <artifactId>lombok</artifactId>
|
55 |
| - <scope>provided</scope> |
| 51 | + <optional>true</optional> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>org.springframework.boot</groupId> |
| 55 | + <artifactId>spring-boot-starter-test</artifactId> |
| 56 | + <scope>test</scope> |
56 | 57 | </dependency>
|
57 | 58 | </dependencies>
|
58 | 59 |
|
59 | 60 | <build>
|
60 | 61 | <plugins>
|
| 62 | + <plugin> |
| 63 | + <groupId>org.apache.maven.plugins</groupId> |
| 64 | + <artifactId>maven-compiler-plugin</artifactId> |
| 65 | + <configuration> |
| 66 | + <annotationProcessorPaths> |
| 67 | + <path> |
| 68 | + <groupId>org.projectlombok</groupId> |
| 69 | + <artifactId>lombok</artifactId> |
| 70 | + </path> |
| 71 | + </annotationProcessorPaths> |
| 72 | + </configuration> |
| 73 | + </plugin> |
61 | 74 | <plugin>
|
62 | 75 | <groupId>org.springframework.boot</groupId>
|
63 | 76 | <artifactId>spring-boot-maven-plugin</artifactId>
|
| 77 | + <configuration> |
| 78 | + <excludes> |
| 79 | + <exclude> |
| 80 | + <groupId>org.projectlombok</groupId> |
| 81 | + <artifactId>lombok</artifactId> |
| 82 | + </exclude> |
| 83 | + </excludes> |
| 84 | + </configuration> |
64 | 85 | </plugin>
|
65 | 86 | </plugins>
|
66 | 87 | </build>
|
|
0 commit comments