------ Usage ------ Jason van Zyl Vincent Siveton ------ 2011-01-11 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html Usage The DOAP Plugin generates DOAP and ASF DOAP compliant files. The following examples describe the basic usage of the Plugin. * {Pure DOAP Configuration} +-----+ ... org.apache.maven.plugins maven-doap-plugin ${project.version} \${project.issueManagement.url} library \${project.inceptionYear}-01-01 \${project.description} \${project.distributionManagement.downloadUrl} \${project.url} \$\{project.licenses[0].url} \${project.url}/mail-lists.html \${project.name} Java \${project.scm.connection} \${project.scm.developerConnection} \${project.description} \${project.organization.name} ... ... +-----+ <>: See the {{{./apidocs/org/apache/maven/plugin/doap/options/DoapOptions.html}DoapOptions Javadoc}} for advanced DOAP options. * {DOAP ASF Configuration} This is the minimal POM to be ASF compliant. +-----+ org.apache apache 8 org.apache.XXX XXX jar 1.0-SNAPSHOT Apache XXX Project Apache XXX is ... http://XXX.apache.org 2010 scm:svn:http://svn.apache.org/repos/asf/XXX/trunk scm:svn:https://svn.apache.org/repos/asf/XXX/trunk http://svn.apache.org/viewvc/XXX/trunk jira http://issues.apache.org/jira/browse/XXX http://XXX.apache.org/download.html XXX XXX XXX@apache.org ASF PMC Chair XXX XXX XXX@apache.org ASF PMC Member org.apache.maven.plugins maven-doap-plugin ${project.version} Java build-management \${project.issueManagement.url} \${project.inceptionYear}-01-01 \${project.description} \${project.distributionManagement.downloadUrl} \${project.url} \$\{project.licenses[0].url} \${project.url}/mail-lists.html \${project.name} \${project.scm.connection} \${project.scm.developerConnection} \${project.description} \${project.organization.name} ... The mission of the Apache XXX project is to create and maintain software libraries that provide ... ... \${project.url} \${project.name} Extensible Stylesheet Language - Formatting Objects (XSL-FO 1.1) W3C XSL 1.1 http://www.w3.org/TR/xsl11/ +-----+ <>: See the {{{./apidocs/org/apache/maven/plugin/doap/options/DoapOptions.html}DoapOptions Javadoc}} and the {{{./apidocs/org/apache/maven/plugin/doap/options/ASFExtOptions.html}ASFExtOptions Javadoc}} for advanced options. * Advanced DOAP Configuration +-----+ ... org.apache.maven.plugins maven-doap-plugin ${project.version} given-artifact-groupId given-artifact-artifactId given-artifact-version false doap http://usefulinc.com/ns/doap# http://ci.foo.org asfext http://projects.apache.org/ns/asfext# active labs http://labs.apache.org/doap-ext/1.0# active ... ... +-----+ * Generate DOAP File To generate the DOAP file you would use the following command: +----- mvn doap:generate +----- * Further Links * Parameters for the {{{./generate-mojo.html}doap:generate}} goal * {{{http://usefulinc.com/ns/doap#}http://usefulinc.com/ns/doap#}} * {{{http://projects.apache.org/docs/pmc.html}http://projects.apache.org/docs/pmc.html}} * {{{http://projects.apache.org/docs/standards.html}http://projects.apache.org/docs/standards.html}} * {{{http://www.w3.org/RDF/Validator/}W3C RDF Validation Service}} []