3 Replies Latest reply on Jan 16, 2019 2:45 PM by Szymon Tarnowski

    Question about ability for distribute project with implementation junit rule for BMUnit.

    Szymon Tarnowski Newbie

      Some time ago for my project which use SpringBoot I wrote simple implementation of "org.junit.rules.MethodRule" for BMUnit library.

      And some utils methods which allows to operate on  handling counters, joins and rendezvous.

      Project can be found on gitbub by rul https://github.com/starnowski/bmunit-extension.

      I would like to deploy project into one of public maven repositories.

      I am not an expert in context of licence but if I am correct then licence "GNU Lesser General Public License v2.1" allows me to do this.

      But as I read, some vendors may required permission from libraries owners.

      Or they would like to know if I asked libraries owners if they don't have anything  against it.

      So generally I wanted to have some advice from members of this group in this matter.

        • 1. Re: Question about ability for distribute project with implementation junit rule for BMUnit.
          Szymon Tarnowski Newbie

          Just for the record, I don't expect any response from legal department.

          I rather would like to know if developers who started projects which are extensions for byteman normally ask same question?

          I assume that my questions might be silly.

          • 2. Re: Question about ability for distribute project with implementation junit rule for BMUnit.
            Andrew Dinn Master

            Hi Szymon,

             

            First thing, I am not a lawyer. So, if you are unsure what the LGPL allows you to do then you probably ought to be asking a lawyer rather than anyone on this forum.

             

            "I rather would like to know if developers who started projects which are extensions for byteman normally ask same question?"

             

            No, they don't normally ask such a question :-).

             

            Byteman is published with an LGPL v2.1 license in its copyright declarations, with copyright assigned to the various authors of the code and Red Hat. There are no extra conditions mentioned in any of the copyright notices in the code base so,-- as far as I am aware (remember, I am not a lawyer),-- Red Hat has no right to impose any extra conditions beyond those specified in the license.

             

            Anyway, that's not how Red Hat operates. Strings may not be attached. Red Hat does require its staff to publish code they develop solely on its behalf using an open source license. It does require its staff to assign the copyright to Red Hat as well as to the respective authors. But it does not force staff to use a specific license and does not force staff to impose specific conditions beyond whatever license they choose.

             

            Ok, so what about publishing your code? As far as I am aware (I am not a lawyer) what you are doing is a perfectly legitimate way of building on Byteman. What is more I am very happy to see your work published and adopted and grateful to you for being willing to do so.

             

            I did not know that JUnit provided class MethodRule and the associated @Rule annotation to allow customization of the standard runner. This is a very nice way to allow Byteman to customize the test environment in accordance with BMUnit annotations when they are not able to configure the BMUnitRunner to manage test runs. Thank you for making this capability available for Byetman users.

             

            regards,

             

             

            Andrew Dinn

            • 3. Re: Question about ability for distribute project with implementation junit rule for BMUnit.
              Szymon Tarnowski Newbie

              Hi Andrew,

               

               

              Thanks for your reply. You did not leave me any doubts.

              I'll start preparing project to deploy.

               

              Thanks again.