-
Notifications
You must be signed in to change notification settings - Fork 682
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
[#1876] artifacts named '*.jar' should not be treated as modules. #803
Conversation
this patch ensure local '.jar' artifacts are copied to 'lib/' instead of extracted to 'modules/'.
play-1-3-x-pull-requests #285 FAILURE |
could anyone please help resolve the pull request builder? it keeps failing with merge error, maybe the jenkins build workspace need clean up as a pre-build step? |
@ryenus I'm not sure what's happening - I'll look into it |
The problem is like this:
The expected result is that the included jar file should be copied to the While the actual result is that the jar file is extracted to the Looking into the code it's because the condition below is matched because the jar in this case is inside
HTH, thank you |
@ryenus Why do you need to run |
@ryenus I was referring to the cloudbees failures - I didn't really look at your PR itself yet. |
@xael-fry, run In our case, one of our custom module have third party dependencies and somehow running I agree that in most cases a module being worked on should be put outside of the But I do expect jar files should be just copied to @Notalifeform, thanks for the clarification, may be the jenkins workspace need a cleanup/hard-reset? |
[#1876] artifacts named '*.jar' should not be treated as modules.
Merged in master and 1.3.x |
Unfortunately, our application doesn't work anymore with this change applied. |
ok will revert the changes or fix it. |
Example of our dependencies.yml that doesn't work: require: Modules that are resolved using this http resolver are no longer resolved... |
Thanks you. Will look into it tonight |
It seems that ivy downloads zip files from custom repository as jar files for some reason and the code and that's why DependenciesManager used to check for artifact.getArtifactOrigin().getLocation().endsWith(".zip"), which produces the correct result. The new code that just returns in case of local name *.jar doesn't check the artifact origin anymore |
A friendly reminder :-) |
Sorry did not have time to look at it. It's on my todo and I hope to have a bit of time tonight. |
Revert for now, will work on the issue later |
this patch ensure local '.jar' artifacts are copied to 'lib/'
instead of extracted to 'modules/'.
see http://play.lighthouseapp.com/projects/57987-play-framework/tickets/1876