Uploaded image for project: 'repository.jboss.org/nexus'
  1. repository.jboss.org/nexus
  2. NEXUS-967

Validation treats plugin configuration content as top-level pom content

XMLWordPrintable

    • MWES 2025-07-29

      Output from the wildfly-staging validation task:

      date=Wed Jul 30 00:14:08 UTC 2025, run="Validation: wildfly-staging-127", taskname="Validation: wildfly-staging", repository="wildfly-staging", group="org.wildfly.core", artifact="wildfly-core-component-matrix-builder", version="29.0.0.Beta7", problem="pom.xml validation failed: /org/wildfly/core/wildfly-core-component-matrix-builder/29.0.0.Beta7/wildfly-core-component-matrix-builder-29.0.0.Beta7.pom at [50,39]: licenses section appeared outside its expected location in xml."
      
      date=Wed Jul 30 00:14:08 UTC 2025, run="Validation: wildfly-staging-127", taskname="Validation: wildfly-staging", repository="wildfly-staging", group="org.wildfly.core", artifact="wildfly-core-component-matrix-builder", version="29.0.0.Beta7", problem="pom.xml validation failed: /org/wildfly/core/wildfly-core-component-matrix-builder/29.0.0.Beta7/wildfly-core-component-matrix-builder-29.0.0.Beta7.pom at [39,37]: parent appeared outside its expected location in xml."
      

      The pom in question basically looks like the one here:

      https://github.com/wildfly/wildfly-core/blob/29.0.0.Beta6/component-matrix-builder/pom.xml

      As you can see, the lines the validation complains about are part of the configuration section of a plugin execution.

              dhladky@redhat.com David Hladky
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: