You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2017/03/07 07:54:06 UTC
svn commit: r1007875 - in /websites/staging/sling/trunk/content: ./
documentation/development/jsr-305.html
Author: buildbot
Date: Tue Mar 7 07:54:06 2017
New Revision: 1007875
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/development/jsr-305.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Mar 7 07:54:06 2017
@@ -1 +1 @@
-1785805
+1785806
Modified: websites/staging/sling/trunk/content/documentation/development/jsr-305.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/jsr-305.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/jsr-305.html Tue Mar 7 07:54:06 2017
@@ -153,7 +153,7 @@ Also the annotations need to be configur
<a href="http://www.lastnpe.org/">Lastnpe.org</a> provides also an m2e extension to ease setting up the classpaths with external annotations from within your pom.xml.</p>
<h1 id="use-with-maven">Use With Maven<a class="headerlink" href="#use-with-maven" title="Permanent link">¶</a></h1>
<h2 id="leveraging-eclipse-jdt-compiler-recommended">Leveraging Eclipse JDT Compiler (recommended)<a class="headerlink" href="#leveraging-eclipse-jdt-compiler-recommended" title="Permanent link">¶</a></h2>
-<p>You can use Eclipse JDT also in Maven (with null analysis enabled) for the compilation in Maven as well. That way it will give out the same warnings/errors as Eclipse and will also consider external annotations.
+<p>You can use Eclipse JDT also in Maven (with null analysis enabled) for the regular compilation. That way it will give out the same warnings/errors as Eclipse and will also consider external annotations.
JDT in its most recent version is provided by the <code>tycho-compiler-plugin</code> which can be hooked up with the <code>maven-compiler-plugin</code>.
The full list of options for JDT is described in <a href="http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm">here</a>.</p>
<div class="codehilite"><pre><span class="nt"><plugin></span>
@@ -219,7 +219,7 @@ The full list of options for JDT is desc
<h1 id="use-with-sonarqube">Use with SonarQube<a class="headerlink" href="#use-with-sonarqube" title="Permanent link">¶</a></h1>
<p>At least rule <a href="https://sonarqube.com/coding_rules#rule_key=squid%3AS2259">squid:S2259</a> in SonarQube supports JSR-305 annotations as well for null checks.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1785805 by kwin on Tue, 7 Mar 2017 07:51:43 +0000
+ Rev. 1785806 by kwin on Tue, 7 Mar 2017 07:53:57 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project