2026-08-22 15:11

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>shade-classes</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jakarta</shadedClassifierName>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<relocations>
<relocation>
<pattern>javax.servlet</pattern>
<shadedPattern>jakarta.servlet</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
这段 Maven 配置是 maven-shade-plugin 的一个执行项,核心作用是将 javax.servlet 包重定位为 jakarta.servlet,并生成一个带 jakarta 分类器的附加 JAR 包
@杜福忠 这个我的方案无需改任何代码

2026-06-12 13:32

@JFinal 是的,还不是很完善 可下载体验 https://chcode.lanzouv.com/iAPbe3rpoyrg

2026-06-11 13:31

2026-06-01 16:11

@杜福忠 之前停滞了很久的插件 借助claudecode 进展很大 pmA2w1x.png

2026-04-09 10:55

还是得idea

2024-12-31 14:26

@杜福忠 一级标题加个括号正好匹配到指令

2024-12-31 14:23

@happyboy 破坏结构 体验差

2024-12-31 14:22

@杜福忠 #('###') 破坏了markdown原本的结构 体验很不好

2024-12-31 10:52

@杜福忠 有好的方案吗?还是换模版引擎

2024-07-09 11:01

@杜福忠 Navicat又发公告了,一个企业/组织 最多5个人能免费使用....