How to override core Nuxeo class?
Can anyone help with this topic? I've built my own modified Nuxeo package named same as the default one and then I replaced existing .jar with the new one. But I'd like to avoid this method because I need to have modified jars for each Nuxeo DM version.
You should not have to modify a core Nuxeo class. The good way of developing with Nuxeo si to contribute additional plugins that will get hooked to the core features. We try to make sure that everything that could require to be customised is configurable through an extension point, an adapter, a factory, etc.. Of course the product can always be improved and we might have missed a point, just mention it and we will see if we can make it more flexible. You can read this introduction for more information.