-
Notifications
You must be signed in to change notification settings - Fork 24
doma spring boot 1.3.0 Migration Guide
Uragami Taichi edited this page Nov 20, 2021
·
2 revisions
doma-spring-boot changed its dependencies in 1.3.0 because Doma's artifacts were split in two. Therefore, when you upgrade doma-spring-boot to 1.3.0, you need to change pom.xml.
If you don't added a Doma dependency to pom.xml explicitly, please add a new dependency for the doma-processor as follows.
<dependency>
<groupId>org.seasar.doma</groupId>
<artifactId>doma-processor</artifactId>
<version>2.30.0</version>
<optional>true</optional>
</dependency>
If you want to use Doma 2.29.0 or lower, remove doma-core from the doma-spring-boot dependencies and add a doma dependency as follows.
<dependency>
<groupId>org.seasar.doma.boot</groupId>
<artifactId>doma-spring-boot-starter</artifactId>
<version>1.3.0</version>
<exclusions>
<exclusion>
<groupId>org.seasar.doma</groupId>
<artifactId>doma-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.seasar.doma</groupId>
<artifactId>doma</artifactId>
<version>2.29.0</version>
</dependency>