You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Glassfish (as an example), one can install domain JAR both in applications (be them connectors, ears, and so on) or in domain lib folder, in which case those jars are considered available for all application in domain.
The application I'm working on use some code from that lib folder (namely the neo4j custom auth realm we wrote using this connector) which pushes us (due to ClassLoader stacking) to put in that lib dir both the connector jars and the neo4j jars.
To avoid jars duplication, could it be possible to have a RAR that only include the XML declaration and no code ? (this question is in fact dual : is it possible to do so and, if so, how)
The text was updated successfully, but these errors were encountered:
Oh crap : I clearly didn't understood how neo4j-connector work.
In fact, when invoking the maven-shade-plugin in neo4j-connector-impl, a jar is generated which contains both connector classes and neo4j ones. As a consequence, when this shaded jar is used, there is absolutely no need for the neo4j distribution ones.
Or am I again wrong ?
When using Glassfish (as an example), one can install domain JAR both in applications (be them connectors, ears, and so on) or in domain
lib
folder, in which case those jars are considered available for all application in domain.The application I'm working on use some code from that
lib
folder (namely the neo4j custom auth realm we wrote using this connector) which pushes us (due to ClassLoader stacking) to put in thatlib
dir both the connector jars and the neo4j jars.To avoid jars duplication, could it be possible to have a RAR that only include the XML declaration and no code ? (this question is in fact dual : is it possible to do so and, if so, how)
The text was updated successfully, but these errors were encountered: