File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
Expand file tree Collapse file tree 3 files changed +24
-0
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+ - 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 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