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.
Eclipse Tycho (a Maven plugin used to build OSGi bundles with Maven) has a
.mvn/extensions.xmlbuild extension that allows POM-less builds for projects with a certain<packaging>to not have a physicalpom.xml; all information in the POM is inferred from other files in the project (META-INF/MANIFEST.MF).Apparently,
tidy:checktries to check the (virtual) POM of the POM-less Tycho project – and fails.The attached project illustrates this problem. Performing a
mvn clean verifyultimately results inFWIW, if you think that this is rather a problem with Tycho, feel free to open a bug with the Tycho project instead.