File tree 3 files changed +44
-21
lines changed
3 files changed +44
-21
lines changed Original file line number Diff line number Diff line change 13
13
uses : actions/setup-java@v1
14
14
with :
15
15
java-version : 1.8
16
- # server-id: ossrh
17
- # server-username: MAVEN_USERNAME
18
- # server-password: MAVEN_PASSWORD
16
+ env :
17
+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
18
+ MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
19
19
- name : Build Pubsubly API with Maven
20
20
run : mvn --settings settings.xml -B install --file ./pubsubly-api/pom.xml
21
21
- name : Deploy Pubsubly API with Maven
26
26
mvn --settings settings.xml deploy --file ./pubsubly-api/pom.xml
27
27
- name : Build Pubsubly Redis Message Header Plugin with Maven
28
28
run : mvn --settings settings.xml -U -B install --file ./redis-message-header-plugin/pom.xml
29
- # - name: Build Pubsubly Service with Maven
30
- # run: mvn -B package --file ./pubsubly-service/pom.xml
29
+ - name : Deploy Pubsubly Redis Message Header Plugin with Maven
30
+ run :
31
+ mvn --settings settings.xml deploy --file ./redis-message-header-plugin/pom.xml
32
+ - name : Build Pubsubly Service with Maven
33
+ run : mvn -B package --file ./pubsubly-service/pom.xml
34
+ - name : Deploy Pubsubly Service with Maven
35
+ run :
36
+ mvn --settings settings.xml deploy --file ./pubsubly-service/pom.xml
Original file line number Diff line number Diff line change 16
16
<relativePath />
17
17
</parent >
18
18
19
+ <scm >
20
+ <url >https://github.com/wkennedy/pubsubly</url >
21
+ <
connection >scm:git:
[email protected] :wkennedy/pubsubly.git</
connection >
22
+ <
developerConnection >scm:git:
[email protected] :wkennedy/pubsubly.git</
developerConnection >
23
+ </scm >
24
+
25
+ <developers >
26
+ <developer >
27
+ <id >kennedyw</id >
28
+ <name >Will Kennedy</name >
29
+
30
+ </developer >
31
+ </developers >
32
+
33
+ <distributionManagement >
34
+ <snapshotRepository >
35
+ <id >ossrh</id >
36
+ <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
37
+ </snapshotRepository >
38
+ <repository >
39
+ <id >ossrh</id >
40
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
41
+ </repository >
42
+ </distributionManagement >
43
+
19
44
<properties >
20
45
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21
46
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
26
51
<dependency >
27
52
<groupId >com.github.wkennedy.pubsubly</groupId >
28
53
<artifactId >pubsubly-api</artifactId >
29
- <version >1.0 .0-SNAPSHOT</version >
54
+ <version >1.1 .0-SNAPSHOT</version >
30
55
</dependency >
31
56
<dependency >
32
57
<groupId >com.github.wkennedy.pubsubly</groupId >
177
202
</plugins >
178
203
</build >
179
204
205
+ <repositories >
206
+ <repository >
207
+ <id >github</id >
208
+ <name >GitHub wkennedy Apache Maven Packages</name >
209
+ <url >https://maven.pkg.github.com/wkennedy/pubsubly</url >
210
+ </repository >
211
+ </repositories >
180
212
181
213
</project >
Original file line number Diff line number Diff line change 2
2
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0
3
3
http://maven.apache.org/xsd/settings-1.0.0.xsd" >
4
4
5
- <!-- <profiles>-->
6
- <!-- <profile>-->
7
- <!-- <id>allow-snapshots</id>-->
8
- <!-- <activation><activeByDefault>true</activeByDefault></activation>-->
9
- <!-- <repositories>-->
10
- <!-- <repository>-->
11
- <!-- <id>snapshots-repo</id>-->
12
- <!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
13
- <!-- <releases><enabled>false</enabled></releases>-->
14
- <!-- <snapshots><enabled>true</enabled></snapshots>-->
15
- <!-- </repository>-->
16
- <!-- </repositories>-->
17
- <!-- </profile>-->
18
- <!-- </profiles>-->
19
-
20
5
<servers >
21
6
<server >
22
7
<id >ossrh</id >
You can’t perform that action at this time.
0 commit comments