[ https://issues.apache.org/jira/browse/MATH-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744310#comment-17744310 ]
Gilles Sadowski commented on MATH-1579: --------------------------------------- The build (just run "mvn" on the command line) fails on my local machine: {noformat} [INFO] Reactor Summary for Apache Commons Math 4.0-SNAPSHOT: [INFO] [INFO] Apache Commons Math ................................ SUCCESS [ 5.057 s] [INFO] Miscellaneous core classes ......................... SUCCESS [ 11.859 s] [INFO] Artificial neural networks ......................... SUCCESS [ 6.058 s] [INFO] Transforms ......................................... SUCCESS [ 5.015 s] [INFO] Exception classes (Legacy) ......................... SUCCESS [ 5.068 s] [INFO] Miscellaneous core classes (Legacy) ................ SUCCESS [ 13.780 s] [INFO] Apache Commons Math (Legacy) ....................... FAILURE [ 0.005 s] [INFO] Apache Commons Math Documentation .................. SKIPPED [INFO] Example applications ............................... SKIPPED [INFO] SOFM ............................................... SKIPPED [INFO] SOFM: Chinese Rings ................................ SKIPPED [INFO] SOFM: Traveling Salesman Problem ................... SKIPPED [INFO] K-Means ............................................ SKIPPED [INFO] K-Means: Image Clustering .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 47.153 s [INFO] Finished at: 2023-07-18T19:44:04+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project commons-math4-legacy: Could not resolve dependencies for project org.apache.commons:commons-math4-legacy:jar:4.0-SNAPSHOT: Failure to find org.apache.commons:commons-math4-clustering:jar:4.0-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [Help 1] {noformat} GH also shows it failing (but I don't see the error message). I spotted 2 issues in the POM files: # Like the other modules, the new module must be declared in the top-level POM. # Why did you add a section {noformat} <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math4-clustering</artifactId> <version>4.0-SNAPSHOT</version> <scope>compile</scope> </dependency> {noformat} in the POM file of the "commons-math-legacy" module? > Create "clustering" module > -------------------------- > > Key: MATH-1579 > URL: https://issues.apache.org/jira/browse/MATH-1579 > Project: Commons Math > Issue Type: Sub-task > Reporter: Gilles Sadowski > Priority: Major > Labels: modularization, pull-request-available, refactoring > Time Spent: 20m > Remaining Estimate: 0h > > Move and enhance codes from the "legacy" module" that are currently in > package {{{}o.a.c.math4.legacy.ml.clustering{}}}. -- This message was sent by Atlassian Jira (v8.20.10#820010)