Hi all,

An update on Murray's build error, now tested with Maven 3.10.1. The
2.12.6-RC1 source fails there at two points, and Maven 3.9 builds both fine:

1. jspwiki-markdown declares commons-text twice, which Maven 3.10 rejects.
This is the error Murray sent, and it is also in 2.12.5.

2. Once that is fixed, the JSP check of jspwiki-war fails with 117 errors.
The jspc plugin has two ecj compilers in its class path: Maven 3.9 puts ecj
3.21.0 first, Maven 3.10 puts the old ecj 4.6.1 first, which does not know
Java 11, falls back to source level 1.4 and cannot read generics.

PR #649 fixes both on master-2.x. With the RC1 source plus those two
changes, mvn clean install with Maven 3.10.1 passes in the 35 modules, 1178
tests, no failures, and the JSPs also compile with Maven 3.9.16.

The RC1 tag does not change, so whether this needs a new RC is Alex's call.

Arturo


On Fri, Nov 20, 2026 at 6:15 AM Arturo Bernal <[email protected]> wrote:

> Hi all,
>
> Regarding Murray's build error: the duplicate declaration of commons-text
> in jspwiki-markdown is not new, it is also in 2.12.5 and in the 2.12.6-RC1
> tag. Maven 3.9 only warns about it, Maven 3.10 rejects it.
>
> PR #649 removes the second declaration on master-2.x. It changes no
> resolved dependency. I checked it with Maven 3.9.16 only, not with 3.10.
>
> Alex, whether this needs a new RC is your call.
>
> Arturo
>
>
> On Fri, Nov 20, 2026 at 3:13 AM Murray Altheim <[email protected]>
> wrote:
>
>> Hi Alex,
>>
>> I'm getting:
>>
>>   ► mvn clean
>> [INFO] Scanning for projects...
>> [INFO] Loaded 24554 auto-discovered prefixes for remote repository
>> central (prefixes-central.txt)
>> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>> [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
>> must be unique: org.apache.commons:commons-text:jar -> duplicate
>> declaration of version (?) @ line 94, column 17
>>   @
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR]   The project org.apache.jspwiki:jspwiki-markdown:2.12.6
>> (/home/altheim/workspaces/workspace-jspwiki/jspwiki-builder-2.12.6/jspwiki-markdown/pom.xml)
>> has 1 error
>> [ERROR]
>>  'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
>> unique: org.apache.commons:commons-text:jar -> duplicate declaration of
>> version (?) @ line 94, column 17
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>>
>> This is Java 17.0.17, Maven 3.10.1 running on Ubuntu Linux 24.04.4 LTS.
>>
>> Murray
>>
>> On 11/20/26 10:24, Alex O'Ree via dev wrote:
>> > This is a release vote for Apache JSPWiki, version 2.12.6 RC1 The vote
>> > will be open for at least 72 hours from now.
>> >
>> > It fixes the following issues: (note many of the issues have the
>> > security flag set, so login is required to view most of them)
>> >
>> >
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12357467&projectId=12310732
>> >
>> > Deltas from the previous release
>> > - 4 JIRA issues, most of them being high priority security fixes
>> >
>> > Unfortunately, many of the security fixes from 3.0.1 were not
>> backported.
>> >
>> > You can see a curated changelog at
>> > https://jspwiki-wiki.apache.org/Wiki.jsp?page=NewIn2.12
>> >
>> > There's not much to see, however they are all security tagged issues
>> > in JIRA and are marked with the 2.12.6 fix version.
>> >
>> > Note that we are voting upon the source (tag), binaries are provided
>> > for convenience.
>> >
>> > Everybody is encouraged to vote.
>> >
>> > Source and binary files:
>> > https://dist.apache.org/repos/dist/dev/jspwiki/2.12.6-RC1
>> >
>> > Nexus staging repo:
>> >
>> https://repository.apache.org/content/repositories/orgapachejspwiki-1041
>> >
>> > The tag to be voted upon:
>> > https://github.com/apache/jspwiki/tree/2.12.6-RC1
>> >
>> > JSPWiki's KEYS file containing PGP keys we use to sign the release:
>> > https://www.apache.org/dist/jspwiki/KEYS
>> >
>> > == Reproducible Builds ==
>> > JSPWiki should follow Reproducible Builds
>> > (https://reproducible-builds.org/). In order to verify
>> > artifacts' build reproducibility, please use
>> >
>> > mvn verify artifact:compare
>> > -Dreference.repo=
>> https://repository.apache.org/content/repositories/staging/
>> >
>> > *** Please download, test and vote:
>> >
>> > [ ] +1 Approve the release
>> > [ ]  0 Don't mind
>> > [ ] -1 Disapprove the release (please provide specific comments)
>> >
>> > I'm voting 0 for this one. While it addresses some of the newly
>> > reported security issues, most are not resolved and i suspect if we
>> > release this, this will only cause more people to report issues that
>> > are already known. Therefore I am strongly recommending that we drop
>> > the 2.X series unless someone wants to spend the time to backport all
>> > of the other security related issues.
>> >
>> > P.S. We'll hold a separate vote shortly on whether or not to continue
>> > the 2.X series of JSPWIKI.
>>
>>

Reply via email to