<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jinwon Han on Medium]]></title>
        <description><![CDATA[Stories by Jinwon Han on Medium]]></description>
        <link>https://medium.com/@nowniz93?source=rss-88df5d3ec995------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*10tnERLm-aNf-TNdsU02BA.png</url>
            <title>Stories by Jinwon Han on Medium</title>
            <link>https://medium.com/@nowniz93?source=rss-88df5d3ec995------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:20:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nowniz93/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Sonarqube CE (10.0.0) PR Decoration Plug-in Install]]></title>
            <link>https://medium.com/tving-team/sonarqube-ce-10-0-0-pr-decoration-plug-in-install-4a7eb8423bb3?source=rss-88df5d3ec995------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a7eb8423bb3</guid>
            <category><![CDATA[tving]]></category>
            <category><![CDATA[sonarqube]]></category>
            <dc:creator><![CDATA[Jinwon Han]]></dc:creator>
            <pubDate>Tue, 07 Nov 2023 00:29:16 GMT</pubDate>
            <atom:updated>2023-11-07T00:29:16.943Z</atom:updated>
            <content:encoded><![CDATA[<h4>무료버전이지만 PR Decoration 기능을 쓰고 싶다! 싶을 때 필요한 과정</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*ZZGkppVIz0q8W-4m3lCgKg.jpeg" /></figure><p>본 문서는 Sonarqube Community Edition (10.0.0) 버전을 바탕으로 작성하였으며, 버전별 호환 정보는 <a href="https://github.com/mc1arke/sonarqube-community-branch-plugin">https://github.com/mc1arke/sonarqube-community-branch-plugin</a> 를 참조바랍니다.</p><p>— —</p><p>기본적으로 Sonarqube의 Plugin 설치 방법은 다음 2가지가 있다.</p><ol><li><strong>Sonarqube 앱 내 Marketplace 내 다운로드</strong></li><li><strong>Sonarqube 인스톨 경로 내부에 직접 jar 파일 배치</strong></li></ol><p>Marketplace의 경우 Administration 탭에서 확인 가능하다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I2fewFv_6Xc4JKnSlT2X3A.png" /><figcaption>Sonarqube Marketplace</figcaption></figure><p>하지만 제공하는 플러그인이 한정적이고, 정작 우리가 원하는 기능의 플러그인이 없을 확률이 높다.</p><p>그래서 오픈소스 또는 별도로 공급된 jar 형태의 플러그인을 직접 설치하는 경우가 많다.</p><p><strong>sonarqube-community-branch-plugin</strong>의 경우 설치 방법은 다음과 같다.</p><pre>###<br># sonarqube 설치 경로 내 extensions/plugins 로 jar 파일을 이동<br># -&gt; docker(또는 docker-compose)로 설치했을 경우 미리 volume mount를 활성화시켜 놓으면 편하다.<br># config/sonar.properties 파일 내에 다음 설정값을 추가해준다.</pre><pre>sonar.web.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.15.0-SNAPSHOT.jar=web<br>sonar.ce.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.15.0-SNAPSHOT.jar=ce</pre><p><strong>sonarqube-community-branch-plugin</strong>의<strong> </strong>호환 버전 명시에 따라</p><p>가장 최신인<strong> 1.14.0 릴리즈 버전</strong>을 사용해보기로 한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*ZbHu6w57b31te7N7dlhOuw.png" /><figcaption>버전별 호환정보</figcaption></figure><p>하지만 그 결과..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PRJrFr9Q7mTNa4uPSLTjRQ.png" /><figcaption>일반 릴리즈 버전 (1.14.0) 적용 시</figcaption></figure><p>ERROR com.github.mc1arke.sonarqube.plugin.CommunityBranchAgent - Could not transform <strong>class</strong> org.sonar.server.almsettings.MultipleAlmFeature, will use <strong>default</strong> <strong>class</strong> definition</p><p>javassist.NotFoundException: isEnabled(..) is not found in org.sonar.server.almsettings.MultipleAlmFeature</p><p>에러가 출력되며 소나큐브 컨테이너가 부팅되지 않는다 (…)</p><p>플러그인 소스 내부에서 사용되는 ‘MultipleAlmFeature’ 와 관련된 class 혹은 메소드 에러로 보인다.</p><p>분명 같은 증상을 겪는 사람들이 있을꺼라 생각하여 깃헙 내 이슈들을 찾아봤다.</p><p>— —</p><p>현재 Sonarqube CE 버전 (10.0.0) 에 관한 이슈</p><p><a href="https://github.com/mc1arke/sonarqube-community-branch-plugin/issues/674">Plugin v1.12.0 incompatible with SonarQube v9.7.0 · Issue #674 · mc1arke/sonarqube-community-branch-plugin</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pOptYfXNoApKjE84wgOaFQ.png" /><figcaption>‘MultipleAlmFeature’ class를 이용해 작업한 것을 인지하고 있는듯한 Owner의 코멘트</figcaption></figure><p>마지막 릴리즈 된 버전에는 문제를 분석 + 해결책을 반영을 하지 않은 것으로 보인다.</p><p><a href="https://github.com/mc1arke/sonarqube-community-branch-plugin/pull/754">#753: Add support for Sonarqube 10.0 by mc1arke · Pull Request #754 · mc1arke/sonarqube-community-branch-plugin</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I8Au5R6x2f9pxLMS9lWIjg.png" /></figure><p>버전 호환이 되지 않는다는 이슈와 함께 아티팩트 URL들이 있었지만</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*nxuWGsy4178fjSGfAlyXFg.png" /><figcaption>만료된 URL</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0J6zQI9jycd75VrcR8gVgQ.png" /><figcaption>만료된 아티팩트</figcaption></figure><p>만료된 URL과 아티팩트들뿐이었다.</p><p>그래서 직접 해당 레포지토리 내의 액션 커밋들을 전부 조사해봤다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BlaPFQewh0q0422GWTIvyQ.png" /><figcaption>오픈소스 Github Action 중 일부</figcaption></figure><p>→ 중간중간에 소나큐브 10.0 버전에 대한 업데이트 커밋들이 있는 것을 발견</p><p>그 중 문제의 해결책이 될 수 있는 스냅샷 버전의 액션+아티팩트를 찾아냈다.</p><p><a href="https://github.com/mc1arke/sonarqube-community-branch-plugin/actions/runs/6207127548">#753: Add support for Sonarqube 10.0 · mc1arke/sonarqube-community-branch-plugin@0f5fbd8</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cTu1Ku18Cha9hPyqbXtrFw.png" /><figcaption>흰색의 snapshot 글자가 너무나도 반갑다</figcaption></figure><p>그렇게 적용된 <strong>1.15.0-SNAPSHOT</strong> 버전!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yxY4gfyCiHrA_hZyqayBVw.png" /><figcaption>Installed 된 Community Branch Plugin</figcaption></figure><p>PR Decoration 기능이 성공적으로 지원된다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vy-G15z-z5ssCxy8uGW6lw.png" /></figure><p>이제는 릴리즈 된 1.15.0 버전</p><p>(2023년 10월 기준 아직까지는 꾸준히 develop 되는 것으로 보인다.)</p><p><a href="https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/tag/1.15.0">https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/tag/1.15.0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a7eb8423bb3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tving-team/sonarqube-ce-10-0-0-pr-decoration-plug-in-install-4a7eb8423bb3">Sonarqube CE (10.0.0) PR Decoration Plug-in Install</a> was originally published in <a href="https://medium.com/tving-team">TVING</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>