Skip to content

Commit d556540

Browse files
committed
chore(pom): Update project description and add sortpom-maven-plugin for dependency sorting
1 parent 34742a8 commit d556540

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

pom.xml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
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">
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">
54

65
<modelVersion>4.0.0</modelVersion>
76

@@ -10,7 +9,7 @@
109
<version>0.2.0-SNAPSHOT</version>
1110

1211
<name>MCP Declarative Java SDK</name>
13-
<description>Annotation-driven MCP (Model Context Protocol) Development with Java - Zero Spring Framework Dependencies</description>
12+
<description>Annotation-driven MCP (Model Context Protocol) Development with Java - No Spring Framework Required</description>
1413
<url>https://github.com/codeboyzhou/mcp-declarative-java-sdk</url>
1514

1615
<licenses>
@@ -48,6 +47,7 @@
4847
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
4948
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
5049
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
50+
<sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version>
5151
<!--==================== dependency versions ======================-->
5252
<mcp-sdk.version>0.9.0-SNAPSHOT</mcp-sdk.version>
5353
<jetty.version>12.0.18</jetty.version>
@@ -61,8 +61,8 @@
6161
<groupId>io.modelcontextprotocol.sdk</groupId>
6262
<artifactId>mcp-bom</artifactId>
6363
<version>${mcp-sdk.version}</version>
64-
<scope>import</scope>
6564
<type>pom</type>
65+
<scope>import</scope>
6666
</dependency>
6767
</dependencies>
6868
</dependencyManagement>
@@ -86,17 +86,38 @@
8686

8787
<build>
8888
<plugins>
89+
<plugin>
90+
<groupId>com.github.ekryd.sortpom</groupId>
91+
<artifactId>sortpom-maven-plugin</artifactId>
92+
<version>${sortpom-maven-plugin.version}</version>
93+
<configuration>
94+
<nrOfIndentSpace>4</nrOfIndentSpace>
95+
<createBackupFile>false</createBackupFile>
96+
<indentAttribute>schemaLocation</indentAttribute>
97+
<sortModules>true</sortModules>
98+
<sortPlugins>groupId,artifactId</sortPlugins>
99+
<sortDependencies>groupId,artifactId</sortDependencies>
100+
<sortDependencyManagement>groupId,artifactId</sortDependencyManagement>
101+
</configuration>
102+
<executions>
103+
<execution>
104+
<goals>
105+
<goal>sort</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
89110
<plugin>
90111
<groupId>org.apache.maven.plugins</groupId>
91112
<artifactId>maven-gpg-plugin</artifactId>
92113
<version>${maven-gpg-plugin.version}</version>
93114
<executions>
94115
<execution>
95116
<id>sign-artifacts</id>
96-
<phase>verify</phase>
97117
<goals>
98118
<goal>sign</goal>
99119
</goals>
120+
<phase>verify</phase>
100121
</execution>
101122
</executions>
102123
</plugin>

0 commit comments

Comments
 (0)