Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Tycho + Sonar: No coverage on SonarQube due to missing javax.annotation.Nullable

Hi Andreas,

I am sorry, I have no idea how to help you. Nevertheless, I suggest you post to the tycho-user mailing list, maybe someone there will be able to help you.

Kind regards,
Mikael

> Le 20 mai 2015 à 13:12, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> a écrit :
> 
> Hi again,
> 
>> I hope this is the right mailing list for this kind of question, as it
>> relates to Tycho and Sonar as used in our Hudson build jobs.
> 
> still not sure whether this is the right mailing list (if not:
> apologies), but for the record, I found out what the root problem is:
> 
> Tycho correctly exposes the javax.annotation JAR on the classpath:
> 
>> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ org.eclipse.recommenders.constructors.rcp.tests ---
>> [INFO] org.eclipse.recommenders:org.eclipse.recommenders.constructors.rcp.tests:eclipse-test-plugin:2.2.0-SNAPSHOT
>> [INFO] +- p2.eclipse-plugin:com.google.guava:jar:15.0.0.v201403281430:system
>> [INFO] +- p2.eclipse-plugin:com.google.inject:jar:3.0.0.v201312141243:system
>> [INFO] +- p2.eclipse-plugin:javax.inject:jar:1.0.0.v20091030:system
>> [INFO] +- p2.eclipse-plugin:javax.annotation:jar:1.2.0.v201401042248:system
>> [INFO] +- p2.eclipse-plugin:javax.xml:jar:1.3.4.v201005080400:system
> 
> but the javax.annotation JAR (AFAIK, also correctly) does not contain
> javax.annotation.Nullable.
> 
> So, everything works as expected *but* that doesn't mean that this is
> satisfactory; for us, SonarQube reports wrong coverage data.
> 
> Can anyone can think of any workarounds?
> 
> Best wishes,
> 
> Andreas
> 
> -- 
> Codetrails GmbH
> The knowledge transfer company
> 
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Phone: +49-6151-276-7092
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
> 
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cbi-dev



Back to the top