<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>60613</bug_id>
          
          <creation_ts>2026-09-18 11:34:13 +0300</creation_ts>
          <short_desc>maven2: FTBFS — maven-remote-resources-plugin 3.3.0 требует Java 17, сборка идёт с Java 11</short_desc>
          <delta_ts>2026-09-18 12:35:30 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>maven2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=60611</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>299544</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2026-09-18 11:34:13 +0300</bug_when>
    <thetext>Пакет maven2-1:2.2.1-alt6_66jpp11 не собирается в Sisyphus (x86_64).

Лог: https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2026/0918/error/maven2-1:2.2.1-alt6_66jpp11

Ошибка:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:3.3.0:process (process-resource-bundles) on project maven:
[ERROR] The plugin org.apache.maven.plugins:maven-remote-resources-plugin:3.3.0 has unmet prerequisites:
[ERROR]   Required Java version 17 is not met by current version: 11.0.32.1

Причина та же, что и у jline2 (#тот же класс ошибок): обновлённый maven-плагин в репозитории требует Java 17+, а сборка идёт с Java 11.

Важно: в p11 пакет той же версии (1:2.2.1-alt6_66jpp11) тоже не проходит пересборку:
https://git.altlinux.org/beehive/logs/p11/x86_64/latest/error/maven2-1:2.2.1-alt6_66jpp11

Варианты исправления:
1. Собирать с Java 17 (BuildRequires: java-17-devel, JAVA_HOME=%_jvmdir/java-17-openjdk).
2. Либо зафиксировать более старую версию maven-remote-resources-plugin, совместимую с Java 11.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>