Install package button breaks scm-manager
Problems encountered when installing my plugin via the "Install Package" button.
1) If other plugins are install, this new installation may break previously installed plugins. (the plugins/classpath.xml file will remove some jars)
2) If installation doesn't break, when later installing an existing plugin, it will remove my previous plugin from the classpath.xml file.
The problem exists in the standalone and .war version.
Looks like different mechanisms are used to upload the classpath file, and one breaks the other.
Plugin used http://oss.aquenos.com/scm/scm-ssh-plugin/ (if installed without other plugin, or with fixed classpath files, works as expected).
To reproduce: 1) start with a fresh install and start 2) git init the ~/.scm folder 3) install a plugin from the list and restart 4) git commit -a the ~/.scm folder 5) then install the uploaded plugin (could still work) 6) git commit -a the ~/.scm folder 7) restart 8) git status to see change git commit 9) and then install a third plugin from the list. 10) git status to see removed path from the classpath.xml file.