Author: vsiveton Date: Tue Jan 11 13:23:33 2011 New Revision: 1057613 URL: http://svn.apache.org/viewvc?rev=1057613&view=rev Log: o added javadoc for defaultValue o added license/bugDatabase/scmAnonymous/scmDeveloper
Modified: maven/plugins/trunk/maven-doap-plugin/src/main/mdo/asfextOptions.mdo maven/plugins/trunk/maven-doap-plugin/src/main/mdo/doapOptions.mdo Modified: maven/plugins/trunk/maven-doap-plugin/src/main/mdo/asfextOptions.mdo URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/mdo/asfextOptions.mdo?rev=1057613&r1=1057612&r2=1057613&view=diff ============================================================================== --- maven/plugins/trunk/maven-doap-plugin/src/main/mdo/asfextOptions.mdo (original) +++ maven/plugins/trunk/maven-doap-plugin/src/main/mdo/asfextOptions.mdo Tue Jan 11 13:23:33 2011 @@ -43,14 +43,16 @@ http://svn.apache.org/repos/asf/infrastr <fields> <field> <name>xmlnsPrefix</name> - <description>The ASFext xmlns prefix</description> + <description><![CDATA[The ASFext xmlns prefix.<br/> +<b>Default value</b>: asfext]]></description> <version>1.0.0</version> <type>String</type> <defaultValue>asfext</defaultValue> </field> <field> <name>xmlnsNamespaceURI</name> - <description>The URI of the ASFext xmlns namespace</description> + <description><![CDATA[The URI of the ASFext xmlns namespace.<br/> +<b>Default value</b>: http://projects.apache.org/ns/asfext#]]></description> <version>1.0.0</version> <type>String</type> <defaultValue>http://projects.apache.org/ns/asfext#</defaultValue> @@ -64,7 +66,8 @@ http://svn.apache.org/repos/asf/infrastr </field> <field> <name>pmc</name> - <description><![CDATA[The top level element within a file. Optional will be discovered from POM. + <description><![CDATA[The top level element within a file. Optional will be discovered from POM.<br/> +<b>Default value</b>: ${project.url} @see <a href="http://projects.apache.org/docs/pmc.html">http://projects.apache.org/docs/pmc.html</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -73,7 +76,8 @@ http://svn.apache.org/repos/asf/infrastr </field> <field> <name>name</name> - <description><![CDATA[The name of the PMC, including the 'Apache ', e.g. 'Apache Forrest'. Optional will be discovered from POM. + <description><![CDATA[The name of the PMC, including the 'Apache ', e.g. 'Apache Forrest'. Optional will be discovered from POM.<br/> +<b>Default value</b>: ${project.name} @see <a href="http://projects.apache.org/docs/pmc.html">http://projects.apache.org/docs/pmc.html</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -91,7 +95,8 @@ http://svn.apache.org/repos/asf/infrastr </field> <field> <name>chair</name> - <description><![CDATA[This should contain the name of the current PMC chairperson. Optional. + <description><![CDATA[This should contain the name of the current PMC chairperson. Optional.<br/> +<b>Note</b>: it will be discovered from ${project.developers.roles} @see <a href="http://projects.apache.org/docs/pmc.html">http://projects.apache.org/docs/pmc.html</a>]]></description> <version>1.0.0</version> <type>String</type> Modified: maven/plugins/trunk/maven-doap-plugin/src/main/mdo/doapOptions.mdo URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/mdo/doapOptions.mdo?rev=1057613&r1=1057612&r2=1057613&view=diff ============================================================================== --- maven/plugins/trunk/maven-doap-plugin/src/main/mdo/doapOptions.mdo (original) +++ maven/plugins/trunk/maven-doap-plugin/src/main/mdo/doapOptions.mdo Tue Jan 11 13:23:33 2011 @@ -47,7 +47,8 @@ some POM options. </field> <field> <name>xmlnsNamespaceURI</name> - <description>The URI of the DOAP xmlns namespace</description> + <description><![CDATA[The URI of the DOAP xmlns namespace.<br/> +<b>Default value</b>: http://usefulinc.com/ns/doap#]]></description> <version>1.0.0</version> <type>String</type> <defaultValue>http://usefulinc.com/ns/doap#</defaultValue> @@ -69,17 +70,30 @@ some POM options. <identifier>true</identifier> </field> <field> + <name>bugDatabase</name> + <description><![CDATA[Bug tracker for a project.<br/> +<b>Default value</b>: ${project.issueManagement.url} +...@see <a href="http://usefulinc.com/ns/doap#bug-database">http://usefulinc.com/ns/doap#bug-database</a>]]></description> + <version>1.0.0</version> + <type>String</type> + <identifier>true</identifier> + <defaultValue>${project.issueManagement.url}</defaultValue> + </field> + <field> <name>category</name> <description><![CDATA[A category of project.<br/> +<b>Default value</b>: library<br/> <b>Note</b>: This string is comma separated to allow several categories. @see <a href="http://usefulinc.com/ns/doap#category">http://usefulinc.com/ns/doap#category</a>]]></description> <version>1.0.0</version> <type>String</type> <identifier>true</identifier> + <defaultValue>library</defaultValue> </field> <field> <name>created</name> - <description><![CDATA[Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05. + <description><![CDATA[Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05.<br/> +<b>Default value</b>: ${project.inceptionYear}-01-01 @see <a href="http://usefulinc.com/ns/doap#created">http://usefulinc.com/ns/doap#created</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -88,7 +102,8 @@ some POM options. </field> <field> <name>description</name> - <description><![CDATA[The project description. + <description><![CDATA[The project description.<br/> +<b>Default value</b>: ${project.description} @see <a href="http://usefulinc.com/ns/doap#description">http://usefulinc.com/ns/doap#description</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -97,7 +112,8 @@ some POM options. </field> <field> <name>downloadPage</name> - <description><![CDATA[Web page from which the project software can be downloaded. + <description><![CDATA[Web page from which the project software can be downloaded.<br/> +<b>Default value</b>: ${project.distributionManagement.downloadUrl} @see <a href="http://usefulinc.com/ns/doap#download-page">http://usefulinc.com/ns/doap#download-page</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -115,7 +131,8 @@ some POM options. </field> <field> <name>homepage</name> - <description><![CDATA[URL of a project's homepage, associated with exactly one project. + <description><![CDATA[URL of a project's homepage, associated with exactly one project.<br/> +<b>Default value</b>: ${project.url} @see <a href="http://usefulinc.com/ns/doap#homepage">http://usefulinc.com/ns/doap#homepage</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -141,8 +158,19 @@ some POM options. <identifier>true</identifier> </field> <field> + <name>license</name> + <description><![CDATA[The URI of an RDF description of the license the software is distributed under.<br/> +<b>Default value</b>: ${project.licenses[0].url} +...@see <a href="http://usefulinc.com/ns/doap#license">http://usefulinc.com/ns/doap#license</a>]]></description> + <version>1.0.0</version> + <type>String</type> + <identifier>true</identifier> + <defaultValue>${project.licenses[0].url}</defaultValue> + </field> + <field> <name>mailingList</name> <description><![CDATA[Single web page that allows people to find out more information about the mailing lists provided by the project.<br/> +<b>Default value</b>: ${project.url}/mail-lists.html<br/> <b>Note</b>: by default, the mailing list page is the one generated by the Maven Project Info Reports Plugin. @see <a href="http://usefulinc.com/ns/doap#mailing-list">http://usefulinc.com/ns/doap#mailing-list</a>]]></description> <version>1.0.0</version> @@ -152,7 +180,8 @@ some POM options. </field> <field> <name>name</name> - <description><![CDATA[The project name. + <description><![CDATA[The project name.<br/> +<b>Default value</b>: ${project.name} @see <a href="http://usefulinc.com/ns/doap#name">http://usefulinc.com/ns/doap#name</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -178,7 +207,8 @@ some POM options. </field> <field> <name>platform</name> - <description><![CDATA[Indicator of software platform (non-OS specific), e.g. Java, Firefox, ECMA CLR. + <description><![CDATA[Indicator of software platform (non-OS specific), e.g. Java, Firefox, ECMA CLR.<br/> +<b>Note</b>: This string is comma separated to allow several platforms. @see <a href="http://usefulinc.com/ns/doap#platform">http://usefulinc.com/ns/doap#platform</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -187,6 +217,7 @@ some POM options. <field> <name>programmingLanguage</name> <description><![CDATA[Programming language a project is implemented in or intended for use with.<br/> +<b>Default value</b>: Java<br/> <b>Note</b>: This string is comma separated to allow several programming-language. @see <a href="http://usefulinc.com/ns/doap#programming-language">http://usefulinc.com/ns/doap#programming-language</a>]]></description> <version>1.0.0</version> @@ -195,6 +226,30 @@ some POM options. <defaultValue>Java</defaultValue> </field> <field> + <name>scmAnonymous</name> + <description><![CDATA[Anonymous Source Repository as URL or Maven format.<br/> +<b>Default value</b>: ${project.scm.connection} +...@see <a href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> +...@see <a href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> +...@see <a href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a>]]></description> + <version>1.0.0</version> + <type>String</type> + <identifier>true</identifier> + <defaultValue>${project.scm.connection}</defaultValue> + </field> + <field> + <name>scmDeveloper</name> + <description><![CDATA[Developer Source Repository as URL or Maven format.<br/> +<b>Default value</b>: ${project.scm.developerConnection} +...@see <a href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> +...@see <a href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> +...@see <a href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a>]]></description> + <version>1.0.0</version> + <type>String</type> + <identifier>true</identifier> + <defaultValue>${project.scm.developerConnection}</defaultValue> + </field> + <field> <name>screenshots</name> <description><![CDATA[Web page with screenshots of project. @see <a href="http://usefulinc.com/ns/doap#screenshots">http://usefulinc.com/ns/doap#screenshots</a>]]></description> @@ -212,7 +267,8 @@ some POM options. </field> <field> <name>shortdesc</name> - <description><![CDATA[Short (8 or 9 words) plain text description of a project. + <description><![CDATA[Short (8 or 9 words) plain text description of a project.<br/> +<b>Default value</b>: ${project.description} @see <a href="http://usefulinc.com/ns/doap#shortdesc">http://usefulinc.com/ns/doap#shortdesc</a>]]></description> <version>1.0.0</version> <type>String</type> @@ -221,7 +277,8 @@ some POM options. </field> <field> <name>vendor</name> - <description><![CDATA[Vendor organization: commercial, free or otherwise. + <description><![CDATA[Vendor organization: commercial, free or otherwise.<br/> +<b>Default value</b>: ${project.organization.name} @see <a href="http://usefulinc.com/ns/doap#vendor">http://usefulinc.com/ns/doap#vendor</a>]]></description> <version>1.0.0</version> <type>String</type>