File tree Expand file tree Collapse file tree 4 files changed +29
-9
lines changed
Expand file tree Collapse file tree 4 files changed +29
-9
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ services:
66- docker
77after_success :
88- bash <(curl -s https://codecov.io/bash)
9+ - " [[ $TRAVIS_BRANCH == \" master\" ]] && { mvn deploy --settings travis-settings.xml -DskipTests=true -B; };"
910before_deploy :
1011- " mvn -DskipTests package"
1112- export FILE_TO_UPLOAD=$(ls target/pulsar-java-spring-boot-starter-*.jar)
Original file line number Diff line number Diff line change 11# Spring boot starter for [ Apache Pulsar] ( https://pulsar.apache.org/ )
22
3+ [ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/io.github.majusko/pulsar-java-spring-boot-starter/badge.svg )] ( https://search.maven.org/search?q=g:io.github.majusko )
34[ ![ Release] ( https://jitpack.io/v/majusko/pulsar-java-spring-boot-starter.svg )] ( https://jitpack.io/#majusko/pulsar-java-spring-boot-starter )
45[ ![ Build Status] ( https://travis-ci.com/majusko/pulsar-java-spring-boot-starter.svg?branch=master )] ( https://travis-ci.com/majusko/pulsar-java-spring-boot-starter )
56[ ![ Test Coverage] ( https://codecov.io/gh/majusko/pulsar-java-spring-boot-starter/branch/master/graph/badge.svg )] ( https://codecov.io/gh/majusko/pulsar-java-spring-boot-starter/branch/master )
@@ -11,15 +12,6 @@ Simple start consist only from 3 simple steps.
1112
1213#### 1. Add Maven dependency
1314
14- ``` xml
15- <repositories >
16- <repository >
17- <id >jitpack.io</id >
18- <url >https://jitpack.io</url >
19- </repository >
20- </repositories >
21- ```
22-
2315``` xml
2416<dependency >
2517 <groupId >io.github.majusko</groupId >
@@ -76,6 +68,10 @@ class MyConsumer {
7668}
7769```
7870
71+ ## Example project
72+
73+ #### [ Java Pulsar Example Project] ( https://github.com/majusko/java-pulsar-example )
74+
7975## Documentation
8076
8177### Configuration
Original file line number Diff line number Diff line change 149149 </plugins >
150150 </build >
151151
152+ <distributionManagement >
153+ <snapshotRepository >
154+ <id >ossrh</id >
155+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
156+ </snapshotRepository >
157+ <repository >
158+ <id >ossrh</id >
159+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
160+ </repository >
161+ </distributionManagement >
162+
152163</project >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <settings xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns =" http://maven.apache.org/SETTINGS/1.1.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
4+ <servers >
5+ <server >
6+ <!-- Maven Central Deployment -->
7+ <id >ossrh</id >
8+ <username >${env.SONATYPE_USERNAME}</username >
9+ <password >${env.SONATYPE_PASSWORD}</password >
10+ </server >
11+ </servers >
12+ </settings >
You can’t perform that action at this time.
0 commit comments