Bug 2266667
Summary: | maven-archetype fails to build with java-21-openjdk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petra Alice Mikova <pmikova> |
Component: | maven-archetype | Assignee: | Mat Booth <mat.booth> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | java-maint-sig, java-sig-commits, jvanek, mat.booth, mizdebsk, pmikova |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-03-14 09:24:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2262141 |
Description
Petra Alice Mikova
2024-02-28 17:34:41 UTC
better logs: https://koji.fedoraproject.org/koji/getfile?taskID=114911163&volume=DEFAULT&name=build.log&offset=-40000 Most likely needs some of https://github.com/apache/maven-archetypes/pulls?q=is%3Apr+is%3Aclosed [INFO] ------------------------------------------------------------- [WARNING] bootstrap class path not set in conjunction with -source 8 [WARNING] source value 8 is obsolete and will be removed in a future release [WARNING] target value 8 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. [INFO] 4 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java:[42,38] package org.apache.commons.collections does not exist [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java:[155,61] cannot find symbol symbol: variable CollectionUtils location: class org.apache.maven.archetype.creator.FilesetArchetypeCreator [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.java:[649,88] cannot find symbol symbol: method templateExists(java.lang.String) location: class org.apache.velocity.app.VelocityEngine [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.java:[650,55] cannot find symbol symbol: method templateExists(java.lang.String) location: class org.apache.velocity.app.VelocityEngine [INFO] 4 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Maven Archetype [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Maven Archetype 3.2.0: [INFO] [INFO] Maven Archetype .................................... SUCCESS [ 0.707 s] [INFO] Maven Archetype Models ............................. SUCCESS [ 0.034 s] [INFO] Maven Archetype Catalog Model ...................... SUCCESS [ 2.619 s] [INFO] Maven Archetype Descriptor Model ................... SUCCESS [ 0.566 s] [INFO] Maven Archetype Common ............................. FAILURE [ 1.814 s] [INFO] Maven Archetype Packaging .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.592 s [INFO] Finished at: 2024-03-13T19:58:56Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project archetype-common: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java:[42,38] package org.apache.commons.collections does not exist [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java:[155,61] cannot find symbol [ERROR] symbol: variable CollectionUtils [ERROR] location: class org.apache.maven.archetype.creator.FilesetArchetypeCreator [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.java:[649,88] cannot find symbol [ERROR] symbol: method templateExists(java.lang.String) [ERROR] location: class org.apache.velocity.app.VelocityEngine [ERROR] /builddir/build/BUILD/maven-archetype-3.2.0/archetype-common/src/main/java/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.java:[650,55] cannot find symbol [ERROR] symbol: method templateExists(java.lang.String) [ERROR] location: class org.apache.velocity.app.VelocityEngine [ERROR] -> [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 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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :archetype-common should be fixed by https://koji.fedoraproject.org/koji/taskinfo?taskID=114913950 update for f40don |