Skip to content

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

Open
@sewe

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions