I am getting sonarqube codecoverage repot 0% I installed all recent version applications - eclipse-plugin

Jococo.exec file is creating after maven build in target folder, but getting code coverage 0% and added plugins of both sonarqube and jococo.
I tried added report dependies and I refered all sites and yt videos I am not able to get this code coverage.
I am expection to solve issue and get code coverage percentage.

Related

Could not find com.google.gms:google-services:9.0,0

The Sync failed when tried to add the dependency for google play service. The problem seem to its looking for the jar in C:/Program/Files/Android/Android Studio however my SDK is placed in C:\Android\sdk. However I also have Android Studio in Program Files where there are no jar for Google play services.
Information:Gradle tasks [clean, :app:generateDebugSources, :app:compileDebugSources]
Error:A problem occurred configuring root project 'XXXXXX'.
Could not resolve all dependencies for configuration ':classpath'.
Could not find com.google.gms:google-services:9.0.0.
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/google/gms/google-services/9.0.0/google-services-9.0.0.pom
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/google/gms/google-services/9.0.0/google-services-9.0.0.jar
https://jcenter.bintray.com/com/google/gms/google-services/9.0.0/google-services-9.0.0.pom
https://jcenter.bintray.com/com/google/gms/google-services/9.0.0/google-services-9.0.0.jar
Required by:
:XXXXX:unspecified
Information:BUILD FAILED
Information:Total time: 6.148 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
Also my ANDROID_HOME is set to C:\Android\sdk.
Please advise.
By checking other SO question. You can find that Google Play Service updating to version 9.0.0 has a bug issue.
Some solution is by checking if you have enabled offline work for gradle, deselect Offline Work if it's checked. Then, confirm if you have latest version of Google services mentioned as dependencies in project level build.gradle: classpath 'com.google.gms:google-services:3.0.0'. Clean and build the project after the gradle sync completes.
Also, some people fixed it by just deleting the debug.keystore file found in the android folder.
Check this SO question for more information.

Why CMSAdapter and contenthub is not available?

As per Stanbol documentation, I've checked-out source code (% svn co http://svn.apache.org/repos/asf/stanbol/trunk stanbol) and after did maven build. All is fine. Now I've started executable jar (org.apache.stanbol.launchers.full-1.0.0-SNAPSHOT).
After starting this I do not see any menu option to open CMSAdapter and contenthub. I can only see /enhancer, /topic, /entityhub, /sparql, /ontonet, /rules, and /reasoners in the menu option.
Here is the localhost page -
When I saw the checked-out directory then I did not find folders corresponding to cmsadpater and contenthub.
After I tried to download complete zip from source again and now i can see cmsadpater and contenthub -
But I'm getting error during build.
Please suggest what I'm missing here.
[ERROR] Failed to execute goal on project org.apache.stanbol.launchers.full: Could not resolve dependencies for project org.apache.stanbol:org.apache.stanbol.launchers.full:jar:0.12.0: Failure to find org.apache.sling:org.apache.sling.launchpad:xml:bundlelist:8 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
ContentHub and CMSAdapter components have been discontinued from version 1.x. You can still find them at 0.12.x branch (https://svn.apache.org/repos/asf/stanbol/branches/release-0.12/)
Hope that helps

Unable to build project output group 'Content Files from Web (Active)

I got below error in MS build.
WARNING: Could not find prerequisite 'Microsoft .NET Framework 4 (x86 and x64)' in path 'C:....\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'
ERROR: Unable to build project output group 'Content Files from Web (Active)'
Any suggestions
Thanks
This error came up because my workspace wasn't upto date. I did get force (Get specific version) and rerun the build, it worked !! Posting it may helpful to somebody else.
In your project expand all the Folders and see if there are any files missing with yellow alert symbol.If you delete them,you can build your application as normally.

Could not copy the file "resources.dll" because it was not found

I'm getting this error after clicked for the first time in TEST-> Debug -> All Tests
I've been looking and seen something to add Pre build events but it didn't worked out, the error code:
Error 1 Could not copy the file "obj\Debug\qps-ploc\Bigbuilder.resources.dll" because it was not found. Bigbuilder
The program doesn't debug at the first try but when it asks "there was build errors. Would you like to run the last successfull build?" if i click no and retry to execute it will say nothing but the error will mantain in the error list
Uninstall the Multilingual App Toolkit from Programs and Features, download the latest version, and re-install. This fixes the build issues.
Encountered the same problem with building a console application using the Multilingual App Toolkit in a Portable Class Library, and now it is working.

Failing to compile Maven GWT project

Note - I will really appreciate a quick and complete answer to this question. I can't offer a bounty yet because I just published this question a few hours ago, but if someone answers this question fully, I will issue a total bounty of 150 (100 from me + 50) and award it to them.
I have tried to work my way through the GWT Archtype, but failed. Currently, I'm getting an error finding entry point class, when doing "mvn clean package"
INFO] auto discovered modules [org.test.TestGwt]
INFO] Compiling module org.test.TestGwt
INFO] Finding entry point classes
INFO] [ERROR] Unable to find type 'org.test.MyEntryPoint'
INFO] [ERROR] Hint: Previous compiler errors may have made this type unavailable
I uploaded the source code to my dropbox, would appreciate your help. This is a very stripped down project, it only contains the bare essentials - please help me figure out a working example.
My goal is to get mvn gwt:run to work, and to get a deployable war that actually works.
the property:
<source path="org/test"/>
refers to the path relative to your TestGwt.gwt.xml file itself. Also don't put server side code in your code base because GWT tries to compile it to JavaScript and will fail because it contains classes not available to compile.
I suggest you add 2 folders to you package structure:
org.test.client
org.test.server
Leave the TestGwt.gwt.xml file in the org/test folder.
and change the gwt.xml to:
<source path="client"/>