|
1 | | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 4 |
|
6 | 5 | <modelVersion>4.0.0</modelVersion> |
7 | 6 |
|
|
20 | 19 | <maven.compiler.target>${java.version}</maven.compiler.target> |
21 | 20 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
22 | 21 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 22 | + <!--==================== maven plugin versions ====================--> |
| 23 | + <sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version> |
23 | 24 | <!--==================== dependency versions ======================--> |
24 | 25 | <mcp-sdk.version>0.8.1</mcp-sdk.version> |
25 | 26 | <jetty.version>12.0.18</jetty.version> |
|
32 | 33 | <groupId>io.modelcontextprotocol.sdk</groupId> |
33 | 34 | <artifactId>mcp-bom</artifactId> |
34 | 35 | <version>${mcp-sdk.version}</version> |
35 | | - <scope>import</scope> |
36 | 36 | <type>pom</type> |
| 37 | + <scope>import</scope> |
37 | 38 | </dependency> |
38 | 39 | </dependencies> |
39 | 40 | </dependencyManagement> |
40 | 41 |
|
41 | 42 | <dependencies> |
| 43 | + <dependency> |
| 44 | + <groupId>ch.qos.logback</groupId> |
| 45 | + <artifactId>logback-classic</artifactId> |
| 46 | + <version>${logback.version}</version> |
| 47 | + </dependency> |
42 | 48 | <dependency> |
43 | 49 | <groupId>io.modelcontextprotocol.sdk</groupId> |
44 | 50 | <artifactId>mcp</artifactId> |
|
48 | 54 | <artifactId>jetty-ee10-servlet</artifactId> |
49 | 55 | <version>${jetty.version}</version> |
50 | 56 | </dependency> |
51 | | - <dependency> |
52 | | - <groupId>ch.qos.logback</groupId> |
53 | | - <artifactId>logback-classic</artifactId> |
54 | | - <version>${logback.version}</version> |
55 | | - </dependency> |
56 | 57 | </dependencies> |
57 | 58 |
|
| 59 | + <build> |
| 60 | + <plugins> |
| 61 | + <plugin> |
| 62 | + <groupId>com.github.ekryd.sortpom</groupId> |
| 63 | + <artifactId>sortpom-maven-plugin</artifactId> |
| 64 | + <version>${sortpom-maven-plugin.version}</version> |
| 65 | + <configuration> |
| 66 | + <nrOfIndentSpace>4</nrOfIndentSpace> |
| 67 | + <createBackupFile>false</createBackupFile> |
| 68 | + <indentAttribute>schemaLocation</indentAttribute> |
| 69 | + <sortModules>true</sortModules> |
| 70 | + <sortPlugins>groupId,artifactId</sortPlugins> |
| 71 | + <sortDependencies>groupId,artifactId</sortDependencies> |
| 72 | + <sortDependencyManagement>groupId,artifactId</sortDependencyManagement> |
| 73 | + </configuration> |
| 74 | + <executions> |
| 75 | + <execution> |
| 76 | + <goals> |
| 77 | + <goal>sort</goal> |
| 78 | + </goals> |
| 79 | + </execution> |
| 80 | + </executions> |
| 81 | + </plugin> |
| 82 | + </plugins> |
| 83 | + </build> |
| 84 | + |
58 | 85 | </project> |
0 commit comments