artifact:compare
Full name:
org.apache.maven.plugins:maven-artifact-plugin:3.3.0:compare
Description:
Compare current build output with reference either previously
installed or downloaded from a remote repository: results go to
.buildcompare file.
Attributes:
- Requires a Maven project to be executed.
- Since version: 3.2.0.
Optional Parameters
Name |
Type |
Since |
Description |
<aggregateOnly> |
boolean |
3.2.0 |
Compare aggregate only (ie wait for the last module) or do
buildcompare on each module. Default value is: false. User property is: compare.aggregate.only.
|
<detectSkip> |
boolean |
3.2.0 |
Detect projects/modules with install or deploy skipped: avoid
taking fingerprints. Default value is: true. User property is: buildinfo.detect.skip.
|
<ignore> |
Set |
3.2.0 |
Artifacts to ignore, specified as extension or
classifier.extension. User property is: buildinfo.ignore.
|
<ignoreJavadoc> |
boolean |
3.2.0 |
Ignore javadoc attached artifacts from buildinfo generation. Default value is: true. User property is: buildinfo.ignoreJavadoc.
|
<outputTimestamp> |
String |
3.2.0 |
Timestamp for reproducible output archive entries, either formatted
as ISO 8601 yyyy-MM-dd'T'HH:mm:ssXXX or as an int
representing seconds since the epoch (like SOURCE_DATE_EPOCH). Default value is: ${project.build.outputTimestamp}.
|
<referenceRepo> |
String |
3.2.0 |
Repository for reference build, containing either reference
buildinfo file or reference artifacts.
Format: id or url or id::url
- id
- The repository id
- url
- The url of the repository
Default value is: central. User property is: reference.repo.
|
<reproducible> |
boolean |
3.1.0 |
Makes the generated .buildinfo file reproducible, by
dropping detailed environment recording: OS will be recorded as
"Windows" or "Unix", JVM version as major version only. Default value is: false. User property is: buildinfo.reproducible.
|
Parameter Details
Compare aggregate only (ie wait for the last module) or do
buildcompare on each module.
- Type: boolean
- Since: 3.2.0
- Required: No
- User Property: compare.aggregate.only
- Default: false
Detect projects/modules with install or deploy skipped: avoid
taking fingerprints.
- Type: boolean
- Since: 3.2.0
- Required: No
- User Property: buildinfo.detect.skip
- Default: true
Artifacts to ignore, specified as extension or
classifier.extension.
- Type: java.util.Set
- Since: 3.2.0
- Required: No
- User Property: buildinfo.ignore
Ignore javadoc attached artifacts from buildinfo generation.
- Type: boolean
- Since: 3.2.0
- Required: No
- User Property: buildinfo.ignoreJavadoc
- Default: true
Timestamp for reproducible output archive entries, either formatted
as ISO 8601
yyyy-MM-dd'T'HH:mm:ssXXX or as an int
representing seconds since the epoch (like
SOURCE_DATE_EPOCH).
- Type: java.lang.String
- Since: 3.2.0
- Required: No
- Default: ${project.build.outputTimestamp}
Repository for reference build, containing either reference
buildinfo file or reference artifacts.
Format:
id or
url or
id::url
- id
- The repository id
- url
- The url of the repository
- Type: java.lang.String
- Since: 3.2.0
- Required: No
- User Property: reference.repo
- Default: central
Makes the generated .buildinfo file reproducible, by
dropping detailed environment recording: OS will be recorded as
"Windows" or "Unix", JVM version as major version only.
- Type: boolean
- Since: 3.1.0
- Required: No
- User Property: buildinfo.reproducible
- Default: false