Skip to content
This repository was archived by the owner on Oct 24, 2020. It is now read-only.

Commit ad6134c

Browse files
committed
Use Quarkus 1.6.0.Final
1 parent 67b98d5 commit ad6134c

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

deployment/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<configuration>
8989
<systemPropertyVariables>
9090
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
91+
<doma.profile>${doma.profile}</doma.profile>
9192
</systemPropertyVariables>
9293
</configuration>
9394
</plugin>

deployment/src/test/java/org/seasar/doma/quarkus/deployment/HotReplacementTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import org.junit.jupiter.api.AfterAll;
1111
import org.junit.jupiter.api.BeforeAll;
1212
import org.junit.jupiter.api.Test;
13+
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
1314
import org.junit.jupiter.api.extension.RegisterExtension;
1415

1516
public class HotReplacementTest {
@@ -43,6 +44,7 @@ public static void tearDownPort() {
4344
}
4445

4546
@Test
47+
@EnabledIfSystemProperty(named = "doma.profile", matches = "release")
4648
public void sql() {
4749
RestAssured.when().get("/hot/sql").then().body(is("select\n*\nfrom\nemployee\n"));
4850
runner.modifyResourceFile(
@@ -51,6 +53,7 @@ public void sql() {
5153
}
5254

5355
@Test
56+
@EnabledIfSystemProperty(named = "doma.profile", matches = "release")
5457
public void script() {
5558
RestAssured.when().get("/hot/script").then().body(is("create table employee (\n id int\n)\n"));
5659
runner.modifyResourceFile(

pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<maven.compiler.target>11</maven.compiler.target>
3838
<maven.compiler.parameters>true</maven.compiler.parameters>
3939
<doma.version>2.37.0</doma.version>
40-
<quarkus.version>1.5.2.Final</quarkus.version>
40+
<quarkus.version>1.6.0.Final</quarkus.version>
4141
<spotless-plugin.version>1.31.2</spotless-plugin.version>
4242
<google-java-format.version>1.7</google-java-format.version>
4343
<compiler-plugin.version>3.8.1</compiler-plugin.version>
@@ -66,7 +66,22 @@
6666

6767
<profiles>
6868
<profile>
69+
<activation>
70+
<activeByDefault>true</activeByDefault>
71+
</activation>
72+
<id>default</id>
73+
<properties>
74+
<doma.profile>default</doma.profile>
75+
</properties>
76+
</profile>
77+
<profile>
78+
<activation>
79+
<activeByDefault>false</activeByDefault>
80+
</activation>
6981
<id>release</id>
82+
<properties>
83+
<doma.profile>release</doma.profile>
84+
</properties>
7085
<build>
7186
<plugins>
7287
<plugin>

0 commit comments

Comments
 (0)