Skip to content

Commit 2981235

Browse files
authored
Merge pull request #117 from kabir/fix-maven
Fix maven build and eliminate warnings
2 parents ef8b25e + 1344080 commit 2981235

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependencies>
1919
<dependency>
2020
<groupId>io.a2a.sdk</groupId>
21-
<artifactId>a2a-java-sdk-quarkus</artifactId>
21+
<artifactId>a2a-java-sdk-server-quarkus</artifactId>
2222
<version>${project.version}</version>
2323
</dependency>
2424
<dependency>

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<description>Java SDK for the Agent2Agent Protocol (A2A)</description>
1515

1616
<properties>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1718
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
1819
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
1920
<jackson.version>2.17.0</jackson.version>
@@ -136,6 +137,21 @@
136137
</systemPropertyVariables>
137138
</configuration>
138139
</plugin>
140+
<plugin>
141+
<groupId>io.quarkus</groupId>
142+
<artifactId>quarkus-maven-plugin</artifactId>
143+
<extensions>true</extensions>
144+
<version>${quarkus.platform.version}</version>
145+
<executions>
146+
<execution>
147+
<goals>
148+
<goal>build</goal>
149+
<goal>generate-code</goal>
150+
<goal>generate-code-tests</goal>
151+
</goals>
152+
</execution>
153+
</executions>
154+
</plugin>
139155

140156
</plugins>
141157
</pluginManagement>

tck/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependencies>
1919
<dependency>
2020
<groupId>io.a2a.sdk</groupId>
21-
<artifactId>a2a-java-sdk-quarkus</artifactId>
21+
<artifactId>a2a-java-sdk-server-quarkus</artifactId>
2222
<version>${project.version}</version>
2323
</dependency>
2424
<dependency>

0 commit comments

Comments
 (0)