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

[eap-maven-plugin] Confusing error message when not specifying manifests as individual channels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • EAP-XP-5.0.0.CR2
    • None
    • None
    • False
    • None
    • False
    • User Experience
    • Known Issue
    • Hide

      Specify each manifest in its own channel.

      Show
      Specify each manifest in its own channel.

      When specifying two manifests as one channel (see below), provisioning process fails with [ERROR] Failed to execute goal org.jboss.eap.plugins:eap-maven-plugin:1.0.0.Final-redhat-00014:package (packaging) on project application-provisioning-zip: Provisioning failed: Can not resolve latest Maven artifact (no stream found) : org.jboss.eap:wildfly-ee-galleon-pack:zip: -> [Help 1]

      This error is really not helpful at all for the user since it does not provide any details on how to fix it without deep understanding of the implementation.

      <plugin>
          <groupId>org.jboss.eap.plugins</groupId>
          <artifactId>eap-maven-plugin</artifactId>
          <version>1.0.0.Final-redhat-00014</version>
          <executions>
              <execution>
                  <id>packaging</id>
                  <phase>process-test-resources</phase>
                  <goals>
                      <goal>package</goal>
                  </goals>
                  <configuration>
                      <feature-packs>
                          <feature-pack>
                              <groupId>org.jboss.eap.xp</groupId>
                              <artifactId>wildfly-galleon-pack</artifactId>
                              <version>5.0.0.GA-redhat-20240209</version>
                          </feature-pack>
                          <feature-pack>
                              <groupId>org.jboss.eap.xp</groupId>
                              <artifactId>eap-xp-cloud-galleon-pack</artifactId>
                              <version>1.0.0.Final-redhat-20240209</version>
                          </feature-pack>
                      </feature-packs>
                      <channels>
                          <channel>
                              <manifest>
                                  <groupId>org.jboss.eap.eap.channels</groupId>
                                  <artifactId>eap-8.0</artifactId>
                                  <version>1.0.1.GA-redhat-00003</version>
                              </manifest>
                              <manifest>
                                  <groupId>org.jboss.eap.channels.xp</groupId>
                                  <artifactId>eap-5.0</artifactId>
                                  <version>1.0.1.GA-redhat-20240209</version>
                              </manifest>
                          </channel>
                      </channels>
                      <provisioning-dir>/home/jkasik/projects/rhat/tests-wildfly-maven-plugin/application-provisioning-zip/provisioned-eap</provisioning-dir>
                  </configuration>
              </execution>
          </executions>
      </plugin>
      

              jdenise@redhat.com Jean Francois Denise
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: