doapOptions
doapOptions
package
org.apache.maven.plugin.doap.options
DoapOptions
http://usefulinc.com/ns/doap#]]>
1.0.0
xmlnsPrefix
The DOAP xmlns prefix
1.0.0
String
xmlnsNamespaceURI
Default value: http://usefulinc.com/ns/doap#]]>
1.0.0
String
http://usefulinc.com/ns/doap#
audience
http://usefulinc.com/ns/doap#audience]]>
1.0.0
String
true
blog
http://usefulinc.com/ns/doap#blog]]>
1.0.0
String
true
bugDatabase
Default value: ${project.issueManagement.url}
@see http://usefulinc.com/ns/doap#bug-database]]>
1.0.0
String
true
${project.issueManagement.url}
category
Default value: library
Note: This string is comma separated to allow several categories.
@see http://usefulinc.com/ns/doap#category]]>
1.0.0
String
true
library
created
Default value: ${project.inceptionYear}-01-01
@see http://usefulinc.com/ns/doap#created]]>
1.0.0
String
true
${project.inceptionYear}-01-01
description
Default value: ${project.description}
@see http://usefulinc.com/ns/doap#description]]>
1.0.0
String
true
${project.description}
downloadPage
Default value: ${project.distributionManagement.downloadUrl}
@see http://usefulinc.com/ns/doap#download-page]]>
1.0.0
String
true
${project.distributionManagement.downloadUrl}
downloadMirror
Note: This string is comma separated to allow several mirror pages.
@see http://usefulinc.com/ns/doap#download-mirror]]>
1.0.0
String
true
homepage
Default value: ${project.url}
@see http://usefulinc.com/ns/doap#homepage]]>
1.0.0
String
true
${project.url}
implementations
Note: This string is comma separated to allow several implementations.
@see http://usefulinc.com/ns/doap#implements]]>
1.0.0
String
true
language
Note: This string is comma separated to allow several languages.
@see http://usefulinc.com/ns/doap#language]]>
1.0.0
String
true
license
Default value: ${project.licenses[0].url}
@see http://usefulinc.com/ns/doap#license]]>
1.0.0
String
true
${project.licenses[0].url}
mailingList
Default value: ${project.url}/mail-lists.html
Note: by default, the mailing list page is the one generated by the Maven Project Info Reports Plugin.
@see http://usefulinc.com/ns/doap#mailing-list]]>
1.0.0
String
true
${project.url}/mail-lists.html
name
Default value: ${project.name}
@see http://usefulinc.com/ns/doap#name]]>
1.0.0
String
true
${project.name}
oldHomepage
http://usefulinc.com/ns/doap#old-homepage]]>
1.0.0
String
true
os
Note: This string is comma separated to allow several OS.
@see http://usefulinc.com/ns/doap#os]]>
1.0.0
String
true
platform
Note: This string is comma separated to allow several platforms.
@see http://usefulinc.com/ns/doap#platform]]>
1.0.0
String
true
programmingLanguage
Default value: Java
Note: This string is comma separated to allow several programming-language.
@see http://usefulinc.com/ns/doap#programming-language]]>
1.0.0
String
true
Java
scmAnonymous
Default value: ${project.scm.connection}
@see http://usefulinc.com/ns/doap#Repository
@see http://usefulinc.com/ns/doap#CVSRepository
@see http://usefulinc.com/ns/doap#SVNRepository]]>
1.0.0
String
true
${project.scm.connection}
scmDeveloper
Default value: ${project.scm.developerConnection}
@see http://usefulinc.com/ns/doap#Repository
@see http://usefulinc.com/ns/doap#CVSRepository
@see http://usefulinc.com/ns/doap#SVNRepository]]>
1.0.0
String
true
${project.scm.developerConnection}
screenshots
http://usefulinc.com/ns/doap#screenshots]]>
1.0.0
String
true
serviceEndpoint
http://usefulinc.com/ns/doap#service-endpoint]]>
1.0.0
String
true
shortdesc
Default value: ${project.description}
@see http://usefulinc.com/ns/doap#shortdesc]]>
1.0.0
String
true
${project.description}
vendor
Default value: ${project.organization.name}
@see http://usefulinc.com/ns/doap#vendor]]>
1.0.0
String
true
${project.organization.name}
wiki
http://usefulinc.com/ns/doap#wiki]]>
1.0.0
String
true
extra
1.0.0
true
Map
String
*
DoapArtifact
An Maven artifact object used by DOAP.
1.0.0+
groupId
The id of the group of the Maven artifact.
1.0.0+
String
true
artifactId
The artifact id of the Maven artifact.
1.0.0+
String
true
version
The version of the Maven artifact.
1.0.0+
String
true
doapFileName
The name of the DOAP file that will be generated, no notion of path.
1.0.0+
String
true
* If not specified, return "doap_" + this.artifactId + ".rdf"
*
* @return String
*/
public String getDoapFileName()
{
if ( org.codehaus.plexus.util.StringUtils.isEmpty( this.doapFileName ) )
{
return "doap_" + this.artifactId + ".rdf";
}
return this.doapFileName;
}
/**
* @return String the configuration of this class.
*/
public String toConfiguration()
{
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append( "" );
sb.append( "" ).append( this.groupId ).append( "" );
sb.append( "" ).append( this.artifactId ).append( "" );
sb.append( "" ).append( this.version ).append( "" );
sb.append( "" );
return sb.toString();
}
]]>