Re: (RestJiraDownloader) Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
Hi Eric, Thanks for the tip for investigating the jira report. I got the latest source code for the changes plugin and printed out the offending nodes that have no priority (issue id, key): Missing priority 12619331: BCEL-165 Missing priority 12619323: BCEL-157 Missing priority 12619318: BCEL-152 Missing priority 12619293: BCEL-127 Missing priority 12619287: BCEL-121 Missing priority 12619279: BCEL-113 Missing priority 12619276: BCEL-110 Missing priority 12619241: BCEL-75 Looking at these tickets (e.g. [1]) it seems that they share this in common: They have an external issue ID and a link to bugzilla The priority is of the form [P0, P1, P2, ...]. All have P2. Since the tickets are closed I suggest we reopen them and update the properties so that my test plugin can process the tickets. Alex [1] https://issues.apache.org/jira/browse/BCEL-165 On Wed, 26 Oct 2022 at 17:58, Eric Bresie wrote: > > Looking on the plug-in side (1) if this hasn’t changed any and I’m reading > it correctly, seems like the json Node in use has no displayName or name > attributes present. > > Reference > (1) > https://github.com/behrica/maven-changes-plugin/blob/master/src/main/java/org/apache/maven/plugin/jira/RestJiraDownloader.java > > > On Wed, Oct 26, 2022 at 11:31 AM Alex Herbert > wrote: > > > Validated signatures on the binary and src distributions. > > > > Built from src.zip using: > > > > maven install site -P jacoco -P japicmp > > > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > Maven home: /usr/local/apache-maven-3 > > Java version: 11.0.16, vendor: Ubuntu, runtime: > > /usr/lib/jvm/java-11-openjdk-amd64 > > Default locale: en_GB, platform encoding: UTF-8 > > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: > > "unix" > > > > I received a NullPointerException from the Jira report: > > > > [INFO] Generating "JIRA Report" report --- > > maven-changes-plugin:2.12.1:jira-report > > WARNING: An illegal reflective access operation has occurred > > WARNING: Illegal reflective access by > > org.apache.cxf.transport.http.CXFAuthenticator > > (file:/home/ah403/.m2/repository/org/apache/cxf/ > > cxf-rt-transports-http/2.6.3/cxf-rt-transports-http-2.6.3.jar) to > > field java.net.Authenticator.theAuthenticator > > WARNING: Please consider reporting this to the maintainers of > > org.apache.cxf.transport.http.CXFAuthenticator > > WARNING: Use --illegal-access=warn to enable warnings of further > > illegal reflective access operations > > WARNING: All illegal access operations will be denied in a future release > > [WARNING] > > java.lang.NullPointerException > >at org.apache.maven.plugin.jira.RestJiraDownloader.processPriority > > (RestJiraDownloader.java:392) > >at org.apache.maven.plugin.jira.RestJiraDownloader.buildIssues > > (RestJiraDownloader.java:329) > >at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute > > (RestJiraDownloader.java:172) > > > > The same build using Java 8 also had the same error using: > > > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > Maven home: /usr/local/apache-maven-3 > > Java version: 1.8.0_333, vendor: Oracle Corporation, runtime: > > /usr/lib/jvm/jdk1.8.0_333/jre > > Default locale: en_GB, platform encoding: UTF-8 > > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: > > "unix" > > > > I checked your site build in the SVN staging repo and that also does > > not have a Jira report. > > > > There is one skipped test for BCEL-291. The Jira ticket is marked as > > fix version 6.6.0; the ticket is reopened. Perhaps the fix version > > should be updated as it has not yet been fixed. > > > > There are a few PMD items to easily clean up. Empty catch blocks can > > use 'catch(Exception ignored) {'. There are some redundant final > > keywords to remove. Can be done post release. > > > > All other reports are OK. Some Spotbugs issues but they have been > > around for a while. > > > > So this seems OK except the broken Jira report. I don't think this is > > a blocker given that the live site for 6.6.0 also has no Jira report. > > I cannot see anything custom in the pom to configure the jira report. > > The exception stack trace is at method processPriority. So perhaps > > there is a ticket with an unusual priority. I see some tickets where > > there is an additional priority field with P1, P2, P3 as well as the > > usual priority field with major, minor, etc (see BCEL-183 [1]). There > > is nothing in commons parent configuring priority so it could be a > > loss leader. When you search for issues in BCEL using e.g. 'project = > > BCEL AND priority = P2' it finds no tickets, so this extra field is > > not searchable. There is something broken with the Jira project for > > BCEL. Fixing that is outside the scope of the release. > > > > +1 > > > > Alex > > > > [1] https://issues.apache.org/jira/browse/BCEL-183 > > > > On Sun, 23 Oct 2022 at 15:58, Gary Gregory wrote: > > > > > > We have fixed one
[VOTE][CANCEL] Release Apache Commons BCEL 6.6.1 based on RC1
Thanks Mark! Fixed in Git master. This VOTE is canceled. I'll roll RC2 most likely on Saturday morning. Gary On 2022/10/26 20:10:39 Mark Roberts wrote: > I think a camelCase edit was missed in classfile/FieldOrMethod.java. The > method 'copy_' has constantPool in the arg list and constant_pool in the > body. constant_pool is class field and I don’t think the intention of copy_ > is to reuse the existing ConstantPool. > > Mark > > > -Original Message- > From: Gary D. Gregory [mailto:ggreg...@apache.org] > Sent: Tuesday, October 25, 2022 4:37 AM > To: dev@commons.apache.org > Subject: Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1 > > Ping ;-) > > On 2022/10/23 14:58:05 Gary Gregory wrote: > > We have fixed one bug since Apache Commons BCEL 6.6.0 was released, so > > I would like to release Apache Commons BCEL 6.6.1. This will help > > SpotBugs migrate from 6.5.0. > > > > Apache Commons BCEL 6.6.1 RC1 is available for review here: > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1 (svn > > revision 57519) > > > > The Git tag commons-bcel-6.6.1-RC1 commit for this RC is > > ec208052baf4c596f7e8cfacc281d3e2408809ac which you can browse here: > > > > https://gitbox.apache.org/repos/asf?p=commons-bcel.git;a=commit;h=ec20 > > 8052baf4c596f7e8cfacc281d3e2408809ac > > You may checkout this tag using: > > git clone https://gitbox.apache.org/repos/asf/commons-bcel.git > > --branch commons-bcel-6.6.1-RC1 commons-bcel-6.6.1-RC1 > > > > Maven artifacts are here: > > > > https://repository.apache.org/content/repositories/orgapachecommons-16 > > 02/org/apache/bcel/bcel/6.6.1/ > > > > These are the artifacts and their hashes: > > > > #Release SHA-512s > > #Sun Oct 23 10:44:36 EDT 2022 > > Apache\ Commons\ > > BCEL-6.6.1.spdx.rdf.xml=f07a9526a013c6c700e84005f45eb3f582b105756486b6 > > 65b084be1accf147179e22db752c370dd2cf2c779a2c9188b2fec431fc7de56f0cfc35 > > 5c26ea25d2fe > > bcel-6.6.1-bin.tar.gz=4358ab0a7103e33bf4d0774cdeab11c4b32a7ef65944e086 > > 02b6a5c2da7ac1e8f04edc1603b458381e29c9341c32f1679521bb544eb4a081c351d8 > > 2b646d6024 > > bcel-6.6.1-bin.zip=1acd0c776c06d50e7f2a4c5d6f7ea90374cdb9f0d6ddc994eb5 > > d8a6eb3632ac10327167b372567456b0b83c0ebd99652f0f69c39e3ba57d31b87b3206 > > 3eb223d > > bcel-6.6.1-bom.json=e51e003589f1de2e73d1fbc3dfdff6f30e85df2aca036b9bcd > > f5dffe5eb6915adbbb8ab72aed63ff5dcd32b9db51316a088c2b89e8ad54657170c21f > > eae404a8 > > bcel-6.6.1-bom.xml=f00ddbf5a93d88209e781a71de7067897005e36ca88d5be10f1 > > 05af87f8ae7cabe07e6373f166def2de4c7d72b30e25e8f20a6f17827260754ed87048 > > 0647049 > > bcel-6.6.1-javadoc.jar=35d2dc3daaa7adefd17561f4dc896dbdce5fb0530c8d867 > > fc8178bdab8c9d21afd27b4429b9650281d8692a62039739795b642e9ff5c317a73b10 > > 89661aab491 > > bcel-6.6.1-sources.jar=3ecf109550cd8837dba586570e33c73fa81efccc69e2b68 > > cc03b53756947e4c9f95575e77b751181cf934f20f5e078654f343400b8184ab414e89 > > b316f7f33f4 > > bcel-6.6.1-src.tar.gz=bb4283d1ebcdeaef7f3530826f16681cad7a53508056178d > > 63621f7a17321df3bbc11914e75dd7b81f967723c8b6bc4009853dc80bb4707de2f5f6 > > db26eb8f7a > > bcel-6.6.1-src.zip=a62790a65ecb2f69f260f683d9f75a3a4ef98abfbec5a37efbe > > 10ad7d5fd9c33771ff5cba305c3f18c336f8495a1ce5c5ab43ecb9124973e2728742d6 > > 34b6288 > > bcel-6.6.1-test-sources.jar=0f4dd1c7652b564b1343cc2731118c3575d351022f > > 2811d3049f9eccda77b9fb05779691996ddb6396717fa75699e8a407f5c654bf75d5a7 > > aca50bd1a2e9d95f > > bcel-6.6.1-tests.jar=1a06e51f00d8de83c4128ddfaf3a318a2afca8e5e67739cfb > > 05956d4c4fce02028d3a93ca3288fc494b46ca08d6e707544b5cc5401c12396cde4a0d > > c25d49136 > > > > I have tested this with 'mvn' (the default goal) and 'mvn -V > > -Duser.name=$my_apache_id -Prelease -Ptest-deploy -P jacoco -P japicmp > > clean package site deploy' using: > > > > Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 > > PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64 Apache Maven > > 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > Maven home: /usr/local/Cellar/maven/3.8.6/libexec > > Java version: 1.8.0_345, vendor: Homebrew, runtime: > > /usr/local/Cellar/openjdk@8/1.8.0+345/libexec/openjdk.jdk/Contents/Hom > > e/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os > > x", version: "12.6", arch: "x86_64", family: "mac" > > > > Details of changes since 6.6.0 are in the release notes: > > > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1/RELEASE-NOTES.txt > > > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1/site/cha > > nges-report.html > > > > Site: > > > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1/site/index.html > > (note some *relative* links are broken and the 6.6.1 directories > > are not yet created - these will be OK once the site is deployed.) > > > > JApiCmp Report (compared to 6.6.0): > > > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1/site/jap > > icmp.html > > > > RAT Report: > > > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.
Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
Thanks Alex. I'll see what I can clean up this weekend before RC2 unless someone else can get to it. Gary On 2022/10/26 16:31:00 Alex Herbert wrote: > Validated signatures on the binary and src distributions. > > Built from src.zip using: > > maven install site -P jacoco -P japicmp > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > Maven home: /usr/local/apache-maven-3 > Java version: 11.0.16, vendor: Ubuntu, runtime: > /usr/lib/jvm/java-11-openjdk-amd64 > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" > > I received a NullPointerException from the Jira report: > > [INFO] Generating "JIRA Report" report --- > maven-changes-plugin:2.12.1:jira-report > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > org.apache.cxf.transport.http.CXFAuthenticator > (file:/home/ah403/.m2/repository/org/apache/cxf/ > cxf-rt-transports-http/2.6.3/cxf-rt-transports-http-2.6.3.jar) to > field java.net.Authenticator.theAuthenticator > WARNING: Please consider reporting this to the maintainers of > org.apache.cxf.transport.http.CXFAuthenticator > WARNING: Use --illegal-access=warn to enable warnings of further > illegal reflective access operations > WARNING: All illegal access operations will be denied in a future release > [WARNING] > java.lang.NullPointerException >at org.apache.maven.plugin.jira.RestJiraDownloader.processPriority > (RestJiraDownloader.java:392) >at org.apache.maven.plugin.jira.RestJiraDownloader.buildIssues > (RestJiraDownloader.java:329) >at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute > (RestJiraDownloader.java:172) > > The same build using Java 8 also had the same error using: > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > Maven home: /usr/local/apache-maven-3 > Java version: 1.8.0_333, vendor: Oracle Corporation, runtime: > /usr/lib/jvm/jdk1.8.0_333/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" > > I checked your site build in the SVN staging repo and that also does > not have a Jira report. > > There is one skipped test for BCEL-291. The Jira ticket is marked as > fix version 6.6.0; the ticket is reopened. Perhaps the fix version > should be updated as it has not yet been fixed. > > There are a few PMD items to easily clean up. Empty catch blocks can > use 'catch(Exception ignored) {'. There are some redundant final > keywords to remove. Can be done post release. > > All other reports are OK. Some Spotbugs issues but they have been > around for a while. > > So this seems OK except the broken Jira report. I don't think this is > a blocker given that the live site for 6.6.0 also has no Jira report. > I cannot see anything custom in the pom to configure the jira report. > The exception stack trace is at method processPriority. So perhaps > there is a ticket with an unusual priority. I see some tickets where > there is an additional priority field with P1, P2, P3 as well as the > usual priority field with major, minor, etc (see BCEL-183 [1]). There > is nothing in commons parent configuring priority so it could be a > loss leader. When you search for issues in BCEL using e.g. 'project = > BCEL AND priority = P2' it finds no tickets, so this extra field is > not searchable. There is something broken with the Jira project for > BCEL. Fixing that is outside the scope of the release. > > +1 > > Alex > > [1] https://issues.apache.org/jira/browse/BCEL-183 > > On Sun, 23 Oct 2022 at 15:58, Gary Gregory wrote: > > > > We have fixed one bug since Apache Commons BCEL 6.6.0 was released, so > > I would like to release Apache Commons BCEL 6.6.1. This will help > > SpotBugs migrate from 6.5.0. > > > > Apache Commons BCEL 6.6.1 RC1 is available for review here: > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1 (svn > > revision 57519) > > > > The Git tag commons-bcel-6.6.1-RC1 commit for this RC is > > ec208052baf4c596f7e8cfacc281d3e2408809ac which you can browse here: > > > > https://gitbox.apache.org/repos/asf?p=commons-bcel.git;a=commit;h=ec208052baf4c596f7e8cfacc281d3e2408809ac > > You may checkout this tag using: > > git clone https://gitbox.apache.org/repos/asf/commons-bcel.git > > --branch commons-bcel-6.6.1-RC1 commons-bcel-6.6.1-RC1 > > > > Maven artifacts are here: > > > > https://repository.apache.org/content/repositories/orgapachecommons-1602/org/apache/bcel/bcel/6.6.1/ > > > > These are the artifacts and their hashes: > > > > #Release SHA-512s > > #Sun Oct 23 10:44:36 EDT 2022 > > Apache\ Commons\ > > BCEL-6.6.1.spdx.rdf.xml=f07a9526a013c6c700e84005f45eb3f582b105756486b665b084be1accf147179e22db752c370dd2cf2c779a2c9188b2fec431fc7de56f0cfc355c26ea25d2fe > > bcel-6.6.1-bin.tar.gz=4358ab0a7103e33bf4d0774cdeab11c4b32a7ef65944e08602b6a5c2da7ac1e8f04edc1603b458381e29c9341c32f1679
[BCEL] low test coverage
BCEL currently stands at 44% code coverage from tests, which needs improvement obviously. Any help would be appreciated. Gary
Re: (RestJiraDownloader) Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
I have reopened the tickets, removed the P2 priority field (just in case it was also contributing to the problem), assigned the priority as minor and closed the tickets. The Jira report is now fixed. Alex On Thu, 27 Oct 2022 at 09:26, Alex Herbert wrote: > Hi Eric, > > Thanks for the tip for investigating the jira report. I got the latest > source code for the changes plugin and printed out the offending nodes > that have no priority (issue id, key): > > Missing priority 12619331: BCEL-165 > Missing priority 12619323: BCEL-157 > Missing priority 12619318: BCEL-152 > Missing priority 12619293: BCEL-127 > Missing priority 12619287: BCEL-121 > Missing priority 12619279: BCEL-113 > Missing priority 12619276: BCEL-110 > Missing priority 12619241: BCEL-75 > > Looking at these tickets (e.g. [1]) it seems that they share this in > common: > > They have an external issue ID and a link to bugzilla > The priority is of the form [P0, P1, P2, ...]. All have P2. > > Since the tickets are closed I suggest we reopen them and update the > properties so that my test plugin can process the tickets. > > Alex > > [1] https://issues.apache.org/jira/browse/BCEL-165 > > On Wed, 26 Oct 2022 at 17:58, Eric Bresie wrote: > > > > Looking on the plug-in side (1) if this hasn’t changed any and I’m > reading > > it correctly, seems like the json Node in use has no displayName or name > > attributes present. > > > > Reference > > (1) > > > https://github.com/behrica/maven-changes-plugin/blob/master/src/main/java/org/apache/maven/plugin/jira/RestJiraDownloader.java > > > > > > On Wed, Oct 26, 2022 at 11:31 AM Alex Herbert > > wrote: > > > > > Validated signatures on the binary and src distributions. > > > > > > Built from src.zip using: > > > > > > maven install site -P jacoco -P japicmp > > > > > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > > Maven home: /usr/local/apache-maven-3 > > > Java version: 11.0.16, vendor: Ubuntu, runtime: > > > /usr/lib/jvm/java-11-openjdk-amd64 > > > Default locale: en_GB, platform encoding: UTF-8 > > > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: > > > "unix" > > > > > > I received a NullPointerException from the Jira report: > > > > > > [INFO] Generating "JIRA Report" report --- > > > maven-changes-plugin:2.12.1:jira-report > > > WARNING: An illegal reflective access operation has occurred > > > WARNING: Illegal reflective access by > > > org.apache.cxf.transport.http.CXFAuthenticator > > > (file:/home/ah403/.m2/repository/org/apache/cxf/ > > > cxf-rt-transports-http/2.6.3/cxf-rt-transports-http-2.6.3.jar) to > > > field java.net.Authenticator.theAuthenticator > > > WARNING: Please consider reporting this to the maintainers of > > > org.apache.cxf.transport.http.CXFAuthenticator > > > WARNING: Use --illegal-access=warn to enable warnings of further > > > illegal reflective access operations > > > WARNING: All illegal access operations will be denied in a future > release > > > [WARNING] > > > java.lang.NullPointerException > > >at org.apache.maven.plugin.jira.RestJiraDownloader.processPriority > > > (RestJiraDownloader.java:392) > > >at org.apache.maven.plugin.jira.RestJiraDownloader.buildIssues > > > (RestJiraDownloader.java:329) > > >at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute > > > (RestJiraDownloader.java:172) > > > > > > The same build using Java 8 also had the same error using: > > > > > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > > Maven home: /usr/local/apache-maven-3 > > > Java version: 1.8.0_333, vendor: Oracle Corporation, runtime: > > > /usr/lib/jvm/jdk1.8.0_333/jre > > > Default locale: en_GB, platform encoding: UTF-8 > > > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: > > > "unix" > > > > > > I checked your site build in the SVN staging repo and that also does > > > not have a Jira report. > > > > > > There is one skipped test for BCEL-291. The Jira ticket is marked as > > > fix version 6.6.0; the ticket is reopened. Perhaps the fix version > > > should be updated as it has not yet been fixed. > > > > > > There are a few PMD items to easily clean up. Empty catch blocks can > > > use 'catch(Exception ignored) {'. There are some redundant final > > > keywords to remove. Can be done post release. > > > > > > All other reports are OK. Some Spotbugs issues but they have been > > > around for a while. > > > > > > So this seems OK except the broken Jira report. I don't think this is > > > a blocker given that the live site for 6.6.0 also has no Jira report. > > > I cannot see anything custom in the pom to configure the jira report. > > > The exception stack trace is at method processPriority. So perhaps > > > there is a ticket with an unusual priority. I see some tickets where > > > there is an additional priority field with P1, P2, P3 as well as the > > > usual priority field with major, minor, etc (see BCEL-183 [1]). There > > > is nothing in commons parent con
Re: (RestJiraDownloader) Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
On Thu, 27 Oct 2022 at 12:36, Alex Herbert wrote: > > I have reopened the tickets, removed the P2 priority field (just in case it > was also contributing to the problem), assigned the priority as minor and > closed the tickets. > > The Jira report is now fixed. Strangely it was not fixed in the site build, only when running 'mvn changes:jira-report'. I tracked this issue to the following tickets that are resolved but not closed and are missing the priority field: BCEL-84, BCEL-38, BCEL-4, BCEL-80 I have changed them to priority minor. Now 'mvn clean package site' works on master. Alex - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org
Re: (RestJiraDownloader) Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
Thanks Alex! Gary On Thu, Oct 27, 2022, 08:39 Alex Herbert wrote: > On Thu, 27 Oct 2022 at 12:36, Alex Herbert > wrote: > > > > I have reopened the tickets, removed the P2 priority field (just in case > it was also contributing to the problem), assigned the priority as minor > and closed the tickets. > > > > The Jira report is now fixed. > > Strangely it was not fixed in the site build, only when running 'mvn > changes:jira-report'. I tracked this issue to the following tickets > that are resolved but not closed and are missing the priority field: > > BCEL-84, BCEL-38, BCEL-4, BCEL-80 > > I have changed them to priority minor. Now 'mvn clean package site' > works on master. > > Alex > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >
Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
On Thu, 27 Oct 2022 at 11:56, Gary D. Gregory wrote: > > Thanks Alex. > > I'll see what I can clean up this weekend before RC2 unless someone else can > get to it. I've fixed the simple items for PMD and added a default PMD config and suppressed warnings that cannot be fixed. The report is now cleaner. Tested with: mvn clean package site The Jira report is now back. There are some tickets which do not have a fix version. These annoyingly list at the top of the report. I tried before to change the sort order (defined in commons-parent as 'Fix Version DESC, ...') but could not fix this through the plugin config. For numbers I had to reopen tickets and assign a fix version. This was easy as there were only 2 releases to choose from when assigning the version and I am familiar with the project history. There are 12 such tickets in BCEL but 12 released version numbers. I do not have time to track the tickets to the version. So for now the report lists these at the top. The jira report actually sorts the order based on the order listed on the releases Jira page (see [1], may require admin login). This can be adjusted using drag and drop. So a solution is to create a special version for these tickets and put it at the bottom of the sort order. But that just moves the tickets from top to bottom to allow the latest release to be at the top. It would not place them correctly in the report order. This should really be done by using dates from the ticket and changes in the commit history. Alex [1] https://issues.apache.org/jira/projects/BCEL?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page&status=released - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org
Re: (RestJiraDownloader) Re: [VOTE] Release Apache Commons BCEL 6.6.1 based on RC1
Would you mind creating a ticket for the proper Maven plugin? Gary On Wed, Oct 26, 2022, 12:58 Eric Bresie wrote: > Looking on the plug-in side (1) if this hasn’t changed any and I’m reading > it correctly, seems like the json Node in use has no displayName or name > attributes present. > > Reference > (1) > > https://github.com/behrica/maven-changes-plugin/blob/master/src/main/java/org/apache/maven/plugin/jira/RestJiraDownloader.java > > > On Wed, Oct 26, 2022 at 11:31 AM Alex Herbert > wrote: > > > Validated signatures on the binary and src distributions. > > > > Built from src.zip using: > > > > maven install site -P jacoco -P japicmp > > > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > Maven home: /usr/local/apache-maven-3 > > Java version: 11.0.16, vendor: Ubuntu, runtime: > > /usr/lib/jvm/java-11-openjdk-amd64 > > Default locale: en_GB, platform encoding: UTF-8 > > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: > > "unix" > > > > I received a NullPointerException from the Jira report: > > > > [INFO] Generating "JIRA Report" report --- > > maven-changes-plugin:2.12.1:jira-report > > WARNING: An illegal reflective access operation has occurred > > WARNING: Illegal reflective access by > > org.apache.cxf.transport.http.CXFAuthenticator > > (file:/home/ah403/.m2/repository/org/apache/cxf/ > > cxf-rt-transports-http/2.6.3/cxf-rt-transports-http-2.6.3.jar) to > > field java.net.Authenticator.theAuthenticator > > WARNING: Please consider reporting this to the maintainers of > > org.apache.cxf.transport.http.CXFAuthenticator > > WARNING: Use --illegal-access=warn to enable warnings of further > > illegal reflective access operations > > WARNING: All illegal access operations will be denied in a future release > > [WARNING] > > java.lang.NullPointerException > >at org.apache.maven.plugin.jira.RestJiraDownloader.processPriority > > (RestJiraDownloader.java:392) > >at org.apache.maven.plugin.jira.RestJiraDownloader.buildIssues > > (RestJiraDownloader.java:329) > >at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute > > (RestJiraDownloader.java:172) > > > > The same build using Java 8 also had the same error using: > > > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > > Maven home: /usr/local/apache-maven-3 > > Java version: 1.8.0_333, vendor: Oracle Corporation, runtime: > > /usr/lib/jvm/jdk1.8.0_333/jre > > Default locale: en_GB, platform encoding: UTF-8 > > OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: > > "unix" > > > > I checked your site build in the SVN staging repo and that also does > > not have a Jira report. > > > > There is one skipped test for BCEL-291. The Jira ticket is marked as > > fix version 6.6.0; the ticket is reopened. Perhaps the fix version > > should be updated as it has not yet been fixed. > > > > There are a few PMD items to easily clean up. Empty catch blocks can > > use 'catch(Exception ignored) {'. There are some redundant final > > keywords to remove. Can be done post release. > > > > All other reports are OK. Some Spotbugs issues but they have been > > around for a while. > > > > So this seems OK except the broken Jira report. I don't think this is > > a blocker given that the live site for 6.6.0 also has no Jira report. > > I cannot see anything custom in the pom to configure the jira report. > > The exception stack trace is at method processPriority. So perhaps > > there is a ticket with an unusual priority. I see some tickets where > > there is an additional priority field with P1, P2, P3 as well as the > > usual priority field with major, minor, etc (see BCEL-183 [1]). There > > is nothing in commons parent configuring priority so it could be a > > loss leader. When you search for issues in BCEL using e.g. 'project = > > BCEL AND priority = P2' it finds no tickets, so this extra field is > > not searchable. There is something broken with the Jira project for > > BCEL. Fixing that is outside the scope of the release. > > > > +1 > > > > Alex > > > > [1] https://issues.apache.org/jira/browse/BCEL-183 > > > > On Sun, 23 Oct 2022 at 15:58, Gary Gregory > wrote: > > > > > > We have fixed one bug since Apache Commons BCEL 6.6.0 was released, so > > > I would like to release Apache Commons BCEL 6.6.1. This will help > > > SpotBugs migrate from 6.5.0. > > > > > > Apache Commons BCEL 6.6.1 RC1 is available for review here: > > > https://dist.apache.org/repos/dist/dev/commons/bcel/6.6.1-RC1 (svn > > > revision 57519) > > > > > > The Git tag commons-bcel-6.6.1-RC1 commit for this RC is > > > ec208052baf4c596f7e8cfacc281d3e2408809ac which you can browse here: > > > > > > https://gitbox.apache.org/repos/asf?p=commons-bcel.git;a=commit;h=ec208052baf4c596f7e8cfacc281d3e2408809ac > > > You may checkout this tag using: > > > git clone https://gitbox.apache.org/repos/asf/commons-bcel.git > > > --branch commons-bcel-6.6.1-RC1 commons-bcel-6.6.1-RC1 > > > > > > Maven artifa
Re: [VOTE] Release Apache Commons Compress 1.22 based on RC1
Hi Matt, 1) Clone and checkout the RC tag > > git clone https://gitbox.apache.org/repos/asf/commons-compress.git > --branch commons-compress-1.22-RC1 commons-compress-1.22-RC1 > cd commons-compress-1.22-RC1 > Tried checking it out after `git fetch --all --tags`, but found nothing. Opened gitbox and the closest I found was a tag without the RC1. I think there's also a branch release-1.22. Could you confirm the tag, please? -Bruno On Wed, 26 Oct 2022 at 09:05, Matt Sicker wrote: > We have fixed quite a few bugs and added some significant enhancements > since Apache Commons Compress 1.21 was released, so I would like to release > Apache Commons Compress 1.22. > > Apache Commons Compress 1.22 RC1 is available for review here: > https://dist.apache.org/repos/dist/dev/commons/compress/1.22-RC1 (svn > revision 57596) > > The Git tag commons-compress-1.22-RC1 commit for this RC is > 5183d0b08c0897e6f0c41a038487b7c795136425 which you can browse here: > > https://gitbox.apache.org/repos/asf?p=commons-compress.git;a=commit;h=5183d0b08c0897e6f0c41a038487b7c795136425 > You may checkout this tag using: > git clone https://gitbox.apache.org/repos/asf/commons-compress.git > --branch commons-compress-1.22-RC1 commons-compress-1.22-RC1 > > Maven artifacts are here: > > https://repository.apache.org/content/repositories/orgapachecommons-1603/org/apache/commons/commons-compress/1.22/ > > These are the artifacts and their hashes: > > #Release SHA-512s > #Tue Oct 25 14:46:59 CDT 2022 > Apache\ Commons\ > Compress-1.22.spdx.rdf.xml=aef6cc68bff93fe66c70ffb486a3f9e5709ada04e51c8eb5901368eb9e7ce627885b367123c3db86912b3625d374d0bf02610edb86fe223ae974bab2fa60bec2 > > commons-compress-1.22-bin.tar.gz=81f0f1e75797d7199e8eb399f26571955f27040b4255859ec4df73714a2edd0d7238823201ffd486bf18f1cbf80ff7f28dbd4f5ad4655826468775ceec224d55 > > commons-compress-1.22-bin.zip=ccfeaa45ba257d6895fd849a1d31f88498d4ada23502318dd94747f00e9662e6ca335ab458b12436024c4cb25cef723393e0336534c6fc978b27aaa4b0e82650 > > commons-compress-1.22-bom.json=24dcbf472caf173e1ed4151867451bd457b581c86e1cd24a045ddbe3e4a139916598dbf51b87d3f299f30d0029f62a65981e42e48dd74efb44fa1068cde0fdc0 > > commons-compress-1.22-bom.xml=8e19c58886ff57ff078c88e90d6b1dcb21b48dc43df1ab69e7727ff11a5374e16e6f2dfc32fc5ed37ba4a0ccc065b6a41bdb00a60fd9789fb6d7b82094bb28ec > > commons-compress-1.22-javadoc.jar=f7d10749afd6574cb6189d5701d310d5a7aae029d6d6b8a879d8dda4d9435f815fb671437c876f0f74cf7d8ebd219b04a2c903cc83a2bd8ddf63225f69add06c > > commons-compress-1.22-sources.jar=94c2a396e831cdfcee438958a58fe5ca70b53b4884cd665568805ad0519f8ca12e960e2ce92ea73d70e414c6dd4a5f8c562bc758e19f5bffb06b696fb5589b6d > > commons-compress-1.22-src.tar.gz=7d9e34d9a23e81778574fce2e637b380ef5027f3fc262f2583ec9568cfd16b766ec591a025f78987e2290a4a193992f4621c3ca05104e8e17a9cc32efdde8487 > > commons-compress-1.22-src.zip=fa8fec592d255f5ef23ce27491db9523222ed90113e7efd02fd9cc126d5e2df3d9caa578d049df0cca1f299e54d416295002b7f9c24e87b4b77b5c54658013bb > > commons-compress-1.22-test-sources.jar=703e5a7b203505f42e69257952640594a1d0fdc14311e8028728d9bc5c27e65554767b6ea0583cc23e91a400ea595210890773395cfb807afbf3468604bf38ce > > commons-compress-1.22-tests.jar=771d1ad4757e65993d75c629f206eecb7e99765eb01e4da621a405cc068e5cade8332f57fb3d19d5cb273aec54e1ea85c24a3053c0cb61c386ec2f64770b868f > > > > I have tested this with ***'mvn clean install site'*** using: > > Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) > Maven home: /Users/matt/.sdkman/candidates/maven/current > Java version: 1.8.0_322, vendor: Azul Systems, Inc., runtime: > /Users/matt/.sdkman/candidates/java/8.0.322-zulu/zulu-8.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "12.6", arch: "aarch64", family: "mac" > Darwin matt1max.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 > 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64 > > Details of changes since 1.21 are in the release notes: > > https://dist.apache.org/repos/dist/dev/commons/compress/1.22-RC1/RELEASE-NOTES.txt > > https://dist.apache.org/repos/dist/dev/commons/compress/1.22-RC1/site/changes-report.html > > Site: > > https://dist.apache.org/repos/dist/dev/commons/compress/1.22-RC1/site/index.html > (note some *relative* links are broken and the 1.22 directories are > not yet created - these will be OK once the site is deployed.) > > *** JApiCmp Report (compared to 1.21): > > https://dist.apache.org/repos/dist/dev/commons/compress/1.22-RC1/site/japicmp.html > > *** > Note that the above report notes several errors. > These are considered OK for the reasons stated below. > These exceptions are also noted in the Changes and Release Notes. > > Errors reported: > - removal of checked exceptions in various methods > *** > > RAT Report: > > https://dist.apache.org/repos/dist/dev/commons/compress/1.22-RC1/site/rat-report.html > > KEYS: > https://www.apache.org/dist/commons/KEYS > > Pl