spring-attic / spring-cloud-config-server-mongodb

Apache License 2.0
57 stars 34 forks source link

Initial Tasks #1

Closed venilnoronha closed 7 years ago

venilnoronha commented 8 years ago

@spencergibb could you please help me with the following?

spencergibb commented 8 years ago

I'd look at https://github.com/opendiscovery/opendiscovery-java/blob/master/.travis.yml for tips on travis and https://artifactory.jfrog.org/confluence/display/RTF/Deploying+Snapshots+to+oss.jfrog.org for deploying snapshots to oss.jfrog.org.

venilnoronha commented 8 years ago

I'm unable to set up travis due to some permissions error.

travis-ci

spencergibb commented 8 years ago

Right, I'll set that up

venilnoronha commented 8 years ago

Cool, thanks!

venilnoronha commented 8 years ago

It'd be great if you could also enable gitter for this repo.

spencergibb commented 8 years ago

Travis is enabled.

venilnoronha commented 8 years ago

Great!

spencergibb commented 8 years ago

gitter is done too.

venilnoronha commented 8 years ago

Awesome! Thanks a lot :)

venilnoronha commented 8 years ago

Maven snapshot deployment is configured. Usage is as follows:

<dependencies>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-config-server-mongodb</artifactId>
        <version>0.0.1.BUILD-SNAPSHOT</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>ojo-snapshots</id>
        <name>OJO Snapshots</name>
        <url>https://oss.jfrog.org/artifactory/libs-snapshot</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>
ghost commented 7 years ago

Hi guys, thanks for the efforts!

Just wanted to note that the dependency resolution fails in Gradle since the transitive dependency spring-cloud-build:1.0.0.BUILD-SNAPSHOT is not contained in the OJO Snapshots repository.

Maybe the same thing happens in Maven also. I don't know, I haven't tried.

I solved it by adding the https://repo.spring.io/libs-snapshot-local also to the repository list. Maybe it's worth mentioning in the documentation.

venilnoronha commented 7 years ago

Thanks for notifying! I'll add it to the document.