Skip to content

Commit 6e49ef9

Browse files
committed
fix: java docs error
Signed-off-by: Sarthak Shyngle <[email protected]>
1 parent b04c847 commit 6e49ef9

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

.github/workflows/release.yml

+29-12
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,35 @@ jobs:
2222
- name: Setup Maven settings
2323
run: |
2424
mkdir -p ~/.m2
25-
echo '<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
26-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27-
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
28-
https://maven.apache.org/xsd/settings-1.0.0.xsd">
29-
<servers>
30-
<server>
31-
<id>ossrh</id>
32-
<username>${{ secrets.MAVEN_USERNAME }}</username>
33-
<password>${{ secrets.MAVEN_PASSWORD }}</password>
34-
</server>
35-
</servers>
36-
</settings>' > ~/.m2/settings.xml
25+
echo '<?xml version="1.0" encoding="UTF-8"?>
26+
27+
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
28+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
29+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
30+
<pluginGroups>
31+
</pluginGroups>
32+
<proxies>
33+
</proxies>
34+
<servers>
35+
<server>
36+
<id>ossrh</id>
37+
<username>sarthak1608</username>
38+
<password>Keploy@java123</password>
39+
</server>
40+
</servers>
41+
<mirrors>
42+
<mirror>
43+
<id>maven-default-http-blocker</id>
44+
<mirrorOf>external:http:*</mirrorOf>
45+
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
46+
<url>http://0.0.0.0/</url>
47+
<blocked>true</blocked>
48+
</mirror>
49+
</mirrors>
50+
<profiles>
51+
</profiles>
52+
</settings>
53+
' > ~/.m2/settings.xml
3754
3855
- name: Import GPG Key
3956
uses: crazy-max/ghaction-import-gpg@v4

0 commit comments

Comments
 (0)