doap:generate

Full name:

org.apache.maven.plugins:maven-doap-plugin:1.0:generate

Description:

Generate a Description of a Project (DOAP) file from the main information found in a POM.
Note: The generated file is tailored for use by projects at Apache.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Since version: 1.0-beta-1.

Required Parameters

Name Type Since Description
about String 1.0 The about URI-reference which should be displayed in the DOAP file. Example:
<rdf:RDF>
  <Project rdf:about="http://maven.apache.org/">
  ...
  </Project>
</rdf:RDF>
See http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/#aboutAttr
Default value is: ${project.url}.
doapFile File 1.0-beta-1 The name of the DOAP file that will be generated. Default value is: ${project.reporting.outputDirectory}/doap_${project.artifactId}.rdf.
lang String 1.0 The value for the xml:lang attribute used by the <rdf:RDF/>, <description/> and <shortdesc/> elements.
POM doesn't have any notions about language.
See http://www.w3.org/TR/REC-xml/#sec-lang-tag
Default value is: en.
project MavenProject 1.0-beta-1 The POM from which information will be extracted to create a DOAP file.

Optional Parameters

Name Type Since Description
asfExtOptions ASFExtOptions 1.0 Specific ASF extensions parameters, i.e. options that POM doesn't have any notions but required by ASF DOAP requirements.
Example:
<asfExtOptions>
  <included>true</included>
  <charter>The mission of the Apache XXX project is to create and maintain software
  libraries that provide ...</charter>
  ...
</asfExtOptions>
Note: By default, asfExtOptions/included is set to true to include the ASF extensions.
See Javadoc
category String 1.0-beta-1 Deprecated. Since 1.0. Instead of, configure category property in doapOptions parameter.
doapOptions DoapOptions 1.0 Specific DOAP parameters, i.e. options that POM doesn't have any notions.
Example:
<doapOptions>
  <programmingLanguage>java</programmingLanguage>
</doapOptions>

See Javadoc
language String 1.0-beta-1 Deprecated. Since 1.0. Instead of, configure programmingLanguage property in doapOptions parameter.

Parameter Details

about:

The about URI-reference which should be displayed in the DOAP file. Example:
<rdf:RDF>
  <Project rdf:about="http://maven.apache.org/">
  ...
  </Project>
</rdf:RDF>
See http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/#aboutAttr
  • Type: java.lang.String
  • Since: 1.0
  • Required: Yes
  • Expression: ${about}
  • Default: ${project.url}

asfExtOptions:

Specific ASF extensions parameters, i.e. options that POM doesn't have any notions but required by ASF DOAP requirements.
Example:
<asfExtOptions>
  <included>true</included>
  <charter>The mission of the Apache XXX project is to create and maintain software
  libraries that provide ...</charter>
  ...
</asfExtOptions>
Note: By default, asfExtOptions/included is set to true to include the ASF extensions.
See Javadoc
  • Type: org.apache.maven.plugin.doap.options.ASFExtOptions
  • Since: 1.0
  • Required: No
  • Expression: ${asfExtOptions}

category:

Deprecated. Since 1.0. Instead of, configure category property in doapOptions parameter.
The category which should be displayed in the DOAP file.
  • Type: java.lang.String
  • Since: 1.0-beta-1
  • Required: No
  • Expression: ${category}

doapFile:

The name of the DOAP file that will be generated.
  • Type: java.io.File
  • Since: 1.0-beta-1
  • Required: Yes
  • Expression: ${doapFile}
  • Default: ${project.reporting.outputDirectory}/doap_${project.artifactId}.rdf

doapOptions:

Specific DOAP parameters, i.e. options that POM doesn't have any notions.
Example:
<doapOptions>
  <programmingLanguage>java</programmingLanguage>
</doapOptions>

See Javadoc
  • Type: org.apache.maven.plugin.doap.options.DoapOptions
  • Since: 1.0
  • Required: No
  • Expression: ${doapOptions}

lang:

The value for the xml:lang attribute used by the <rdf:RDF/>, <description/> and <shortdesc/> elements.
POM doesn't have any notions about language.
See http://www.w3.org/TR/REC-xml/#sec-lang-tag
  • Type: java.lang.String
  • Since: 1.0
  • Required: Yes
  • Expression: ${lang}
  • Default: en

language:

Deprecated. Since 1.0. Instead of, configure programmingLanguage property in doapOptions parameter.
The programming language which should be displayed in the DOAP file.
  • Type: java.lang.String
  • Since: 1.0-beta-1
  • Required: No
  • Expression: ${language}

project:

The POM from which information will be extracted to create a DOAP file.
  • Type: org.apache.maven.project.MavenProject
  • Since: 1.0-beta-1
  • Required: Yes
  • Expression: ${project}