Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20346

no.expansion.build fails due to legacy/opentracing-extension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Optional Optional
    • None
    • 36.0.0.Beta1
    • Build System
    • None
    • ---
    • ---

      Building WildFly with -Dno.expansion.build fails because boms/standard-expansion is not built despite it's required by legacy/opentracing-extension.

      $ mvn clean install -DskipTests -Dno.expansion.build -P-expansion-server-tests
      ...
      [ERROR]   The project org.wildfly:wildfly-microprofile-opentracing-extension:36.0.0.Beta1-SNAPSHOT (/home/okotek/git/wildfly/legacy/opentracing-extension/pom.xml) has 7 errors
      [ERROR]     Non-resolvable import POM: The following artifacts could not be resolved: org.wildfly:wildfly-standard-expansion-bom:pom:36.0.0.Beta1-SNAPSHOT (absent): org.wildfly:wildfly-standard-expansion-bom:pom:36.0.0.Beta1-SNAPSHOT was not found in https://repository.jboss.org/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced @ line 26, column 25 -> [Help 2]
      [ERROR]     'dependencies.dependency.version' for io.netty:netty-common:jar is missing. @ line 81, column 21
      [ERROR]     'dependencies.dependency.version' for io.vertx:vertx-core:jar is missing. @ line 87, column 21
      [ERROR]     'dependencies.dependency.version' for io.smallrye.opentelemetry:smallrye-opentelemetry-api:jar is missing. @ line 94, column 21
      [ERROR]     'dependencies.dependency.version' for org.kohsuke.metainf-services:metainf-services:jar is missing. @ line 120, column 21
      [ERROR]     'dependencies.dependency.version' for org.wildfly:wildfly-opentelemetry:jar is missing. @ line 130, column 21
      [ERROR]     'dependencies.dependency.version' for org.wildfly:wildfly-opentelemetry-api:jar is missing. @ line 135, column 21
      ...
      

      There is a workaround: build the whole server first and then just the base server.

              bstansbe@redhat.com Brian Stansberry
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: