Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 2b36c2e

Browse files
committed
add custom Maven settings file
1 parent 4fa4763 commit 2b36c2e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ jobs:
7979
- image: cimg/openjdk:8.0
8080
steps:
8181
- checkout
82+
- run:
83+
name: Create Maven Settings
84+
command: |
85+
rm -f $MAVEN_HOME/conf/settings.xml
86+
echo $SETTINGS_BASE64 | base64 --decode > $MAVEN_HOME/conf/settings.xml
8287
- run:
8388
name: Deploy Snapshot to Sonatype Nexus
8489
command: >-
@@ -96,6 +101,11 @@ jobs:
96101
- image: cimg/openjdk:8.0
97102
steps:
98103
- checkout
104+
- run:
105+
name: Create Maven Settings
106+
command: |
107+
rm -f $MAVEN_HOME/conf/settings.xml
108+
echo $SETTINGS_BASE64 | base64 --decode > $MAVEN_HOME/conf/settings.xml
99109
- run:
100110
name: Import GPG Key
101111
command: |

0 commit comments

Comments
 (0)