提交 f4943de8 编写于 作者: 武汉红喜's avatar 武汉红喜

dependency optional

上级 a99ddfad
......@@ -26,6 +26,7 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<optional>true</optional>
</dependency>
<dependency>
......
......@@ -93,6 +93,11 @@
<artifactId>aspectjtools</artifactId>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
</dependency>
</dependencies>
<build>
......
......@@ -85,12 +85,6 @@
<groupId>org.hongxi</groupId>
<artifactId>whatsmars-common</artifactId>
<version>Rocket.S1</version>
<exclusions>
<exclusion>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
......
......@@ -16,7 +16,6 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableConfigurationProperties({UserConfig.class})
@ImportResource(locations={"classpath*:spring/*.xml"})
@ComponentScan({"org.hongxi.whatsmars.spring.boot", "org.hongxi.whatsmars.redis.client"})
public class App {
public static void main(String[] args) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册