Sonarqube src/test execution on version 7.6 with gradlegradle test error: retrolambda.oldJdkjava.lang.UnsupportedClassVersionError: org/sonarqube/gradle/SonarQubePluginGradle sonarqube not recognizing groovy testsSonarQube for Gradle: Component can't be nullJava Quickstart Build Failed With non-zero exit value 1VSTS Gradle SonarQube - Unhandled: Cannot read property 'statusCode' of undefinedcom.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 5what that is error mean when i building gradle?Error in travis-ci, sonarqube with GradleExecution failed for task ':app:transformDexWithInstantRunDependenciesApkForDebug'. Fix Error

Are there attacks that are neither melee nor ranged?

Why does this RX-X lock not appear in Extended Events?

Anti-cheating: should there be a limit to a number of toilet breaks per game per player?

Why were contact sensors put on three of the Lunar Module's four legs? Did they ever bend and stick out sideways?

ECDSA: Why is SigningKey shorter than VerifyingKey

Can I change the license of a forked project to the MIT if the license of the parent project has changed from the GPL to the MIT?

How to center rows in multiline set

Why is it "on the inside" and not "in the inside"?

How can I say in Russian "I am not afraid to write anything"?

Copying an existing HTML page and use it, is that against any copyright law?

What is this 4 sharp symbol and what does it mean?

Why force the nose of 737 Max down in the first place?

How can Paypal know my card is being used in another account?

What happens when a flying sword is killed?

Why did House of Representatives need to condemn Trumps Tweets?

Is there a wealth gap in Boston where the median net worth of white households is $247,500 while the median net worth for black families was $8?

Will this creature from Curse of Strahd reappear after being banished?

What container to use to store developer concentrate?

Reading line from terminal in expl3

Does Dispel Magic destroy Artificer Turrets?

What are the cons of stateless password generators?

Is there an antonym(a complementary antonym) for "spicy" or "hot" regarding food (I DO NOT mean "seasoned" but "hot")?

Name These Animals

Why did Windows 95 crash the whole system but newer Windows only crashed programs?



Sonarqube src/test execution on version 7.6 with gradle


gradle test error: retrolambda.oldJdkjava.lang.UnsupportedClassVersionError: org/sonarqube/gradle/SonarQubePluginGradle sonarqube not recognizing groovy testsSonarQube for Gradle: Component can't be nullJava Quickstart Build Failed With non-zero exit value 1VSTS Gradle SonarQube - Unhandled: Cannot read property 'statusCode' of undefinedcom.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 5what that is error mean when i building gradle?Error in travis-ci, sonarqube with GradleExecution failed for task ':app:transformDexWithInstantRunDependenciesApkForDebug'. Fix Error






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.



I have tried the options below



C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src


Task :sonarqube FAILED



FAILURE: Build failed with an exception.



What went wrong:
Execution failed for task ':sonarqube'.
File src/test/java/LibraryTest.java can't be indexed twice. Please check that
nclusion/exclusion patterns produce disjoint sets for main and test files



Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
ption to get more log output. Run with --scan to get full insights.



2)
I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java



C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions= src/**/*.java


Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



FAILURE: Build failed with an exception.



  • What went wrong:
    Task 'src/**/*.java' not found in root project 'SonarQube'.


  • Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option
    to get the stack trace. Run with --info or --debug option to get more log output
    . Run with --scan to get full insights.


  • Get more help at https://help.gradle.org


BUILD FAILED in 1s



3)



C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions=src/test/*.java


Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""




Task :test
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



Task :sonarqube
Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
of your project, or disable the SCM Sensor in the project settings.




BUILD SUCCESSFUL in 10s
5 actionable tasks: 5 executed



But still, I can't see changes on sonarqube server










share|improve this question
































    0















    I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.



    I have tried the options below



    C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src


    Task :sonarqube FAILED



    FAILURE: Build failed with an exception.



    What went wrong:
    Execution failed for task ':sonarqube'.
    File src/test/java/LibraryTest.java can't be indexed twice. Please check that
    nclusion/exclusion patterns produce disjoint sets for main and test files



    Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    ption to get more log output. Run with --scan to get full insights.



    2)
    I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java



    C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
    /test -Dsonar.inclusions= src/**/*.java


    Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



    FAILURE: Build failed with an exception.



    • What went wrong:
      Task 'src/**/*.java' not found in root project 'SonarQube'.


    • Try:
      Run gradle tasks to get a list of available tasks. Run with --stacktrace option
      to get the stack trace. Run with --info or --debug option to get more log output
      . Run with --scan to get full insights.


    • Get more help at https://help.gradle.org


    BUILD FAILED in 1s



    3)



    C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
    /test -Dsonar.inclusions=src/test/*.java


    Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""




    Task :test
    Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



    Task :sonarqube
    Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
    SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
    of your project, or disable the SCM Sensor in the project settings.




    BUILD SUCCESSFUL in 10s
    5 actionable tasks: 5 executed



    But still, I can't see changes on sonarqube server










    share|improve this question




























      0












      0








      0








      I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.



      I have tried the options below



      C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src


      Task :sonarqube FAILED



      FAILURE: Build failed with an exception.



      What went wrong:
      Execution failed for task ':sonarqube'.
      File src/test/java/LibraryTest.java can't be indexed twice. Please check that
      nclusion/exclusion patterns produce disjoint sets for main and test files



      Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug
      ption to get more log output. Run with --scan to get full insights.



      2)
      I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java



      C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
      /test -Dsonar.inclusions= src/**/*.java


      Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



      FAILURE: Build failed with an exception.



      • What went wrong:
        Task 'src/**/*.java' not found in root project 'SonarQube'.


      • Try:
        Run gradle tasks to get a list of available tasks. Run with --stacktrace option
        to get the stack trace. Run with --info or --debug option to get more log output
        . Run with --scan to get full insights.


      • Get more help at https://help.gradle.org


      BUILD FAILED in 1s



      3)



      C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
      /test -Dsonar.inclusions=src/test/*.java


      Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""




      Task :test
      Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



      Task :sonarqube
      Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
      SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
      of your project, or disable the SCM Sensor in the project settings.




      BUILD SUCCESSFUL in 10s
      5 actionable tasks: 5 executed



      But still, I can't see changes on sonarqube server










      share|improve this question
















      I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.



      I have tried the options below



      C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src


      Task :sonarqube FAILED



      FAILURE: Build failed with an exception.



      What went wrong:
      Execution failed for task ':sonarqube'.
      File src/test/java/LibraryTest.java can't be indexed twice. Please check that
      nclusion/exclusion patterns produce disjoint sets for main and test files



      Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug
      ption to get more log output. Run with --scan to get full insights.



      2)
      I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java



      C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
      /test -Dsonar.inclusions= src/**/*.java


      Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



      FAILURE: Build failed with an exception.



      • What went wrong:
        Task 'src/**/*.java' not found in root project 'SonarQube'.


      • Try:
        Run gradle tasks to get a list of available tasks. Run with --stacktrace option
        to get the stack trace. Run with --info or --debug option to get more log output
        . Run with --scan to get full insights.


      • Get more help at https://help.gradle.org


      BUILD FAILED in 1s



      3)



      C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
      /test -Dsonar.inclusions=src/test/*.java


      Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""




      Task :test
      Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""



      Task :sonarqube
      Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
      SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
      of your project, or disable the SCM Sensor in the project settings.




      BUILD SUCCESSFUL in 10s
      5 actionable tasks: 5 executed



      But still, I can't see changes on sonarqube server







      java sonarqube






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 27 at 8:21







      Rock

















      asked Mar 26 at 19:25









      RockRock

      34 bronze badges




      34 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364857%2fsonarqube-src-test-execution-on-version-7-6-with-gradle%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364857%2fsonarqube-src-test-execution-on-version-7-6-with-gradle%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript