Skip to content

tidy:check tries to check (virtual) pom.xml of POM-less Tycho build #16

@sewe

Description

@sewe

Eclipse Tycho (a Maven plugin used to build OSGi bundles with Maven) has a .mvn/extensions.xml build extension that allows POM-less builds for projects with a certain <packaging> to not have a physical pom.xml; all information in the POM is inferred from other files in the project (META-INF/MANIFEST.MF).

Apparently, tidy:check tries to check the (virtual) POM of the POM-less Tycho project – and fails.
The attached project illustrates this problem. Performing a mvn clean verify ultimately results in

[ERROR] Failed to execute goal org.codehaus.mojo:tidy-maven-plugin:1.0.0:check (check-pom) on project org.example.plugin: The POM violates the code style. Please format it by running `mvn tidy:pom`. -> [Help 1]

FWIW, if you think that this is rather a problem with Tycho, feel free to open a bug with the Tycho project instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions