Dropbox sdk repository maven

帅比萌擦擦* 提交于 2019-12-12 10:45:35

问题


Even if it sounds like a silly question, I am not able to find the repository where the dropbox sdk is. So in my pom.xml I have declared this dependency:

<!-- Dropbox dependency -->
        <dependency>
            <groupId>com.dropbox</groupId>
            <artifactId>client2</artifactId>
            <version>1.3</version>
        </dependency>

But it can not be found in this repository:

<repository>
            <id>dropbox-client2</id>
            <url>http://getdropbox.com/developers/</url>
        </repository>

Thanks


回答1:


Dropbox just release the version 1.6 of it SDK in Java. And this time they made it available on Maven repository.

<dependency>
    <groupId>com.dropbox.core</groupId>
    <artifactId>dropbox-core-sdk</artifactId>
    <version>1.6</version>
</dependency>

Checkout for futher updates:
http://mvnrepository.com/artifact/com.dropbox.core/dropbox-core-sdk




回答2:


The official dropbox API is not publish on Maven central repository. I repackaged it and published on Maven central.

You'll find instruction to add to your project here : https://github.com/vanduynslagerp/dropbox-java-sdk#readme




回答3:


You can install it on your own repository with:

https://gist.github.com/4543727

Right now, dropbox sdk is version 1.5.3 but you can pass a parameter to retrieve older ones.



来源:https://stackoverflow.com/questions/10533131/dropbox-sdk-repository-maven

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!