Which deploys without issues in 2.5.x because of Log4j libraries not repackaged in older versions. If the plugin has been deployed in 2.5.x and then moved to a 3.3 build for testing, Plugins Deployment returns as true despite the Logger class was repackaged in 3.3
Steps to reproduce.
Deploy a plugin in 2.5.x which includes call to classes compatible only with 2.5.x.
Once the "Build Successful" message is returned, copy the entire plugin to a 3.3 build.
Redeploy plugins using the scripts under bin folder. It returns "Build Successful".
Remove the plugin's build folder.
Redeploy plugins. "Build failed" message is returned.
Issue by joseorsini Thursday Mar 03, 2016 at 15:39 GMT Originally opened as https://github.com/dotCMS/core/issues/8703
Reproduced in 3.3 running on Mac OS X El Capitan, Ubuntu Linux 14.04 LTS and Windows Server 2012.
Testing a plugin that includes the following code
Which deploys without issues in 2.5.x because of Log4j libraries not repackaged in older versions. If the plugin has been deployed in 2.5.x and then moved to a 3.3 build for testing, Plugins Deployment returns as true despite the Logger class was repackaged in 3.3
Steps to reproduce.
Plugins deployment output: https://gist.github.com/joseorsini/60edd745ca79e26d3f10
Potential solution: Check that build folder is properly removed once bin\undeploy-plugins.bat | bin/undeploy-plugins.sh is executed.