Skip to content

Commit 35ebb3d

Browse files
committed
Provide security settings model documentation
Improve documentation This closes #88
1 parent 87a2ff1 commit 35ebb3d

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

pom.xml

+8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<version>4.0.4-SNAPSHOT</version>
1414

1515
<name>Plexus Security Dispatcher Component</name>
16+
<description>This library provides encryption/decryption functionality with pluggable ciphers and password providers</description>
1617

1718
<scm>
1819
<connection>scm:git:[email protected]:codehaus-plexus/plexus-sec-dispatcher.git</connection>
@@ -98,6 +99,13 @@
9899
<goal>stax-writer</goal>
99100
</goals>
100101
</execution>
102+
<execution>
103+
<id>generate-xdoc</id>
104+
<goals>
105+
<goal>xdoc</goal>
106+
</goals>
107+
<phase>pre-site</phase>
108+
</execution>
101109
</executions>
102110
</plugin>
103111
<plugin>

src/main/mdo/settings-security.mdo

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<id>settings-security</id>
2222
<name>SecurityConfiguration</name>
23-
<description>SecurityConfiguration</description>
23+
<description>The security configuration contains all settings related to the encryption/decryption functionality</description>
2424

2525
<defaults>
2626
<default>
@@ -32,13 +32,14 @@
3232
<classes>
3333
<class rootElement="true">
3434
<name>SettingsSecurity</name>
35+
<description>Root element containing all security settings.</description>
3536
<version>1.0.0+</version>
3637
<fields>
3738
<field>
3839
<name>master</name>
3940
<version>1.0.0/2.1.0</version>
4041
<type>String</type>
41-
<description>encrypted master password</description>
42+
<description>Encrypted master password.</description>
4243
</field>
4344
<field>
4445
<name>relocation</name>
@@ -52,7 +53,7 @@
5253
<version>3.0.0+</version>
5354
<type>String</type>
5455
<required>true</required>
55-
<description>The version of the model</description>
56+
<description>The version of the model, use '4.0' for the most recent one.</description>
5657
</field>
5758
<field>
5859
<name>masterSource</name>

src/site/site.xml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<site xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
3+
<body>
4+
<menu name="Overview">
5+
<item name="Settings" href="settings-security.html"/>
6+
</menu>
7+
</body>
8+
</site>

0 commit comments

Comments
 (0)