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

Unable to execute bootablejar variant of todo-backend quickstart for XP4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • EAP-XP-4.0.0.GA
    • Quickstarts
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      git clone https://github.com/jboss-developer/jboss-eap-quickstarts.git
      
      cd jboss-eap-quickstarts/
      
      git checkout XP_4.0.0.GA
      
      cd todo-backend/
      
      mvn clean package -Pbootable-jar-openshift
      Show
      git clone https://github.com/jboss-developer/jboss-eap-quickstarts.git cd jboss-eap-quickstarts/ git checkout XP_4.0.0.GA cd todo-backend/ mvn clean package -Pbootable-jar-openshift

      There is a bug in todo-backend quickstart for XP4 - the wrong artifact is referenced in the configuration for creating bootable jar - 

      org.wildfly:wildfly-datasources-galleon-pack:7.4.0.GA-redhat-00003
      

       

      1. this artifact doesn't exists
      2. wrong GAV is used, we need org.jboss.eap:eap-datasources-galleon-pack:7.4.0.GA-redhat-00003

       
      source of the problem:
      https://github.com/jboss-developer/jboss-eap-quickstarts/blob/XP_4.0.0.GA/todo-backend/pom.xml#L196-L200

       
      issue 1 results in failing build on unavailable artifact and is masking issue 2 (when executed with some existing version) which would again fail the build during attempt of provisioning the server because we need the EAP variant of the galleon pack.

       
      BTW we don't have the issue in XP3 quickstart https://github.com/jboss-developer/jboss-eap-quickstarts/blob/XP_3.0.0.GA/todo-backend/pom.xml#L123-L127 so there was probably some mistake during productization.

       

              chaowan@redhat.com Chao Wang
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: