Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a connector that uses an external neo4j JAR #10

Open
Riduidel opened this issue Feb 21, 2013 · 1 comment
Open

Provide a connector that uses an external neo4j JAR #10

Riduidel opened this issue Feb 21, 2013 · 1 comment

Comments

@Riduidel
Copy link
Contributor

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)

@Riduidel
Copy link
Contributor Author

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant