Skip to content

Commit

Permalink
adapt to maven4 settings style
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed Nov 7, 2024
1 parent fa0f68e commit acb74fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void canDeployRemoteIar_settingsPassword() throws Exception {

@Test
public void canDeployRemoteIar_encryptedSettingsPassword() throws Exception {
System.setProperty("mySecret", "{6WlTulMQMcoHxrDwOe2HsWLAK691wYqfu+BQdByC+SU=}");
addServerConnection("{VUpeDRRbfD4Hmk9WLKzhqLkLttTCsWfLtr75Nt9K/3k=}");
System.setProperty("settings.security",
TestDeployToRunningEngine.class.getResource("settings-security.xml").getPath());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<settingsSecurity>
<master>{6WlTulMQMcoHxrDwOe2HsWLAK691wYqfu+BQdByC+SU=}</master>
<masterSource>prop:mySecret</masterSource>
<masterCipher>AES/GCM/NoPadding</masterCipher>
</settingsSecurity>

0 comments on commit acb74fe

Please sign in to comment.