simplify the mcp module pom
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
parent
3d86539452
commit
7525a99693
1 changed files with 12 additions and 72 deletions
84
mcp/pom.xml
84
mcp/pom.xml
|
|
@ -20,79 +20,19 @@
|
||||||
<developerConnection>git@github.com/modelcontextprotocol/java-sdk.git</developerConnection>
|
<developerConnection>git@github.com/modelcontextprotocol/java-sdk.git</developerConnection>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>biz.aQute.bnd</groupId>
|
|
||||||
<artifactId>bnd-maven-plugin</artifactId>
|
|
||||||
<version>${bnd-maven-plugin.version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>bnd-process</id>
|
|
||||||
<goals>
|
|
||||||
<goal>bnd-process</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<bnd><![CDATA[
|
|
||||||
Bundle-Name: Bundle ${project.groupId} : ${project.artifactId}
|
|
||||||
version: ${versionmask;===;${version_cleanup;${project.version}}}
|
|
||||||
Bundle-SymbolicName: ${project.groupId}.${project.artifactId}
|
|
||||||
Bundle-Version: ${version}
|
|
||||||
Automatic-Module-Name: ${project.groupId}.${project.artifactId}
|
|
||||||
Import-Package: jakarta.*;resolution:=optional, \
|
|
||||||
*;
|
|
||||||
Export-Package: io.modelcontextprotocol.*;version="${version}";-noimport:=true
|
|
||||||
-noimportjava: true;
|
|
||||||
-nouses: true;
|
|
||||||
-removeheaders: Private-Package
|
|
||||||
]]>
|
|
||||||
</bnd>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<archive>
|
|
||||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<!-- Skip source plugin for aggregator module -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skipSource>true</skipSource>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<!-- Skip javadoc plugin for aggregator module -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>io.modelcontextprotocol.sdk</groupId>
|
<dependency>
|
||||||
<artifactId>mcp-json-jackson2</artifactId>
|
<groupId>io.modelcontextprotocol.sdk</groupId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<artifactId>mcp-json-jackson2</artifactId>
|
||||||
</dependency>
|
<version>0.13.0-SNAPSHOT</version>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>io.modelcontextprotocol.sdk</groupId>
|
|
||||||
<artifactId>mcp-core</artifactId>
|
<dependency>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<groupId>io.modelcontextprotocol.sdk</groupId>
|
||||||
</dependency>
|
<artifactId>mcp-core</artifactId>
|
||||||
|
<version>0.13.0-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue