Skip to content

Commit c871585

Browse files
committed
Exclude lombok from fat jar, quote MONGODB_URI in integration README
1 parent d6cda6d commit c871585

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

  • mflix/server/java-spring

mflix/server/java-spring/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,17 @@
108108
<plugin>
109109
<groupId>org.springframework.boot</groupId>
110110
<artifactId>spring-boot-maven-plugin</artifactId>
111+
<configuration>
112+
<excludes>
113+
<exclude>
114+
<groupId>org.projectlombok</groupId>
115+
<artifactId>lombok</artifactId>
116+
</exclude>
117+
</excludes>
118+
</configuration>
111119
</plugin>
112120

113-
<!-- Maven Compiler Plugin - Suppress annotation processing warnings -->
121+
<!-- Maven Compiler Plugin - Process Lombok and suppress annotation processing warnings -->
114122
<plugin>
115123
<groupId>org.apache.maven.plugins</groupId>
116124
<artifactId>maven-compiler-plugin</artifactId>

mflix/server/java-spring/src/test/java/com/mongodb/samplemflix/integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export MONGODB_URI="mongodb+srv://username:password@cluster.mongodb.net/sample_m
4242
Or use a `.env` file in the `server/java-spring` directory:
4343

4444
```
45-
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/sample_mflix?retryWrites=true&w=majority
45+
MONGODB_URI="mongodb+srv://username:password@cluster.mongodb.net/sample_mflix?retryWrites=true&w=majority"
4646
```
4747

4848
### Run the Tests

0 commit comments

Comments
 (0)