There's something fishy going on with that dependency: the SHA1 hash of the
artifact doesn't match with the expected one coming from the repo. Try
adding a
:checksum :ignore
to shapshots-repo in project.clj, it should solve your issue.
HTH,
c.
Il giorno giovedì 4 giugno 2015 18:07:58 UTC+2, Jacob Goodson ha scritto:
>
> Thanks, one last question(hopefully)... I have gotten it to pull down the
> sphinx4-core but for some reason it will not pull down the data.
>
> :dependencies [[org.clojure/clojure "1.6.0"]
> [edu.cmu.sphinx/sphinx4-data "1.0-SNAPSHOT"]
> [edu.cmu.sphinx/sphinx4-core "1.0-SNAPSHOT"]]
>
> :repositories [["snapshots-repo" {:url
> "https://oss.sonatype.org/content/repositories/snapshots"}]])
>
>
> This is the way it looks on the website:
>
> <dependency>
> <groupId>edu.cmu.sphinx</groupId>
> <artifactId>sphinx4-data</artifactId>
> <version>1.0-SNAPSHOT</version></dependency>
>
> Finally, here is the url itself:
>
> http://cmusphinx.sourceforge.net/wiki/tutorialsphinx4
>
> Thanks!
>
>
> On Thursday, June 4, 2015 at 7:31:12 AM UTC-4, skuro wrote:
>>
>> Have a look at the sample-project.clj
>> <https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L78>,
>>
>> as you can read:
>>
>> ;; Repositories named "snapshots" and "releases" automatically
>> ;; have their :snapshots and :releases disabled as appropriate.
>>
>> hence, you should do this way:
>>
>> :dependencies [... [edu.cmu.sphinx/sphinx4-core "1.0-SNAPSHOT"]]
>> :repositories [["snapshots" {:url "
>> https://oss.sonatype.org/content/repositories/snapshots"}]]
>>
>>
>> c.
>>
>> Il giorno mercoledì 3 giugno 2015 18:12:44 UTC+2, Jacob Goodson ha
>> scritto:
>>>
>>> How would I get this to work?
>>>
>>> <project>
>>> ...
>>> <repositories>
>>> <repository>
>>> <id>snapshots-repo</id>
>>> <url>https://oss.sonatype.org/content/repositories/snapshots
>>> <https://www.google.com/url?q=https%3A%2F%2Foss.sonatype.org%2Fcontent%2Frepositories%2Fsnapshots&sa=D&sntz=1&usg=AFQjCNH1ZZwCQETyq4eyLn7b7QP-ypp-lA></url>
>>> <releases><enabled>false</enabled></releases>
>>> <snapshots><enabled>true</enabled></snapshots>
>>> </repository>
>>> </repositories>
>>> ...</project>
>>>
>>> Then add sphinx4-core to the project dependencies:
>>>
>>> <dependency>
>>> <groupId>edu.cmu.sphinx</groupId>
>>> <artifactId>sphinx4-core</artifactId>
>>> <version>1.0-SNAPSHOT</version></dependency>
>>>
>>>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.