<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Sun Feb 11 23:40:34 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[BUILD-291] Remove ununused com.google.code.findbugs:annotations</title>
                <link>https://jira.magnolia-cms.com/browse/BUILD-291</link>
                <project id="10330" key="BUILD">Build</project>
                    <description>&lt;p&gt;While I was working on &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLCE-103&quot; title=&quot;Remove/add dependencies as suggested by Maven&amp;#39;s dependency:analysis&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLCE-103&quot;&gt;&lt;del&gt;MGNLCE-103&lt;/del&gt;&lt;/a&gt; this artifact showed up as being used in resources and main. We made the decision to not add &lt;tt&gt;com.google.code.findbugs:annotations&lt;/tt&gt; to the BOM but to add it to the POM files where Maven suggested it. As this shows up as a &apos;used undeclared&apos; dependency, it was a warning we needed to take care of, it is more critical than &apos;unused declared&apos; ones, which we ignore.&lt;/p&gt;

&lt;p&gt;However, as far as I can see, we actually don&apos;t use this dependency at all. It is brought in the following way in resource-loader, and somehow Maven&apos;s analyzer thinks we are using it:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[INFO] +- org.reflections:reflections:jar:0.9.9:compile
[INFO] |  +- org.javassist:javassist:jar:3.18.2-GA:compile
[INFO] |  \- com.google.code.findbugs:annotations:jar:2.0.1:compile
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I don&apos;t think we should care because this project is dead. I would therefore suggest the following:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;bump reflections to 0.9.11, which no longer uses this dependency&lt;/li&gt;
	&lt;li&gt;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/images/icons/emoticons/check.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; remove the mention of it from main&apos;s resource-loader and resource-app
	&lt;ul&gt;
		&lt;li&gt;see BitBucket search for &lt;a href=&quot;https://git.magnolia-cms.com/plugins/servlet/search?q=&amp;quot;import%20javax%20annotation&amp;quot;%20-PostConstruct%20-PreDestroy%20fork%3Afalse%20ext%3Ajava&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&quot;import javax annotation&quot; -PostConstruct -PreDestroy fork:false ext:java&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;remove it also from the supplemental models?&lt;/del&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="62954">BUILD-291</key>
            <summary>Remove ununused com.google.code.findbugs:annotations</summary>
                <type id="3" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10898&amp;avatarType=issuetype">Task</type>
                                            <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="10433" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/generic.png" description="This issue has been evaluated by development and accepted to be planned in.">Accepted</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="mgeljic">Mika&#235;l Gelji&#263;</assignee>
                                    <reporter username="mmichel">Maxime Michel</reporter>
                        <labels>
                            <label>foundation_team</label>
                    </labels>
                <created>Thu, 23 Nov 2017 10:30:09 +0100</created>
                <updated>Thu, 27 Oct 2022 17:13:58 +0200</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="161971" author="mgeljic" created="Wed, 6 Jun 2018 15:18:27 +0200"  >&lt;p&gt;For the record, greater versions than 0.9.9 had critical regressions for the specific usage we have (resource scanning on the classpath).&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;We might as well check if annotations jar is critical at runtime (otherwise exclude it)&lt;/li&gt;
	&lt;li&gt;Or check if my statement above still stands in whatever version reflections is nowadays&lt;/li&gt;
	&lt;li&gt;Alternatively replace reflections with plain Java 8 usage or any more modern library&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="173422" author="mgeljic" created="Mon, 12 Nov 2018 20:00:32 +0100"  >&lt;blockquote&gt;&lt;p&gt;check if annotations jar is critical at runtime&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#8212;certainly shouldn&apos;t be, &lt;a href=&quot;https://jcp.org/en/jsr/detail?id=305&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;JSR-305&lt;/a&gt; was intended for defect-detection tools, and is now abandoned/dormant since 2012. Most of our usages are remnants of pre-JDK8 functional idioms (generated from Guava &lt;tt&gt;Predicate&lt;/tt&gt;/&lt;tt&gt;Function&lt;/tt&gt; impls), and are thus trivial to remove.&lt;br/&gt;
I will log my QA commits as related (~ &lt;a href=&quot;https://jira.magnolia-cms.com/browse/BUILD-291&quot; title=&quot;Remove ununused com.google.code.findbugs:annotations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BUILD-291&quot;&gt;BUILD-291&lt;/a&gt;) and report back over here.&lt;br/&gt;
However, reflections will keep dragging the annotations jar over.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;greater versions than 0.9.9 had critical regressions for the specific usage we have (resource scanning on the classpath)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#8212;afaict, as of 0.9.12-SNAPSHOT, &lt;tt&gt;ResourceScanner&lt;/tt&gt; still suffers the same (&lt;a href=&quot;https://github.com/ronmamo/reflections/issues/102&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;#102&lt;/a&gt;), although since our &lt;tt&gt;ClasspathService&lt;/tt&gt; was refactored circa 2016, we don&apos;t rely on this anymore; but only on Reflections&apos; &lt;tt&gt;FilterBuilder&lt;/tt&gt; and &lt;tt&gt;Vfs&lt;/tt&gt; functionality.&lt;/p&gt;

&lt;p&gt;Consequently:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;We &lt;em&gt;can&lt;/em&gt; try out the &quot;hard&quot; maven-exclusion; I&apos;d even recommend we ban both &lt;tt&gt;c.g.c.findbugs:annotations&lt;/tt&gt; and &lt;tt&gt;c.g.c.findbugs:jsr305&lt;/tt&gt; with the mighty enforcer.&lt;/li&gt;
	&lt;li&gt;We &lt;em&gt;can&lt;/em&gt; attempt the upgrade to 0.9.11 (&lt;em&gt;findbugs-annotations&lt;/em&gt; has been demoted to &quot;provided&quot; iirc)&lt;/li&gt;
	&lt;li&gt;We &lt;em&gt;can/should&lt;/em&gt; ditch WTF-licensed (sic) &lt;em&gt;reflections&lt;/em&gt;, in favor of the more modern/maintained/recognized &lt;a href=&quot;https://github.com/classgraph/classgraph&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ClassGraph&lt;/a&gt; (formerly fast-cp-scanner). cc &lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=apchelintcev&quot; class=&quot;user-hover&quot; rel=&quot;apchelintcev&quot;&gt;apchelintcev&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="174195" author="mmichel" created="Tue, 20 Nov 2018 10:30:16 +0100"  >&lt;p&gt;I totally vote for at least trying out the alternative library (timebox?), and evaluating the next steps from there.&lt;/p&gt;</comment>
                            <comment id="312044" author="mmichel" created="Mon, 20 Jun 2022 16:10:56 +0200"  >&lt;p&gt;TODO:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;double check that annotations has no runtime impact&lt;/li&gt;
	&lt;li&gt;If so, define it as provided. Do that for all 3 flavors:
	&lt;ul&gt;
		&lt;li&gt;com.google.code.findbugs:jsr305:jar:3.0.2:compile&lt;/li&gt;
		&lt;li&gt;com.google.code.findbugs:annotations:jar:2.0.1:compile&lt;/li&gt;
		&lt;li&gt;org.jetbrains:annotations:jar:13.0:compile&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10160">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>relation</name>
                                            <outwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="62603">BUILD-285</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Jun 2018 15:18:27 +0200</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ajones</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 33 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mmichel</customfieldvalue>
            <customfieldvalue>mgeljic</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i07jn7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14167" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Task DoR</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12430" key="com.atlassian.teams:rm-teams-custom-field-team">
                        <customfieldname>Team</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[30]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>