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

Commit fbcfa0c

Browse files
committed
fix Maven settings creation
1 parent cbc6ae0 commit fbcfa0c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ jobs:
8484
- run:
8585
name: Create Maven Settings
8686
command: |
87-
rm -f $MAVEN_HOME/conf/settings.xml
88-
echo $SETTINGS_BASE64 | base64 --decode > $MAVEN_HOME/conf/settings.xml
87+
echo $SETTINGS_BASE64 | base64 --decode > /opt/apache-maven/conf/settings.xml
8988
- run:
9089
name: Deploy Snapshot to Sonatype Nexus
9190
command: >-
@@ -106,8 +105,7 @@ jobs:
106105
- run:
107106
name: Create Maven Settings
108107
command: |
109-
rm -f $MAVEN_HOME/conf/settings.xml
110-
echo $SETTINGS_BASE64 | base64 --decode > $MAVEN_HOME/conf/settings.xml
108+
echo $SETTINGS_BASE64 | base64 --decode > /opt/apache-maven/conf/settings.xml
111109
- run:
112110
name: Import GPG Key
113111
command: |

0 commit comments

Comments
 (0)