<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:24:21 UTC 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2935] Jenkins &quot;deploy&quot; stage failed due to file recreation issue</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2935</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;b&gt;mod-password-validator&lt;/b&gt; cannot be built due to an issue with file recreation during &quot;deploy&quot; stage (&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/mod-password-validator/job/master/28/consoleFull):&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/folio-org/job/mod-password-validator/job/master/28/consoleFull):&lt;/a&gt;&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mod-password-validator ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 40 source files to /home/jenkins/workspace/rg_mod-password-validator_master/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/workspace/rg_mod-password-validator_master/src/main/java/org/folio/pv/mapper/ValidationRuleMapper.java:[16,8] Internal error in the mapping processor: java.lang.RuntimeException: javax.annotation.processing.FilerException: Attempt to recreate a file for type org.folio.pv.mapper.ValidationRuleMapperImpl  	at org.mapstruct.ap.internal.processor.MapperRenderingProcessor.createSourceFile(MapperRenderingProcessor.java:59)  	at org.mapstruct.ap.internal.processor.MapperRenderingProcessor.writeToSourceFile(MapperRenderingProcessor.java:39)  	at org.mapstruct.ap.internal.processor.MapperRenderingProcessor.process(MapperRenderingProcessor.java:29)  	at org.mapstruct.ap.internal.processor.MapperRenderingProcessor.process(MapperRenderingProcessor.java:24)  	at org.mapstruct.ap.MappingProcessor.process(MappingProcessor.java:283)  	at org.mapstruct.ap.MappingProcessor.processMapperTypeElement(MappingProcessor.java:263)  	at org.mapstruct.ap.MappingProcessor.processMapperElements(MappingProcessor.java:221)  	at org.mapstruct.ap.MappingProcessor.process(MappingProcessor.java:156)  	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:980)  	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:896)  	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1222)  	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1334)  	at
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I suspect &lt;tt&gt;&quot;mvn -DskipTests deploy&quot;&lt;/tt&gt; has to include &lt;b&gt;&lt;font color=&quot;#d04437&quot;&gt;clean&lt;/font&gt;&lt;/b&gt; phase to remove the file previously generated during &lt;tt&gt;&quot;mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install org.jacoco:jacoco-maven-plugin:report&quot;&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="81901">FOLIO-2935</key>
            <summary>Jenkins &quot;deploy&quot; stage failed due to file recreation issue</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5f9abc1eb45b2e007453f423">John Malconian</assignee>
                                                                <reporter accountid="557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6">Dima Tkachenko</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 4 Jan 2021 18:26:18 +0000</created>
                <updated>Wed, 6 Jan 2021 16:08:48 +0000</updated>
                            <resolved>Tue, 5 Jan 2021 22:30:24 +0000</resolved>
                                                                    <component>Continuous Integration</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                                                            <comment id="198613" author="61cd0ca0bce5e00069e98be7" created="Mon, 4 Jan 2021 22:31:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A2002428d-c11e-48c4-98e0-a5b1104bd0b6&quot; class=&quot;user-hover&quot; rel=&quot;557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6&quot; data-account-id=&quot;557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6&quot; accountid=&quot;557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6&quot; rel=&quot;noreferrer&quot;&gt;Dima Tkachenko&lt;/a&gt; The mod-remote-storage solved this with &lt;a href=&quot;https://github.com/folio-org/mod-remote-storage/pull/10&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-remote-storage/pull/10&lt;/a&gt; adding &quot;auto-clean&quot; to their POM.&lt;/p&gt;

&lt;p&gt;Perhaps this needs to be added to mod-spring-template.&lt;/p&gt;</comment>
                                                            <comment id="198615" author="557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6" created="Tue, 5 Jan 2021 10:08:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the tip. Yes it might work in this particular case, but this solution adjusts any maven goal which could be not a desired behavior. For instance there is no need to recompile the whole code if tests are to be executed. Or if someone wants to get a dependency report he/she would need to wait until everything is rebuild from scratch.&lt;/p&gt;

&lt;p&gt;Is there any problem with customizing &quot;deploy&quot; stage of Jenkins build by adding &quot;clean&quot; phase?&lt;/p&gt;

&lt;p&gt;cc: &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ade4eac47-6d4e-4b50-9c3c-4a82ed705e52&quot; class=&quot;user-hover&quot; rel=&quot;557058:de4eac47-6d4e-4b50-9c3c-4a82ed705e52&quot; data-account-id=&quot;557058:de4eac47-6d4e-4b50-9c3c-4a82ed705e52&quot; accountid=&quot;557058:de4eac47-6d4e-4b50-9c3c-4a82ed705e52&quot; rel=&quot;noreferrer&quot;&gt;Taras Spashchenko&lt;/a&gt;, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63519767d66d8108a1226c09&quot; class=&quot;user-hover&quot; rel=&quot;63519767d66d8108a1226c09&quot; data-account-id=&quot;63519767d66d8108a1226c09&quot; accountid=&quot;63519767d66d8108a1226c09&quot; rel=&quot;noreferrer&quot;&gt;Viachaslau Khandramai&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198617" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Tue, 5 Jan 2021 14:34:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ee89462f7aa140abd82d11d&quot; class=&quot;user-hover&quot; rel=&quot;5ee89462f7aa140abd82d11d&quot; data-account-id=&quot;5ee89462f7aa140abd82d11d&quot; accountid=&quot;5ee89462f7aa140abd82d11d&quot; rel=&quot;noreferrer&quot;&gt;Julian Ladisch&lt;/a&gt; any idea why we are not seeing this issue with RMB-based modules?&lt;/p&gt;</comment>
                                                            <comment id="198619" author="557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6" created="Tue, 5 Jan 2021 15:35:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt;&lt;br/&gt;
This issue is specific to &lt;a href=&quot;https://mapstruct.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;MapStruct&lt;/a&gt; library and the way it generates the necessary files for the mapping. It does it during &quot;compile&quot; phase. Compilation is a part of both &quot;install&quot; and &quot;deploy&quot;. But before the deploy there is no clean up and the file created during installation is still there.&lt;/p&gt;

&lt;p&gt;RMB based modules don&apos;t use this library that&apos;s why the issue hasn&apos;t been faced before&lt;/p&gt;

&lt;p&gt;I&apos;ll try to enable pre-cleaning specifically for deployment but not sure if it&apos;ll work or not&lt;/p&gt;</comment>
                                                            <comment id="198621" author="5f9abc1eb45b2e007453f423" created="Tue, 5 Jan 2021 22:30:24 +0000"  >&lt;p&gt;Added an explicit &apos;clean&apos; phase to the maven deploy step in the main Maven build pipeline.  No need for additional POM configuration. &lt;/p&gt;</comment>
                                                            <comment id="198622" author="557058:2002428d-c11e-48c4-98e0-a5b1104bd0b6" created="Wed, 6 Jan 2021 16:08:48 +0000"  >&lt;p&gt;Thanks, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81887">FOLIO-2928</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i026nj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1990">DevOps: Sprint 105</customfieldvalue>
    <customfieldvalue id="1863">DevOps: Sprint 103</customfieldvalue>
    <customfieldvalue id="1884">DevOps: Sprint 104</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 4 Jan 2021 22:31:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>