Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-132

Support simple 'mvn clean compile' command (move shading before the compile phase)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      The current situation is described in the BUILDING.md:

      When building Ratis the first time, shaded files need to be generated by the following command:
      ```
      $ mvn package -DskipTests
      ```
      After that, `mvn compile` or `mvn test` can be used as normal.
      For example, we may run the basic tests by
      ```
      

      In short: the shading phase is bound to the 'package' maven phase, therefore we can't use 'mvn clean install' just 'mvn clean package' because the package phase should be done before the compilation of ratis-proto-shaded.

      This blocks the nightly build as yetus uses one 'mvn clean compile' or 'mvn clean test-compile' without invoking the package phase.

      Attachments

        1. RATIS-132.001.patch
          7 kB
          Marton Elek
        2. RATIS-132.002.patch
          7 kB
          Marton Elek

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: