Skip to content

Commit 2c23234

Browse files
fedinskiyjmartisk
authored andcommitted
Allow some integration tests to run with platform bits
(cherry picked from commit 93488aa)
1 parent 653b06a commit 2c23234

File tree

7 files changed

+178
-114
lines changed

7 files changed

+178
-114
lines changed

integration-tests/devui/pom.xml

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,11 @@
3939
<groupId>io.quarkus</groupId>
4040
<artifactId>quarkus-vertx-http</artifactId>
4141
</dependency>
42-
43-
<!-- Make sure the deployment artifact is built before executing this module -->
44-
<dependency>
45-
<groupId>io.quarkiverse.langchain4j</groupId>
46-
<artifactId>quarkus-langchain4j-core-deployment</artifactId>
47-
<version>999-SNAPSHOT</version>
48-
<type>pom</type>
49-
<scope>test</scope>
50-
<exclusions>
51-
<exclusion>
52-
<groupId>*</groupId>
53-
<artifactId>*</artifactId>
54-
</exclusion>
55-
</exclusions>
56-
</dependency>
57-
58-
5942
</dependencies>
6043
<build>
6144
<plugins>
6245
<plugin>
63-
<groupId>io.quarkus</groupId>
46+
<groupId>${quarkus.platform.group-id}</groupId>
6447
<artifactId>quarkus-maven-plugin</artifactId>
6548
<executions>
6649
<execution>
@@ -73,4 +56,31 @@
7356
</plugins>
7457
</build>
7558

59+
<profiles>
60+
<profile>
61+
<id>default-project-deps</id>
62+
<activation>
63+
<property>
64+
<name>!platform-deps</name>
65+
</property>
66+
</activation>
67+
<dependencies>
68+
<!-- Make sure the deployment artifact is built before executing this module -->
69+
<dependency>
70+
<groupId>io.quarkiverse.langchain4j</groupId>
71+
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
72+
<version>999-SNAPSHOT</version>
73+
<type>pom</type>
74+
<scope>test</scope>
75+
<exclusions>
76+
<exclusion>
77+
<groupId>*</groupId>
78+
<artifactId>*</artifactId>
79+
</exclusion>
80+
</exclusions>
81+
</dependency>
82+
</dependencies>
83+
</profile>
84+
</profiles>
85+
7686
</project>

integration-tests/mcp/pom.xml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,11 @@
4949
<version>${smallrye-certificate-generator.version}</version>
5050
<scope>test</scope>
5151
</dependency>
52-
53-
<!-- Make sure the deployment artifact is built before executing this module -->
54-
<dependency>
55-
<groupId>io.quarkiverse.langchain4j</groupId>
56-
<artifactId>quarkus-langchain4j-mcp-deployment</artifactId>
57-
<version>999-SNAPSHOT</version>
58-
<type>pom</type>
59-
<scope>test</scope>
60-
<exclusions>
61-
<exclusion>
62-
<groupId>*</groupId>
63-
<artifactId>*</artifactId>
64-
</exclusion>
65-
</exclusions>
66-
</dependency>
6752
</dependencies>
6853
<build>
6954
<plugins>
7055
<plugin>
71-
<groupId>io.quarkus</groupId>
56+
<groupId>${quarkus.platform.group-id}</groupId>
7257
<artifactId>quarkus-maven-plugin</artifactId>
7358
<executions>
7459
<execution>
@@ -99,6 +84,30 @@
9984
</plugins>
10085
</build>
10186
<profiles>
87+
<profile>
88+
<id>default-project-deps</id>
89+
<activation>
90+
<property>
91+
<name>!platform-deps</name>
92+
</property>
93+
</activation>
94+
<dependencies>
95+
<!-- Make sure the deployment artifact is built before executing this module -->
96+
<dependency>
97+
<groupId>io.quarkiverse.langchain4j</groupId>
98+
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
99+
<version>999-SNAPSHOT</version>
100+
<type>pom</type>
101+
<scope>test</scope>
102+
<exclusions>
103+
<exclusion>
104+
<groupId>*</groupId>
105+
<artifactId>*</artifactId>
106+
</exclusion>
107+
</exclusions>
108+
</dependency>
109+
</dependencies>
110+
</profile>
102111
<profile>
103112
<id>native-image</id>
104113
<activation>

integration-tests/openai/pom.xml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,11 @@
5757
<artifactId>awaitility</artifactId>
5858
<scope>test</scope>
5959
</dependency>
60-
61-
<!-- Make sure the deployment artifact is built before executing this module -->
62-
<dependency>
63-
<groupId>io.quarkiverse.langchain4j</groupId>
64-
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
65-
<version>999-SNAPSHOT</version>
66-
<type>pom</type>
67-
<scope>test</scope>
68-
<exclusions>
69-
<exclusion>
70-
<groupId>*</groupId>
71-
<artifactId>*</artifactId>
72-
</exclusion>
73-
</exclusions>
74-
</dependency>
7560
</dependencies>
7661
<build>
7762
<plugins>
7863
<plugin>
79-
<groupId>io.quarkus</groupId>
64+
<groupId>${quarkus.platform.group-id}</groupId>
8065
<artifactId>quarkus-maven-plugin</artifactId>
8166
<executions>
8267
<execution>
@@ -108,6 +93,30 @@
10893
</plugins>
10994
</build>
11095
<profiles>
96+
<profile>
97+
<id>default-project-deps</id>
98+
<activation>
99+
<property>
100+
<name>!platform-deps</name>
101+
</property>
102+
</activation>
103+
<dependencies>
104+
<!-- Make sure the deployment artifact is built before executing this module -->
105+
<dependency>
106+
<groupId>io.quarkiverse.langchain4j</groupId>
107+
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
108+
<version>999-SNAPSHOT</version>
109+
<type>pom</type>
110+
<scope>test</scope>
111+
<exclusions>
112+
<exclusion>
113+
<groupId>*</groupId>
114+
<artifactId>*</artifactId>
115+
</exclusion>
116+
</exclusions>
117+
</dependency>
118+
</dependencies>
119+
</profile>
111120
<profile>
112121
<id>native-image</id>
113122
<activation>

integration-tests/rag-pgvector-flyway/pom.xml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,11 @@
5454
<artifactId>quarkus-devtools-testing</artifactId>
5555
<scope>test</scope>
5656
</dependency>
57-
58-
<!-- Make sure the deployment artifact is built before executing this module -->
59-
<dependency>
60-
<groupId>io.quarkiverse.langchain4j</groupId>
61-
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
62-
<version>999-SNAPSHOT</version>
63-
<type>pom</type>
64-
<scope>test</scope>
65-
<exclusions>
66-
<exclusion>
67-
<groupId>*</groupId>
68-
<artifactId>*</artifactId>
69-
</exclusion>
70-
</exclusions>
71-
</dependency>
7257
</dependencies>
7358
<build>
7459
<plugins>
7560
<plugin>
76-
<groupId>io.quarkus</groupId>
61+
<groupId>${quarkus.platform.group-id}</groupId>
7762
<artifactId>quarkus-maven-plugin</artifactId>
7863
<executions>
7964
<execution>
@@ -104,6 +89,30 @@
10489
</plugins>
10590
</build>
10691
<profiles>
92+
<profile>
93+
<id>default-project-deps</id>
94+
<activation>
95+
<property>
96+
<name>!platform-deps</name>
97+
</property>
98+
</activation>
99+
<dependencies>
100+
<!-- Make sure the deployment artifact is built before executing this module -->
101+
<dependency>
102+
<groupId>io.quarkiverse.langchain4j</groupId>
103+
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
104+
<version>999-SNAPSHOT</version>
105+
<type>pom</type>
106+
<scope>test</scope>
107+
<exclusions>
108+
<exclusion>
109+
<groupId>*</groupId>
110+
<artifactId>*</artifactId>
111+
</exclusion>
112+
</exclusions>
113+
</dependency>
114+
</dependencies>
115+
</profile>
107116
<profile>
108117
<id>native-image</id>
109118
<activation>

integration-tests/rag-pgvector/pom.xml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,11 @@
5050
<artifactId>quarkus-devtools-testing</artifactId>
5151
<scope>test</scope>
5252
</dependency>
53-
54-
<!-- Make sure the deployment artifact is built before executing this module -->
55-
<dependency>
56-
<groupId>io.quarkiverse.langchain4j</groupId>
57-
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
58-
<version>999-SNAPSHOT</version>
59-
<type>pom</type>
60-
<scope>test</scope>
61-
<exclusions>
62-
<exclusion>
63-
<groupId>*</groupId>
64-
<artifactId>*</artifactId>
65-
</exclusion>
66-
</exclusions>
67-
</dependency>
6853
</dependencies>
6954
<build>
7055
<plugins>
7156
<plugin>
72-
<groupId>io.quarkus</groupId>
57+
<groupId>${quarkus.platform.group-id}</groupId>
7358
<artifactId>quarkus-maven-plugin</artifactId>
7459
<executions>
7560
<execution>
@@ -100,6 +85,30 @@
10085
</plugins>
10186
</build>
10287
<profiles>
88+
<profile>
89+
<id>default-project-deps</id>
90+
<activation>
91+
<property>
92+
<name>!platform-deps</name>
93+
</property>
94+
</activation>
95+
<dependencies>
96+
<!-- Make sure the deployment artifact is built before executing this module -->
97+
<dependency>
98+
<groupId>io.quarkiverse.langchain4j</groupId>
99+
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
100+
<version>999-SNAPSHOT</version>
101+
<type>pom</type>
102+
<scope>test</scope>
103+
<exclusions>
104+
<exclusion>
105+
<groupId>*</groupId>
106+
<artifactId>*</artifactId>
107+
</exclusion>
108+
</exclusions>
109+
</dependency>
110+
</dependencies>
111+
</profile>
103112
<profile>
104113
<id>native-image</id>
105114
<activation>

integration-tests/rag/pom.xml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,11 @@
4646
<artifactId>quarkus-devtools-testing</artifactId>
4747
<scope>test</scope>
4848
</dependency>
49-
50-
<!-- Make sure the deployment artifact is built before executing this module -->
51-
<dependency>
52-
<groupId>io.quarkiverse.langchain4j</groupId>
53-
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
54-
<version>999-SNAPSHOT</version>
55-
<type>pom</type>
56-
<scope>test</scope>
57-
<exclusions>
58-
<exclusion>
59-
<groupId>*</groupId>
60-
<artifactId>*</artifactId>
61-
</exclusion>
62-
</exclusions>
63-
</dependency>
6449
</dependencies>
6550
<build>
6651
<plugins>
6752
<plugin>
68-
<groupId>io.quarkus</groupId>
53+
<groupId>${quarkus.platform.group-id}</groupId>
6954
<artifactId>quarkus-maven-plugin</artifactId>
7055
<executions>
7156
<execution>
@@ -96,6 +81,30 @@
9681
</plugins>
9782
</build>
9883
<profiles>
84+
<profile>
85+
<id>default-project-deps</id>
86+
<activation>
87+
<property>
88+
<name>!platform-deps</name>
89+
</property>
90+
</activation>
91+
<dependencies>
92+
<!-- Make sure the deployment artifact is built before executing this module -->
93+
<dependency>
94+
<groupId>io.quarkiverse.langchain4j</groupId>
95+
<artifactId>quarkus-langchain4j-openai-deployment</artifactId>
96+
<version>999-SNAPSHOT</version>
97+
<type>pom</type>
98+
<scope>test</scope>
99+
<exclusions>
100+
<exclusion>
101+
<groupId>*</groupId>
102+
<artifactId>*</artifactId>
103+
</exclusion>
104+
</exclusions>
105+
</dependency>
106+
</dependencies>
107+
</profile>
99108
<profile>
100109
<id>native-image</id>
101110
<activation>

0 commit comments

Comments
 (0)