Skip to content

Commit 810a230

Browse files
khatchadclaude
andauthored
Exclude category.xml from spotless and match site.xml formatting (#54)
The eclipseWtp XML formatter had collapsed the category description onto the <description> line with a leading space (flagged in review). Its sibling Eclipse descriptors (site.xml, feature.xml, plugin.xml) are already excluded from that formatter; add category.xml too, and format its description on its own line to match site.xml. Claude-Session: https://claude.ai/code/session_015krtPy49YGqBERvq4yDjCa Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c6f8390 commit 810a230

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<site>
3-
<feature id="edu.cuny.citytech.refactoring.common.feature" version="0.0.0">
4-
<category name="edu.cuny.citytech.refactoring.category" />
5-
</feature>
6-
<category-def name="edu.cuny.citytech.refactoring.category" label="Common Refactoring Framework">
7-
<description> A framework with some common functionality for refactoring tool development.
8-
</description>
9-
</category-def>
3+
<feature id="edu.cuny.citytech.refactoring.common.feature" version="0.0.0">
4+
<category name="edu.cuny.citytech.refactoring.category"/>
5+
</feature>
6+
<category-def name="edu.cuny.citytech.refactoring.category" label="Common Refactoring Framework">
7+
<description>
8+
A framework with some common functionality for refactoring tool development.
9+
</description>
10+
</category-def>
1011
</site>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
<exclude>**/plugin.xml</exclude>
196196
<exclude>**/feature.xml</exclude>
197197
<exclude>**/site.xml</exclude>
198+
<exclude>**/category.xml</exclude>
198199
<exclude>**/*.target</exclude>
199200
<exclude>**/pom.xml</exclude>
200201
<exclude>**/dependency-reduced-pom.xml</exclude>

0 commit comments

Comments
 (0)