做spring和ActiveMQ的集成,作maven依賴的時候有感(以前都不在乎,現在不一樣了........省略)
<!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-spring --> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-spring</artifactId> <version>5.14.5</version> </dependency>
添加activemq-spring.jar后
居然依賴了這么多包
換個模式
添加activemq-all.jar
<!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-all --> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-all</artifactId> <version>5.14.5</version> </dependency>
發現這個包雖然只有一個,但是真大啊,算我見過最大的包之一了。
最終還是選體積小的,不怕數量多(看着Disgust)。