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

Dependency with classifier not included #102

Closed
cordarei opened this issue Dec 9, 2013 · 2 comments
Closed

Dependency with classifier not included #102

cordarei opened this issue Dec 9, 2013 · 2 comments

Comments

@cordarei
Copy link

cordarei commented Dec 9, 2013

I have a dependency on the Stanford CoreNLP library, which has a 'models' jar that contains resources necessary to use the library. The dependency setting looks like:

libraryDependencies ++= Seq(                                                                                                                                                                                         
  "edu.stanford.nlp" % "stanford-corenlp" % "3.3.0",                                                                                                                                                                 
  "edu.stanford.nlp" % "stanford-corenlp" % "3.3.0" classifier "models"                                                                                                                                              
)

I can't figure out how to get the sbt-native-packager to include both jars in the stage/lib directory and the classpath, even though sbt is downloading both jars. Is this a known limitation of the plugin, or am I missing something? Is there some way to manually tell the plugin to include the second jar in the distribution?

Is this related to #67?

@cordarei
Copy link
Author

cordarei commented Dec 9, 2013

Sorry; I just noticed that I was using version 0.6.3 - it works correctly in 0.6.4.

I apologize for the noise.

@cordarei cordarei closed this as completed Dec 9, 2013
@jsuereth
Copy link
Member

jsuereth commented Dec 9, 2013

Thanks for the report and analysis :). Hope the plugin is working well for you.

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

2 participants