-
Notifications
You must be signed in to change notification settings - Fork 234
Description
Describe the bug
When building the tag v8.1.34 using mvn clean install, the build fails due to a missing Maven dependency. The artifact com.license4j:license4j-runtime-library:jar:4.6.1 is no longer available in the defined repositories (including the official License4J repository).
This results in the knowage-utils module failing to resolve dependencies, which causes the entire build to fail.
To Reproduce
Steps to reproduce the behavior:
- Checkout the tag v8.1.34 ou v8.1.35
- Run the build:
mvn clean install - Observe the error during resolution of the license4j-runtime-library dependency.
Expected behavior
The build should succeed by resolving all required dependencies. The license4j-runtime-library:4.6.1 artifact should be available or replaced with an alternative solution.
Screenshots
If applicable, add screenshots to help explain your problem.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for knowage-ce-parent 8.1.34:
[INFO]
[INFO] knowage-ce-parent .................................. SUCCESS [ 4.321 s]
[INFO] knowage-jdbc-core .................................. SUCCESS [ 55.438 s]
[INFO] knowage-utils-json ................................. SUCCESS [ 26.924 s]
[INFO] knowage-common ..................................... SUCCESS [ 12.737 s]
[INFO] knowage-pm-dto ..................................... SUCCESS [ 0.161 s]
[INFO] knowage-utils ...................................... FAILURE [17:24 min]
[INFO] qbe-core ........................................... SKIPPED
[INFO] spagobi-cwm ........................................ SKIPPED
[INFO] spagobi-commons-core ............................... SKIPPED
[INFO] spagobi-metamodel-core ............................. SKIPPED
[INFO] spagobi-metamodel-utils ............................ SKIPPED
[INFO] knowageoauth2 ...................................... SKIPPED
[INFO] knowage-dao ........................................ SKIPPED
[INFO] knowage-core ....................................... SKIPPED
[INFO] knowageoauth2securityprovider ...................... SKIPPED
[INFO] knowageldapsecurityprovider ........................ SKIPPED
[INFO] knowagegooglesecurityprovider ...................... SKIPPED
[INFO] knowageazuresecurityprovider ....................... SKIPPED
[INFO] knowage ............................................ SKIPPED
[INFO] knowagecockpitengine ............................... SKIPPED
[INFO] knowagekpiengine ................................... SKIPPED
[INFO] knowagesdk ......................................... SKIPPED
[INFO] knowagecommonjengine ............................... SKIPPED
[INFO] knowagegeoreportengine ............................. SKIPPED
[INFO] knowagemeta ........................................ SKIPPED
[INFO] knowageqbeengine ................................... SKIPPED
[INFO] knowagesvgviewerengine ............................. SKIPPED
[INFO] knowagetalendengine ................................ SKIPPED
[INFO] knowagewhatifengine ................................ SKIPPED
[INFO] knowagejasperreportengine .......................... SKIPPED
[INFO] spagobi.birt.oda ................................... SKIPPED
[INFO] knowagebirtreportengine ............................ SKIPPED
[INFO] knowage-database-scripts ........................... SKIPPED
[INFO] knowage-spring-boot-api-common ..................... SKIPPED
[INFO] knowage-api ........................................ SKIPPED
[INFO] knowage-vue ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:11 min
[INFO] Finished at: 2025-05-22T13:23:02+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project knowage-utils: Could not resolve dependencies for project it.eng.knowage:knowage-utils:jar:8.1.34
[ERROR] dependency: com.license4j:license4j-runtime-library:jar:4.6.1 (compile)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in spagobi-releases (https://github.com/SpagoBILabs/SpagoBI/raw/mvn-repo/releases)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in license4j-runtime-library (https://www.license4j.com/maven/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in osgeo.org (https://repo.osgeo.org/repository/release/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in geo-solutions (https://maven.geo-solutions.it/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in enonic (https://repo.enonic.com/public/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in pentaho (https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in jasperreports (https://jaspersoft.jfrog.io/artifactory/jr-ce-releases/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in jasperreports-thrid-party (https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in xss-html-filter releases (https://xss-html-filter.sf.net/releases/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in ow2-third-party (https://repository.ow2.org/nexus/content/repositories/3rd-party/)
[ERROR] Could not find artifact com.license4j:license4j-runtime-library:jar:4.6.1 in central (https://repo.maven.apache.org/maven2)
[ERROR]
[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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :knowage-utilsDesktop (please complete the following information):
- OS: Windows 11
- Browser [e.g. chrome, edge]
Smartphone (please complete the following information):
- Device: NA
- OS: NA
- Browser NA
- Version NA
Additional context
The license4j-runtime-library version 4.6.1 appears to have been removed from all configured Maven repositories. This makes it currently impossible to build the v8.1.34 release from source.