-
Notifications
You must be signed in to change notification settings - Fork 275
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
Inconsistent JAR dependencies #350
Comments
The dependency tree indicates to me that these differences make sense. As an example, you can see the
I may be misunderstanding, but I think this is okay. You can build the dependency trees with
|
@runderwood, I think a more interesting question to ask would be, why are there two separate lib directories with a lot of overlapping JARs. What is their distinct purpose and role? If the two are serving different and independent purposes then it is fine to have such discrepancies. However, if vastly the same JARs are packed into an a lib directory of the build artifact so that people can utilize that without necessarily using the webapp then either the redundancy can be removed and documented or dependencies should be in sync. |
I think the problem, as I understand it, is that the dependencies in question are dependencies of dependencies. So they're not really under our control. |
@runderwood, that makes sense. However, the question still remains, why do we need two separate lib directories? If one is super-set of the other then we can perhaps get rid of other. |
My understanding is that OpenWayback is the parent of the OpenWayback Web App. So they're built at different stages, and they have different dependencies. There's no way I know of to force a dependency, like the It may be the case that there are extraneous dependencies in the web app. I haven't dug in that far. But I think that's a different question from the one you're raising here. My sense is that a) this is just the way dependency management works in a project w/ multiple targets and b) it's not really a problem. Of course, I reserve the right to be wrong. |
When we build the source using
mvn package
and extractdist/target/openwayback.tar.gz
file, twolib
directories are created. one is outside the webapp and one inside the webapp underWEB-INF
. The one insideWEB-INF
has 79 files while the one outside has only 62. Here is the comm view with common files removed while first column shows unique files in outsidelib
and second column shows unique files in the innerlib
directory.This shows that outside
lib
directory has newer versions of commons-cli, log4j, and stax-api. I think the packaging needs some update for consistency, unless there is a reason why it is the way it is.The text was updated successfully, but these errors were encountered: