tycho-p2-extras:compare-version-with-baselines

Full name:

org.eclipse.tycho.extras:tycho-p2-extras-plugin:4.0.9:compare-version-with-baselines

Description:

This mojo compares versions the output artifacts of your module build with the version of the same artifacts available in configured baselines, in order to detect version inconsistencies (version moved back, or not correctly bumped since last release). Rules for "illegal" versions are:

  • version decreased compared to baseline
  • same fully-qualified version as baseline, but with different binary content
  • same major.minor.micro as baseline, with different qualifier (at least micro should be increased)
  • This mojo doesn't allow to use qualifier as a versioning segment and will most likely drive to false-positive errors if your qualifier has means to show versioniterations.

    Attributes:

    • The goal is thread-safe and supports parallel builds.
    • Binds by default to the lifecycle phase: verify.

    Optional Parameters

    Name Type Since Description
    <baselines> List<String> - A list of p2 repositories to be used as baseline. Those are typically the most recent released versions of your project.
    User Property: baselines
    <comparator> String - The hint of an available org.eclipse.tycho.artifactcomparator.ArtifactComparator component to use for comparison of artifacts with same version.
    Default: bytes
    <ignoredPatterns> List<String> - A list of file path patterns that are ignored when comparing the build artifact against the baseline version. <ignoredPatterns> <pattern>META-INF/ECLIPSE_.RSA<pattern> <pattern>META-INF/ECLIPSE_.SF</pattern> </ignoredPatterns>
    <onIllegalVersion> CompareWithBaselineMojo$ReportBehavior - No description.
    Default: fail
    User Property: onIllegalVersion
    Alias: tycho.p2.baseline.onIllegalVersion
    <skip> boolean - No description.
    User Property: skip
    Alias: tycho.p2.baseline.skip

    Parameter Details

    <baselines>

    A list of p2 repositories to be used as baseline. Those are typically the most recent released versions of your project.
    • Type: java.util.List<java.lang.String>
    • Required: No
    • User Property: baselines

    <comparator>

    The hint of an available org.eclipse.tycho.artifactcomparator.ArtifactComparator component to use for comparison of artifacts with same version.
    • Type: java.lang.String
    • Required: No
    • Default: bytes

    <ignoredPatterns>

    A list of file path patterns that are ignored when comparing the build artifact against the baseline version. <ignoredPatterns> <pattern>META-INF/ECLIPSE_.RSA<pattern> <pattern>META-INF/ECLIPSE_.SF</pattern> </ignoredPatterns>
    • Type: java.util.List<java.lang.String>
    • Required: No

    <onIllegalVersion>

    No description.
    • Type: org.eclipse.tycho.plugins.p2.extras.CompareWithBaselineMojo$ReportBehavior
    • Required: No
    • User Property: onIllegalVersion
    • Default: fail
    • Alias: tycho.p2.baseline.onIllegalVersion

    <skip>

    No description.
    • Type: boolean
    • Required: No
    • User Property: skip
    • Alias: tycho.p2.baseline.skip