Goals available for this plugin:
Goal | Description |
---|---|
bill-of-materials:create | Creates a bill of materials for all installed artifacts.
This in the standard format for the sha1sum command including meta information: # company:company-parent-pom:1.0-SNAPSHOT user=mirko 2dcb20b977ff170dd802c30b804229264c97ebf6 company-parent-pom-1.0-SNAPSHOT.pom # company:child1:1.0-SNAPSHOT user=mirko ed5b932c3157b347d0f7a4ec773ae5d5890c1ada child1-1.0-SNAPSHOT-sources.jar 8294565e2a5d99b548b111fe6262719331436143 child1-1.0-SNAPSHOT.jar 082fa2206c4a00e3f428e9100199a0337ad42fdb child1-1.0-SNAPSHOT.pom # company:child2:1.0-SNAPSHOT user=mirko 05d419cf53e175c6e84ddc1cf2fccdc9dd109c6b child2-1.0-SNAPSHOT-sources.jar df633b963220ba124ffa80eb6ceab676934bb387 child2-1.0-SNAPSHOT.jar 5661e9270a02c5359be47615bb6ed9911105d878 child2-1.0-SNAPSHOT.pom |
bill-of-materials:help | Display help information on bill-of-materials-maven-plugin. Call mvn bill-of-materials:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
bill-of-materials:read | Reads a bill of materials for all installed artifacts and puts it's
content in a property called qaBillOfMaterials of the
project which may be reused by templating plugins. Spits out a
warning when the file does not exist. For usage see the integration
tests.
This in the standard format for the sha1sum command including meta information: # company:company-parent-pom:1.0-SNAPSHOT user=mirko 2dcb20b977ff170dd802c30b804229264c97ebf6 company-parent-pom-1.0-SNAPSHOT.pom # company:child1:1.0-SNAPSHOT user=mirko ed5b932c3157b347d0f7a4ec773ae5d5890c1ada child1-1.0-SNAPSHOT-sources.jar 8294565e2a5d99b548b111fe6262719331436143 child1-1.0-SNAPSHOT.jar 082fa2206c4a00e3f428e9100199a0337ad42fdb child1-1.0-SNAPSHOT.pom # company:child2:1.0-SNAPSHOT user=mirko 05d419cf53e175c6e84ddc1cf2fccdc9dd109c6b child2-1.0-SNAPSHOT-sources.jar df633b963220ba124ffa80eb6ceab676934bb387 child2-1.0-SNAPSHOT.jar 5661e9270a02c5359be47615bb6ed9911105d878 child2-1.0-SNAPSHOT.pom |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.7 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>net.oneandone.maven.plugins</groupId> <artifactId>bill-of-materials-maven-plugin</artifactId> <version>3.2-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>net.oneandone.maven.plugins</groupId> <artifactId>bill-of-materials-maven-plugin</artifactId> <version>3.2-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"