3 Replies Latest reply on Aug 16, 2019 11:19 AM by ljnelson

    lra-service-base missing?

    ljnelson

      Hello; I'd like to verify that although many Narayana LRA-related artifacts exist:

       

      https://search.maven.org/classic/#search%7Cga%7C1%7Cg%3A%22org.jboss.narayana.rts%22

       

      lra-service-base, which lra-clients and lra-filters need, does not.

       

      I wonder how lra-clients and lra-filters managed to get released to Maven central at version 5.9.6.Final when they need lra-service-base at version 5.9.6.Final and yet such a resource does not exist?

       

      I assume there is no workaround short of building Narayana 5.9.6.Final in full locally?

       

      Best,

      Laird

        • 1. Re: lra-service-base missing?
          ljnelson

          I think I see what happened.

           

          To build some, but not all, of the LRA-related artifacts, you need to activate the community profile for some reason.  Clearly when a release happens to Maven central, that profile is not activated.

           

          But when whatever job it is that releases the rest of Narayana runs, it probably can reference lra-service-base at version 5.9.6.Final, because probably whatever machine it is that performs the release build already has lra-service-base built because probably that same machine has had the community profile activated in the past.  Yeeeeeeeeeeeeuck.

           

          The workaround, as I suspected, is to do what you should really never ever ever do, which is to check out the 5.9.6.Final tag and build it from scratch, using build.sh clean install -DskipTests -Pcommunity.

           

          Best,

          Laird

          • 2. Re: lra-service-base missing?
            ochaloup

            Hi ljnelson ,

             

            thank you for report. You are right the lra-service-base artifact was not released to the maven central. I'm sorry for that. That was omission. Not directly because of the '-Pcommunity' profile but a wrong configuration of the module. I reported the issue for that and we'll try to solve that erro.

            [JBTM-3175] lra-service-base is not deployed to Nexus during release - JBoss Issue Tracker

             

            Ondra

            • 3. Re: lra-service-base missing?
              ljnelson

              Cool, thank you!