Closed
Description
When building without the -Dstream profile enabled, the bkctl command is broken.
2018-11-09 16:18:43,271 - ERROR - [main:DockerUtils@188] - DOCKER.exec(bookkeeper1_6e7e4ddf-717d-42bb-8701-4717d5027c92:/opt/bookkeeper/4.8.1/bin/bkctl ledger simpletest --ensemble-size 3 --write-quorum-size 3 --ack-quorum-size 2 --num-entries 100): failed with 1 : Exception in thread "main" java.util.ServiceConfigurationError: org.apache.bookkeeper.tools.framework.CommandGroup: Provider org.apache.bookkeeper.stream.cli.ClusterCommandGroup not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.bookkeeper.tools.cli.BKCtl.main(BKCtl.java:52)
We shouldn't expect users to know they need to add special flags to maven to get a working build.