I figured that my bundle is not executing new features after the manual maven installation. So I tried a log trace code as:
log.trace("start my new features");
Then I ran maven as:
mvn -Pinstall -Pinstall-publish clean install
The code basically installs the bundle on both author and publisher instances. But when I looked at the log, the line is not logged. I looked at the package installer and figured everything is correct, service is running fine from /system/console. So every time I have to restart my AEM servers, any idea how I should accomplish it without restarting the instances?
It's installing the jar file, but not loading the updated one. I tried a few times to upload it from the package manager and installed it on different servers, all other servers are the same. I barely remember if it was working without restarting the server, seems that it changed to the current behavior a few months ago.