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

Fix duplicate jar name when artifact classifier is used #67

Merged
merged 1 commit into from
Nov 8, 2013

Conversation

bbarkley
Copy link
Contributor

@bbarkley bbarkley commented Nov 8, 2013

We ran into a problem where our packaged app's classpath was being generated incorrectly. We have two artifacts with the same coordinates, except one has a classifier. In this case the scriptClasspath ended up having two entries with the same name, but only one ended up in the lib directory (in our case it was the wrong one).

This patch adds the classifier to the jar name if one exists so that all files are packaged.

@jsuereth
Copy link
Member

jsuereth commented Nov 8, 2013

Wow. Cant' beleive I missed that. Thanks for the fix!

jsuereth added a commit that referenced this pull request Nov 8, 2013
Fix duplicate jar name when artifact classifier is used
@jsuereth jsuereth merged commit f5f284a into sbt:master Nov 8, 2013
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

Successfully merging this pull request may close these issues.

2 participants