← Back to issue list

maven plugin crashes with base core18

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1813637
Type
issue
State
closed
Author
~ondrak
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution due to inactivity. The maven plugin caused an IndexError when building with base core18 in snapcraft 3.0.1, while core16 worked. No fix was provided.

Suggested action:

No scores available.

Issue body

snapcraft 3.0.1 maven plugin crashes when used with base: core18 Same project builds fine for cpore16 stacktrace: File "/snap/snapcraft/2374/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 137, in _run_scriptlet scriptlet_name, function_call.strip() File "/snap/snapcraft/2374/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 193, in _handle_builtin_function function(**function_args) File "/snap/snapcraft/2374/lib/python3.5/site-packages/snapcraft/plugins/maven.py", line 243, in build self._create_symlinks() File "/snap/snapcraft/2374/lib/python3.5/site-packages/snapcraft/plugins/maven.py", line 263, in _create_symlinks )[0] IndexError: list index out of range snapcraft.yaml base: core18 parts: opengrok: plugin: maven source: https://github.com/OpenGrok/OpenGrok.git source-type: git source-tag: '1.1' maven-options: - -DskipTests=true - -Dmaven.javadoc.skip=false - -B - -V maven-targets: - plugins build-packages: - xmlstarlet - libxml2-utils - subversion - python3-venv - python3-pip override-build: | snapcraftctl build echo "opengrok built successfully" snapcraftctl set-version $(git describe --tags)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. The maven plugin caused an IndexError when building with base core18 in snapcraft 3.0.1, while core16 worked. No fix was provided.
qwen/qwen3.6-35b-a3b Closed without resolution. The maven plugin IndexError with core18 base remains unfixed, likely abandoned due to inactivity and superseded by newer versions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1813636 ant maven and gradle plugins referene mysterious core19 snapcraft (launchpad) closed Closed without discussion. The core19 base reference was resolved or superseded in subsequent snapcraft releases.
77%
#4246 Reported error message building base: core18 with newer snapcrafts is wrong snapcraft closed Closed without resolution. A maintainer noted the error applies to any unsupported base like core17 and suggested improving the message to clarify base incompatibility instead of blaming the plugin.
73%
#2364 maven plugin: add support for bases snapcraft merged Added base awareness to the Maven plugin, supporting core16 and core18. Merged after reviewer approval and CI checks, resolving Launchpad issue #1794793. Changes modify 18 files with 778 additions and 345 deletions.
72%
#1939713 snapcraft init create base: core18 snap snapcraft (launchpad) closed Closed without direct resolution, likely abandoned due to inactivity. Subsequent Snapcraft releases updated the init default to core20 and core22, effectively resolving the reported behavior.
70%