强制全量编译:删除所有增量编译缓存,IDE编译改为mvn clean compile
- 所有IDE Run Configuration替换Make为Maven.BeforeRunTask clean compile - Maven Test/Package全部加入clean前置 - CLAUDE.md新增禁止增量编译规范
This commit is contained in:
Generated
+52
-13
@@ -4,7 +4,9 @@
|
|||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="f77d5d62-63da-4fce-bc89-0b1a8c0babde" name="更改" comment="" />
|
<list default="true" id="f77d5d62-63da-4fce-bc89-0b1a8c0babde" name="更改" comment="">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
@@ -13,17 +15,33 @@
|
|||||||
<component name="Git.Settings">
|
<component name="Git.Settings">
|
||||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="ProjectViewState">
|
||||||
"keyToString": {
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
"RequestMappingsPanelOrder0": "0",
|
<option name="showLibraryContents" value="true" />
|
||||||
"RequestMappingsPanelOrder1": "1",
|
</component>
|
||||||
"RequestMappingsPanelWidth0": "579",
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
"RequestMappingsPanelWidth1": "579",
|
"keyToString": {
|
||||||
"dart.analysis.tool.window.visible": "false",
|
"RequestMappingsPanelOrder0": "0",
|
||||||
"git-widget-placeholder": "main",
|
"RequestMappingsPanelOrder1": "1",
|
||||||
"node.js.selected.package.tslint": "(autodetect)"
|
"RequestMappingsPanelWidth0": "75",
|
||||||
|
"RequestMappingsPanelWidth1": "75",
|
||||||
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
|
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
||||||
|
"RunOnceActivity.cidr.known.project.marker": "true",
|
||||||
|
"RunOnceActivity.readMode.enableVisualFormatting": "true",
|
||||||
|
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
||||||
|
"Spring Boot.ServerGuard (8080).executor": "Run",
|
||||||
|
"cidr.known.project.marker": "true",
|
||||||
|
"dart.analysis.tool.window.visible": "false",
|
||||||
|
"git-widget-placeholder": "main",
|
||||||
|
"kotlin-language-version-configured": "true",
|
||||||
|
"node.js.detected.package.eslint": "true",
|
||||||
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
|
"nodejs_package_manager_path": "npm",
|
||||||
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="RunManager" selected="Spring Boot.ServerGuard (8080)">
|
<component name="RunManager" selected="Spring Boot.ServerGuard (8080)">
|
||||||
<configuration name="All Tests (323)" type="JUnit" factoryName="JUnit">
|
<configuration name="All Tests (323)" type="JUnit" factoryName="JUnit">
|
||||||
<module name="serverguard" />
|
<module name="serverguard" />
|
||||||
@@ -34,7 +52,7 @@
|
|||||||
<pattern testClass="com.aluer.console.*" />
|
<pattern testClass="com.aluer.console.*" />
|
||||||
</patterns>
|
</patterns>
|
||||||
<method v="2">
|
<method v="2">
|
||||||
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/pom.xml" goal="compile" />
|
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/pom.xml" goal="clean compile" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
<configuration name="Maven Clean Compile" type="MavenRunConfiguration" factoryName="Maven" nameIsGenerated="true">
|
<configuration name="Maven Clean Compile" type="MavenRunConfiguration" factoryName="Maven" nameIsGenerated="true">
|
||||||
@@ -80,6 +98,7 @@
|
|||||||
</option>
|
</option>
|
||||||
<option name="goals">
|
<option name="goals">
|
||||||
<list>
|
<list>
|
||||||
|
<option value="clean" />
|
||||||
<option value="package" />
|
<option value="package" />
|
||||||
<option value="-DskipTests" />
|
<option value="-DskipTests" />
|
||||||
</list>
|
</list>
|
||||||
@@ -111,6 +130,7 @@
|
|||||||
</option>
|
</option>
|
||||||
<option name="goals">
|
<option name="goals">
|
||||||
<list>
|
<list>
|
||||||
|
<option value="clean" />
|
||||||
<option value="test" />
|
<option value="test" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
@@ -135,11 +155,30 @@
|
|||||||
<option name="VM_PARAMETERS" value="-Dserverguard.mode=external" />
|
<option name="VM_PARAMETERS" value="-Dserverguard.mode=external" />
|
||||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||||
<method v="2">
|
<method v="2">
|
||||||
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/pom.xml" goal="compile" />
|
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/pom.xml" goal="clean compile" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="SharedIndexes">
|
||||||
|
<attachedChunks>
|
||||||
|
<set>
|
||||||
|
<option value="bundled-jdk-30f59d01ecdd-37e91769500f-intellij.indexing.shared.core-IU-261.24374.151" />
|
||||||
|
<option value="bundled-js-predefined-d6986cc7102b-31caf2ab9e3c-JavaScript-IU-261.24374.151" />
|
||||||
|
</set>
|
||||||
|
</attachedChunks>
|
||||||
|
</component>
|
||||||
<component name="TaskManager">
|
<component name="TaskManager">
|
||||||
|
<task active="true" id="Default" summary="默认任务">
|
||||||
|
<changelist id="f77d5d62-63da-4fce-bc89-0b1a8c0babde" name="更改" comment="" />
|
||||||
|
<created>1778931324270</created>
|
||||||
|
<option name="number" value="Default" />
|
||||||
|
<option name="presentableId" value="Default" />
|
||||||
|
<updated>1778931324270</updated>
|
||||||
|
<workItem from="1778931331043" duration="1336000" />
|
||||||
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
<option name="version" value="3" />
|
||||||
|
</component>
|
||||||
</project>
|
</project>
|
||||||
@@ -25,8 +25,9 @@
|
|||||||
## 技术规范
|
## 技术规范
|
||||||
|
|
||||||
- Java 21,Spring Boot 3.2.0,Maven 3.9.6 (bundled)
|
- Java 21,Spring Boot 3.2.0,Maven 3.9.6 (bundled)
|
||||||
- 编译:`./apache-maven-3.9.6/bin/mvn compile`
|
- 编译:`./apache-maven-3.9.6/bin/mvn clean compile`(必须 clean,禁止增量编译)
|
||||||
- 测试:`./apache-maven-3.9.6/bin/mvn test`
|
- 测试:`./apache-maven-3.9.6/bin/mvn clean test`
|
||||||
- 打包:`./apache-maven-3.9.6/bin/mvn package -DskipTests`
|
- 打包:`./apache-maven-3.9.6/bin/mvn clean package -DskipTests`
|
||||||
|
- **禁止 IDE Make 增量编译** — 所有 IDE Run Configuration 必须配置 Maven.BeforeRunTask clean compile,确保每次运行从零编译
|
||||||
- PaperMC API 1.21.1-R0.1-SNAPSHOT(provided scope)
|
- PaperMC API 1.21.1-R0.1-SNAPSHOT(provided scope)
|
||||||
- Agent 通信:WebSocket(spring-boot-starter-websocket + java.net.http.WebSocket)
|
- Agent 通信:WebSocket(spring-boot-starter-websocket + java.net.http.WebSocket)
|
||||||
|
|||||||
Reference in New Issue
Block a user