Author: buildbot Date: Tue Mar 7 07:57:26 2017 New Revision: 1007876 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:57:26 2017 @@ -1 +1 @@ -1785806 +1785807 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:57:26 2017 @@ -153,9 +153,10 @@ 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 regular compilation. 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> +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>. +This method was presented by Michael Vorburger in his presentation <a href="https://www.slideshare.net/mikervorburger/the-end-of-the-world-as-we-know-it-aka-your-last-nullpointerexception-1b-bugs/14">The end of the world as we know it</a>.</p> <div class="codehilite"><pre><span class="nt"><plugin></span> <span class="nt"><artifactId></span>maven-compiler-plugin<span class="nt"></artifactId></span> <span class="nt"><version></span>3.5.1<span class="nt"></version></span> @@ -219,7 +220,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. 1785806 by kwin on Tue, 7 Mar 2017 07:53:57 +0000 + Rev. 1785807 by kwin on Tue, 7 Mar 2017 07:57:17 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project