Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1038

[AMQ 7.1.0, CR2.2] Integration tests can't be compiled due to missing artifact

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Hide
      1. clone downstream repo with artemis broker (available on github on following link: https://github.com/rh-messaging/activemq-artemis)
      2. make sure the branch is "2.4.0.amq-710x"
      3. cd ./activemq-artemis/tests/integration-tests
      4. add repository of CR2.2 build into pom.xml
            <repositories>
                <repository>
                    <id>remote-msgqe-repo</id>
                    <url>download.eng.brq.redhat.com/devel/candidates/amq/AMQ-BROKER-7.1.0.CR2-2/maven-repository/maven-repository/</url>
                </repository>
            </repositories>
        
      5. change version from "2.4.0.amq-710004" to "2.4.0.amq-710004-redhat-1" so it corresponds to version that is used in above mentioned repository
      6. run following command:
        mvn -U -e -Dtest=org.apache.activemq.artemis.tests.integration.openwire.SimpleOpenWireTest test
      Show
      clone downstream repo with artemis broker (available on github on following link: https://github.com/rh-messaging/activemq-artemis ) make sure the branch is "2.4.0.amq-710x" cd ./activemq-artemis/tests/integration-tests add repository of CR2.2 build into pom.xml <repositories> <repository> <id> remote-msgqe-repo </id> <url> download.eng.brq.redhat.com/devel/candidates/amq/AMQ-BROKER-7.1.0.CR2-2/maven-repository/maven-repository/ </url> </repository> </repositories> change version from "2.4.0.amq-710004" to "2.4.0.amq-710004-redhat-1" so it corresponds to version that is used in above mentioned repository run following command: mvn -U -e -Dtest=org.apache.activemq.artemis.tests.integration.openwire.SimpleOpenWireTest test

      I am trying to test ENTMQBR-925 which is related to OpenWire XA transactions and it is customer issue. No one in QE have worked with these XA transactions yet and we are missing clients that would support them. There is upstream unit test which we would like to run against downstream broker build. I tried to create test-jar (runnable jar containing unit tests) or just run them with use of maven. However build fails due to missing artifact. What I have done is in "steps to reproduce" field.

      The most important part of log is this one:
      "Could not find artifact org.jboss.resteasy:resteasy-jaxrs-all:pom:3.0.24.Final-redhat-1 in remote-msgqe-repo (http://download.eng.brq.redhat.com/devel/candidates/amq/AMQ-BROKER-7.1.0.CR2-2/maven-repository/maven-repository/)"

            rh-ee-ataylor Andy Taylor
            rvais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: