Integrated DOAP Plugin With The Site Plugin

As described in DOAP In Use, you need to publish the generated DOAP file.

By default, the generated DOAP file will be deploy using the site:deploy goal in the site specified in the distributionManagement section of the POM.

Including DOAP In The Site Phase

You could always generate the DOAP file for your project by sticking the DOAP Plugin in the site phase, like the following:


Defining Meta Tag

To make the DOAP file available for all HTML files deployed on the site, you could modify the src/site/site.xml to specify a <link/> tag, i.e.:

      <link rel="meta" title="DOAP" href="${project.url}/doap_maven-doap-plugin.rdf" type="application/rdf+xml"/>