You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prefer Java upgrade over CVE in dependency recommendations (#1033)
When both Java upgrade and CVE issues are detected, surface the Java upgrade recommendation first instead of the CVE fix. The notification selection logic derives its state from a single isCVE flag and uses ExtensionState-keyed lookup tables for button labels. Add a product-style README section describing the upgrade and security (CVE) recommendations powered by the app modernization extension.
Co-authored-by: Frank Liu <haital@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Changyong Gong <chagon@microsoft.com>
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,17 @@ You can tell that the glob pattern is supported. And here's more - you can incl
55
55
}
56
56
```
57
57
58
+
### Stay Secure and Up to Date
59
+
60
+
Project Manager for Java keeps an eye on your project's Java runtime and dependencies, so you don't have to track them yourself. When it spots something worth your attention, it offers a one-click recommendation to fix it:
61
+
62
+
-**Upgrade recommendations** – Get notified when your Java runtime or libraries are out of date, deprecated, or have reached end of life, along with a suggested target version.
63
+
-**Security recommendations** – Get alerted when known vulnerabilities (CVEs) are detected in your dependencies, so you can address them before they become a problem.
64
+
65
+
When you accept a recommendation, the upgrade or fix is carried out for you by the [GitHub Copilot app modernization](https://marketplace.visualstudio.com/items?itemName=vscjava.migrate-java-to-azure) extension. If the extension isn't installed yet, it will be set up automatically as part of the flow.
66
+
67
+
You can turn these reminders on or off at any time with the `java.dependency.enableDependencyCheckup` setting.
0 commit comments