Fork me on GitHub

bill-of-materials:create

Full name:

net.oneandone.maven.plugins:bill-of-materials-maven-plugin:3.2-SNAPSHOT:create

Description:

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

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: install.

Required Parameters

Name Type Since Description
bomPath File - Absolute path to the output-file.
Default value is: ${session.executionRootDirectory}/target/tickets/bill-of-materials.txt.
User property is: bill-of-materials.bomPath.

Parameter Details

bomPath:

Absolute path to the output-file.
  • Type: java.io.File
  • Required: Yes
  • User Property: bill-of-materials.bomPath
  • Default: ${session.executionRootDirectory}/target/tickets/bill-of-materials.txt