Skip to content

Commit f8af260

Browse files
author
muhammad fauzi masykur
committed
update script to fix error 401 when uploading to maven
1 parent 42513b3 commit f8af260

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

library/pom.xml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
<developers>
2323
<developer>
24-
<name>Zaki Ibrahim</name>
25-
<email>zaki.ibrahim@midtrans.com</email>
24+
<name>Muhammad Fauzi Masykur</name>
25+
<email>muhammad.masykur@gojek.com</email>
2626
<organization>Midtrans</organization>
2727
<organizationUrl>https://midtrans.com</organizationUrl>
2828
</developer>
@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>org.json</groupId>
5656
<artifactId>json</artifactId>
57-
<version>20230227</version>
57+
<version>20240205</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>org.projectlombok</groupId>
@@ -98,18 +98,17 @@
9898
<plugin>
9999
<groupId>org.sonatype.plugins</groupId>
100100
<artifactId>nexus-staging-maven-plugin</artifactId>
101-
<version>1.6.8</version>
101+
<version>1.7.0</version>
102102
<extensions>true</extensions>
103103
<configuration>
104104
<serverId>ossrh</serverId>
105105
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
106-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
107106
</configuration>
108107
</plugin>
109108
<plugin>
110109
<groupId>org.apache.maven.plugins</groupId>
111110
<artifactId>maven-source-plugin</artifactId>
112-
<version>3.1.0</version>
111+
<version>3.3.1</version>
113112
<executions>
114113
<execution>
115114
<id>attach-sources</id>
@@ -122,7 +121,7 @@
122121
<plugin>
123122
<groupId>org.apache.maven.plugins</groupId>
124123
<artifactId>maven-javadoc-plugin</artifactId>
125-
<version>3.2.0</version>
124+
<version>3.7.0</version>
126125
<executions>
127126
<execution>
128127
<id>attach-javadocs</id>
@@ -135,7 +134,7 @@
135134
<plugin>
136135
<groupId>org.apache.maven.plugins</groupId>
137136
<artifactId>maven-gpg-plugin</artifactId>
138-
<version>1.6</version>
137+
<version>3.2.4</version>
139138
<executions>
140139
<execution>
141140
<id>sign-artifacts</id>
@@ -145,11 +144,17 @@
145144
</goals>
146145
</execution>
147146
</executions>
147+
<configuration>
148+
<gpgArguments>
149+
<argument>--pinentry-mode</argument>
150+
<argument>loopback</argument>
151+
</gpgArguments>
152+
</configuration>
148153
</plugin>
149154
<plugin>
150155
<groupId>org.apache.maven.plugins</groupId>
151156
<artifactId>maven-compiler-plugin</artifactId>
152-
<version>3.8.1</version>
157+
<version>3.12.0</version>
153158
<configuration>
154159
<source>1.8</source>
155160
<target>1.8</target>

0 commit comments

Comments
 (0)