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

Duplicates in Windows #3

Open
reppolice opened this issue Nov 29, 2016 · 2 comments
Open

Duplicates in Windows #3

reppolice opened this issue Nov 29, 2016 · 2 comments

Comments

@reppolice
Copy link

I had to install sbt on both my Mac and Windows for this, on the Mac it builds fine but towards the end of the build on Win64 I get

[error] (*:assembly) deduplicate: different file contents found in the following:
[error] C:\Users\at.ivy2\cache\org.eclipse.jetty.orbit\javax.transaction\orbits\javax.transaction-1.1.1.v201105210645.jar:META-INF/ECLIPSEF.RSA
[error] C:\Users\at.ivy2\cache\org.eclipse.jetty.orbit\javax.servlet\orbits\javax.servlet-3.0.0.v201112011016.jar:META-INF/ECLIPSEF.RSA
[error] C:\Users\at.ivy2\cache\org.eclipse.jetty.orbit\javax.mail.glassfish\orbits\javax.mail.glassfish-1.4.1.v201005082020.jar:META-INF/ECLIPSEF.RSA
[error] C:\Users\at.ivy2\cache\org.eclipse.jetty.orbit\javax.activation\orbits\javax.activation-1.1.0.v201105071233.jar:META-INF/ECLIPSEF.RSA

A bit lost with the quad duplication here, it should probably not matter but it does!

@padraic00
Copy link

I'm running into the same issue.

@bhargavabhilash
Copy link

bhargavabhilash commented Jan 21, 2018

Updating merge strategy solves the issue

val applicationMergeStrategy: (String => MergeStrategy) => String => MergeStrategy =
old => {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}

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

3 participants