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
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,24 @@ Make sure you have the CF Community plugin repository configured or add it via (
14
14
15
15
Trigger installation of the plugin via
16
16
```
17
-
cf install-plugin -r CF-Community "java-plugin"
17
+
cf install-plugin -r CF-Community "java"
18
18
```
19
19
20
20
### Manual Installation
21
21
Download the binary file for your target OS from the [latest release](https://github.com/SAP/cf-cli-java-plugin/releases/latest).
22
22
23
-
If you've already installed the plugin and are updating it, you must first execute the `cf uninstall-plugin JavaPlugin` command.
23
+
If you've already installed the plugin and are updating it, you must first execute the `cf uninstall-plugin java` command.
24
24
25
25
Install the plugin with `cf install-plugin [cf-cli-java-plugin]` (replace `[cf-cli-java-plugin]` with the actual binary name you will use, which depends on the OS you are running).
26
26
27
-
You can verify that the plugin is successfully installed by looking for `JavaPlugin` in the output of `cf plugins`.
27
+
You can verify that the plugin is successfully installed by looking for `java` in the output of `cf plugins`.
28
+
29
+
### Updating from version 1.x to 2.x
30
+
31
+
With release 2.0 we aligned the convention of the plugin having the same name as the command it contributes (in our case, `java`).
32
+
This change mostly affects you in the way you update your plugin.
33
+
If you have the version 1.x installed, you will need to uninstall the old version first by using the command: `cf uninstall-plugin JavaPlugin`.
34
+
You know you have the version 1.x installed if `JavaPlugin` appears in the output of `cf plugins`.
0 commit comments