[ https://issues.apache.org/jira/browse/MRESOLVER-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953742#comment-17953742 ]
Tamas Cservenak commented on MRESOLVER-718: ------------------------------------------- Also, no Jbang needed as toolbox CLI is on Central: {noformat} [cstamas@angeleyes MRESOLVER-718]$ curl https://repo.maven.apache.org/maven2/eu/maveniverse/maven/plugins/toolbox/0.10.1/toolbox-0.10.1-cli.jar > toolbox.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8519k 100 8519k 0 0 4014k 0 0:00:02 0:00:02 --:--:-- 4016k [cstamas@angeleyes MRESOLVER-718]$ java -jar toolbox.jar copy-transitive --boms=org.junit:junit-bom:5.12.2 "flat(lib)" org.junit.jupiter:junit-jupiter-engine,org.junit.platform:junit-platform-launcher Copied 11 artifacts [cstamas@angeleyes MRESOLVER-718]$ tree . . ├── lib │ ├── apiguardian-api-1.1.2.jar │ ├── junit-jupiter-api-5.12.2.jar │ ├── junit-jupiter-engine-5.12.2.jar │ ├── junit-platform-commons-1.12.2.jar │ ├── junit-platform-engine-1.12.2.jar │ ├── junit-platform-launcher-1.12.2.jar │ └── opentest4j-1.3.0.jar └── toolbox.jar2 directories, 8 files [cstamas@angeleyes MRESOLVER-718]$ {noformat} > Support dependencyManagement task > ---------------------------------- > > Key: MRESOLVER-718 > URL: https://issues.apache.org/jira/browse/MRESOLVER-718 > Project: Maven Resolver > Issue Type: Improvement > Components: Ant Tasks > Reporter: Per Nyfelt > Priority: Major > > There does not seem to be a way to support BOM's when declaring the > dependencies in the build.xml only (not relying on an external pom file) > Adding a dependency with the type pom and scope import to a dependencies > section results in > [resolve] Unknown scope 'import' for dependency > To be in line with how boms are used in maven, it would make sense to add a > dependencyManagement task where BOM's can be imported. > Given such an import, it would also make sense to allow for coords without > version (which currently throws an exception) -- This message was sent by Atlassian Jira (v8.20.10#820010)