查看是否有該依賴

# 指令錯誤是因為 Windows 的 PowerShell 不支援 grep,這是 Linux/macOS 的指令
mvn dependency:tree | grep aws-serverless-java-container-spring
grep : The term 'grep' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:23
+ mvn dependency:tree | grep aws-serverless-java-container-spring
+                       ~~~~
    + CategoryInfo          : ObjectNotFound: (grep:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

# 在 Windows 上,你可以使用以下方法來查找 Maven 依賴關係
mvn dependency:tree | grep lombok                              
grep : The term 'grep' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:23
+ mvn dependency:tree | grep lombok
+                       ~~~~
    + CategoryInfo          : ObjectNotFound: (grep:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

mvn dependency:tree | Select-String "aws-serverless-java-container"