For a specific technical reason, I am interested in developing some lib outside of Dspace, that would be used in Dspace. However those lib will have some dependency on some dspace class like Item. I am thinking of simply adding things like Dspace-api as dependency during the development of the lib. The lib as to be a separate project from dspace.
What would be the proper way to re-integrate them after, that is, adding the lib as dependency to my Dspace Application. Would simply adding them as dependency to the "overalyed" e.g. Api be enough?