Skip to content

Commit e39c071

Browse files
committed
Update pom.xml
1 parent 9d7b6e1 commit e39c071

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v3
24-
- name: Set up JDK 11
24+
- name: Set up JDK 1.8
2525
uses: actions/setup-java@v3
2626
with:
27-
java-version: '11'
27+
java-version: '1.8'
2828
distribution: 'temurin'
2929
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3030
settings-path: ${{ github.workspace }} # location for the settings.xml file

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
- name: Set up JDK 11
20+
- name: Set up JDK 1.8
2121
uses: actions/setup-java@v3
2222
with:
23-
java-version: '11'
23+
java-version: '1.8'
2424
distribution: 'temurin'
2525
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
@@ -31,4 +31,4 @@ jobs:
3131
- name: Publish to GitHub Packages Apache Maven
3232
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3333
env:
34-
GITHUB_TOKEN: ${{ github.token }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ target/
44
!**/src/test/**/target/
55

66
### IntelliJ IDEA ###
7+
.idea/
78
.idea/modules.xml
89
.idea/jarRepositories.xml
910
.idea/compiler.xml

pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@
6767
<distributionManagement>
6868
<snapshotRepository>
6969
<id>ossrh</id>
70-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
70+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
7171
</snapshotRepository>
7272
<repository>
7373
<id>ossrh</id>
74-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
74+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
7575
</repository>
7676
</distributionManagement>
7777

@@ -123,6 +123,12 @@
123123
<goals>
124124
<goal>sign</goal>
125125
</goals>
126+
<configuration>
127+
<gpgArguments>
128+
<arg>--pinentry-mode</arg>
129+
<arg>loopback</arg>
130+
</gpgArguments>
131+
</configuration>
126132
</execution>
127133
</executions>
128134
</plugin>

0 commit comments

Comments
 (0)