Turns out, the reason is using Maven 4. With Maven 3, everything works fine. I'll file a bug report with the spdx plugin.
Jochen On Sun, Jul 13, 2025 at 4:12 PM Gary Gregory <garydgreg...@gmail.com> wrote: > > I wonder what debug logging shows. Note that the CI build is broken. > > Gary > > On Sat, Jul 12, 2025 at 3:58 PM Jochen Wiedmann > <jochen.wiedm...@gmail.com> wrote: > > > > Hi, > > > > anybody's got an idea, what causes the following, and/or how to deal with > > that? > > > > Thanks, > > > > Jochen > > > > jwi@Lap-Jochen-Win MINGW64 > > /c/Work/git/gitbox.apache.org/commons-fileupload-orig (master) > > $ (cd commons-fileupload2-distribution; mvn4 > > org.spdx:spdx-maven-plugin:1.0.2:createSPDX) > > [WARNING] Unable to find the root directory. Create a .mvn directory > > in the root directory or add the root="true" attribute on the root > > project's model to identify it. > > [INFO] Scanning for projects... > > [INFO] > > [INFO] ----------------------------< > > org.apache.commons:commons-fileupload2-distribution > > >----------------------------- > > [INFO] Building Apache Commons FileUpload Distribution 2.0.0-M5-SNAPSHOT > > [INFO] from pom.xml > > [INFO] ----------------------------------------------------[ pom > > ]----------------------------------------------------- > > [INFO] > > [INFO] --- spdx:1.0.2:createSPDX (default-cli) @ > > commons-fileupload2-distribution --- > > [WARNING] 21 problems were encountered while building the effective > > model for 'org.apache.jena:jena-base:jar:5.2.0' during dependency > > collection step for plugin (use -X to see details) > > [WARNING] 21 problems were encountered while building the effective > > model for 'org.apache.jena:jena-arq:jar:5.2.0' during dependency > > collection step for plugin (use -X to see details) > > [WARNING] 21 problems were encountered while building the effective > > model for 'org.apache.jena:jena-core:jar:5.2.0' during dependency > > collection step for plugin (use -X to see details) > > [WARNING] 21 problems were encountered while building the effective > > model for 'org.apache.jena:jena-iri:jar:5.2.0' during dependency > > collection step for plugin (use -X to see details) > > [INFO] spdx file type = .json > > [INFO] Creating SPDX File > > C:\Work\git\gitbox.apache.org\commons-fileupload-orig\commons-fileupload2-distribution\target\site\org.apache.commons_commons-fileupload2-distribution-2.0.0-M5-SNAPSHOT.spdx.json > > [WARNING] Null package file > > [INFO] > > ---------------------------------------------------------------------------------------------------------------- > > [INFO] BUILD FAILURE > > [INFO] > > ---------------------------------------------------------------------------------------------------------------- > > [INFO] Total time: 3.491 s > > [INFO] Finished at: 2025-07-13T00:54:26+02:00 > > [INFO] > > ---------------------------------------------------------------------------------------------------------------- > > [ERROR] Failed to execute goal > > org.spdx:spdx-maven-plugin:1.0.2:createSPDX (default-cli) on project > > commons-fileupload2-distribution: Execution default-cli of goal > > org.spdx:spdx-maven-plugin:1.0.2:createSPDX failed: Range [87, 65) out > > of bounds for length 65 -> [Help 1] > > [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 verbose output > > [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/PluginExecutionException > > -- > > The woman was born in a full-blown thunderstorm. She probably told it > > to be quiet. It probably did. (Robert Jordan, Winter's heart) > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- The woman was born in a full-blown thunderstorm. She probably told it to be quiet. It probably did. (Robert Jordan, Winter's heart) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org