File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
test/java/org/codehaus/plexus/components/secdispatcher/internal Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 41
41
<description>encrypted master password</description>
42
42
</field>
43
43
44
+ <field>
45
+ <name>modelVersion</name>
46
+ <version>3.0.0+</version>
47
+ <type>String</type>
48
+ <description>The version of the model</description>
49
+ </field>
50
+
44
51
<field>
45
52
<name>masterSource</name>
46
53
<version>3.0.0+</version>
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ public class DefaultSecDispatcherTest {
44
44
45
45
private void saveSec (String masterSource ) throws Exception {
46
46
SettingsSecurity sec = new SettingsSecurity ();
47
+ sec .setModelEncoding (StandardCharsets .UTF_8 .name ());
48
+ sec .setModelVersion (SecDispatcher .class .getPackage ().getSpecificationVersion ());
47
49
sec .setMasterSource (masterSource );
48
50
sec .setMasterCipher (AESGCMNoPadding .CIPHER_ALG );
49
51
You can’t perform that action at this time.
0 commit comments