Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27039

eap-maven-plugin is missing depedency: org.wildfly.core:wildfly-core-testbom:pom:21.0.8.Final-redhat-00001

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      Download full maven repo from https://prod-jenkins-csb-eap.apps.ocp-c1.prod.psi.redhat.com/job/EAP-8.0.x/job/jboss-eap-xp-8.0.x-build-test-release/252/artifact/stage/ and run mvn package with following pom.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
          <modelVersion>4.0.0</modelVersion>
      
          <groupId>org.example</groupId>
          <artifactId>test-project</artifactId>
          <version>1.0-SNAPSHOT</version>
      
          <properties>
              <maven.compiler.source>11</maven.compiler.source>
              <maven.compiler.target>11</maven.compiler.target>
              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
              <version.eap.maven.plugin>1.0.0.Final-redhat-00016</version.eap.maven.plugin>
          </properties>
          <build>
              <plugins>
                  <plugin>
                      <groupId>org.jboss.eap.plugins</groupId>
                      <artifactId>eap-maven-plugin</artifactId>
                      <version>${version.eap.maven.plugin}</version>
                      <configuration>
                          <channels>
                              <channel>
                                  <manifest>
                                      <groupId>org.jboss.eap.channels</groupId>
                                      <artifactId>eap-8.0</artifactId>
                                  </manifest>
                              </channel>
                          </channels>
                          <feature-packs>
                              <feature-pack>
                                  <location>org.jboss.eap:wildfly-ee-galleon-pack</location>
                              </feature-pack>
                              <feature-pack>
                                  <location>org.jboss.eap.cloud:eap-cloud-galleon-pack</location>
                              </feature-pack>
                          </feature-packs>
                          <layers>
                              <layer>cloud-server</layer>
                          </layers>
                          <filename>ROOT.war</filename>
                      </configuration>
                      <executions>
                          <execution>
                              <goals>
                                  <goal>package</goal>
                              </goals>
                          </execution>
                      </executions>
                  </plugin>
              </plugins>
          </build>
      </project>
      
      Show
      Download full maven repo from https://prod-jenkins-csb-eap.apps.ocp-c1.prod.psi.redhat.com/job/EAP-8.0.x/job/jboss-eap-xp-8.0.x-build-test-release/252/artifact/stage/ and run mvn package with following pom.xml: <?xml version= "1.0" encoding= "UTF-8" ?> <project xmlns= "http: //maven.apache.org/POM/4.0.0" xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http: //maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > <modelVersion>4.0.0</modelVersion> <groupId>org.example</groupId> <artifactId>test-project</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <version.eap.maven.plugin>1.0.0.Final-redhat-00016</version.eap.maven.plugin> </properties> <build> <plugins> <plugin> <groupId>org.jboss.eap.plugins</groupId> <artifactId>eap-maven-plugin</artifactId> <version>${version.eap.maven.plugin}</version> <configuration> <channels> <channel> <manifest> <groupId>org.jboss.eap.channels</groupId> <artifactId>eap-8.0</artifactId> </manifest> </channel> </channels> <feature-packs> <feature-pack> <location>org.jboss.eap:wildfly-ee-galleon-pack</location> </feature-pack> <feature-pack> <location>org.jboss.eap.cloud:eap-cloud-galleon-pack</location> </feature-pack> </feature-packs> <layers> <layer>cloud-server</layer> </layers> <filename>ROOT.war</filename> </configuration> <executions> <execution> <goals> <goal> package </goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>

      There is missing depedency of eap-maven-plugin 1.0.0.Final-redhat-00016 on:

      org.wildfly.core:wildfly-core-testbom:pom:21.0.8.Final-redhat-00001
      

      It does not seem to be delivered in any of the maven provided repos in https://prod-jenkins-csb-eap.apps.ocp-c1.prod.psi.redhat.com/job/EAP-8.0.x/job/jboss-eap-xp-8.0.x-build-test-release/252/artifact/stage/ .

      Maven build using this plugin fails on:

      ", was "[ERROR] Failed to execute goal org.jboss.eap.plugins:eap-maven-plugin:1.0.0.Final-redhat-00016:package (packaging) on project artifact-with-wf-maven-plugin: Execution packaging of goal org.jboss.eap.plugins:eap-maven-plugin:1.0.0.Final-redhat-00016:package failed: Plugin org.jboss.eap.plugins:eap-maven-plugin:1.0.0.Final-redhat-00016 or one of its dependencies could not be resolved: Failed to collect dependencies at org.jboss.eap.plugins:eap-maven-plugin:jar:1.0.0.Final-redhat-00016 -> org.wildfly.core:wildfly-controller-client:jar:21.0.8.Final-redhat-00001: Failed to read artifact descriptor for org.wildfly.core:wildfly-controller-client:jar:21.0.8.Final-redhat-00001: Could not find artifact org.wildfly.core:wildfly-core-testbom:pom:21.0.8.Final-redhat-00001 in testsuite-repository-plugins-unblocker (file:///home/hudson/hudson_workspace/workspace/eap-8.x-wildfly-maven-plugin-prepare//home/hudson/hudson_workspace/workspace/eap-8.x-wildfly-maven-plugin-prepare/prebuilt-maven-repository) -> [Help 1]
      

              Unassigned Unassigned
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: