Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4319

stop clover instrumentation tasks being triggered during shadowJar build

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.3.0
    • Fix Version/s: 2.11.3.0
    • Component/s: Dev and Dep
    • Labels:

      Description

      Looks like one of JAL-3783,JAL-4110,JAL-4298 has resulted in a change in the task dependency graph for shadowJar. Regardless of the setting of 'clover', the gradle build always tries to execute clover related tasks. Judicious addition of -x can suppress them.

      The shadowJar itself does not appear to include the instrumented classes or need clover jars to run, so this is not a bug in the code, just an undesirable issue with the build system.

      gradle clean shadowJar --dry-run

      > Configure project :
      Using properties from file './utils/channels/default/channel_gradle.properties'
      JALVIEW_VERSION is set to '2.11.3.0'
      HEADLESS BUILD
      J2S ENABLED
      Using a LOCAL profile.
      :clean SKIPPED
      :copyHelp SKIPPED
      :buildIndices SKIPPED
      :copyResources SKIPPED
      :copyChannelResources SKIPPED
      :createBuildProperties SKIPPED
      :buildResources SKIPPED
      :copyDocs SKIPPED
      :convertMdFiles SKIPPED
      :releasesTemplates SKIPPED
      :prepare SKIPPED
      :compileJava SKIPPED
      :processResources SKIPPED
      :classes SKIPPED
      :cleanClover SKIPPED
      :cloverInstrJava SKIPPED
      :cloverInstrTests SKIPPED
      :cloverInstr SKIPPED
      :compileCloverJava SKIPPED
      :processCloverResources SKIPPED
      :cloverClasses SKIPPED
      :compileTestJava SKIPPED
      :cleanPackageDir SKIPPED
      :compileLinkCheck SKIPPED
      :linkCheck SKIPPED
      :jar SKIPPED
      :syncJars SKIPPED
      :makeDist SKIPPED
      :processTestResources SKIPPED
      :testClasses SKIPPED
      :shadowJar SKIPPED

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: