Skip to content

Commit 96bf83d

Browse files
Flossyclaude
andcommitted
Rename project: jvcs → vcs-java
Breaking Changes: - Repository: jvcs → vcs-java - Artifact: jvcs → vcs-java - Package: org.flossware.jvcs → org.flossware.vcs - Version: bumped to 2.0 This is a MAJOR version bump due to breaking changes. Migration Guide: - Update dependency artifactId: jvcs → vcs-java - Update imports: org.flossware.jvcs → org.flossware.vcs - Update version to 2.0 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 75c4a8a commit 96bf83d

10 files changed

Lines changed: 873 additions & 204 deletions

.editorconfig

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# EditorConfig for FlossWare Java projects
2+
# Copy this file to the root of each project
3+
# See https://editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.java]
14+
indent_style = space
15+
indent_size = 4
16+
max_line_length = 120
17+
18+
[*.xml]
19+
indent_style = space
20+
indent_size = 4
21+
22+
[*.{yml,yaml}]
23+
indent_style = space
24+
indent_size = 2
25+
26+
[*.properties]
27+
indent_style = space
28+
indent_size = 4
29+
30+
[*.md]
31+
trim_trailing_whitespace = false
32+
max_line_length = off

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Universal version control system abstraction library for Java. Provides a simple
2020
```xml
2121
<dependency>
2222
<groupId>org.flossware</groupId>
23-
<artifactId>jvcs</artifactId>
23+
<artifactId>vcs-java</artifactId>
2424
<version>1.0</version>
2525
</dependency>
2626

@@ -219,8 +219,8 @@ This project uses **X.Y semantic versioning** (e.g., 1.0, 1.1, 2.0). Versions ar
219219
## Building from Source
220220

221221
```bash
222-
git clone https://github.com/FlossWare/jvcs.git
223-
cd jvcs
222+
git clone https://github.com/FlossWare/vcs-java.git
223+
cd vcs-java
224224
mvn clean install
225225
```
226226

dependency-check-suppressions.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3+
<!--
4+
OWASP Dependency Check Suppressions
5+
Add suppressions for known false positives with justification
6+
7+
Example:
8+
<suppress>
9+
<notes>False positive - not vulnerable in our usage</notes>
10+
<cve>CVE-2021-12345</cve>
11+
</suppress>
12+
-->
13+
</suppressions>

pmd-ruleset.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="FlossWare PMD Rules"
3+
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
6+
7+
<description>FlossWare PMD Ruleset for code quality enforcement</description>
8+
9+
<!-- Best Practices -->
10+
<rule ref="category/java/bestpractices.xml">
11+
<exclude name="JUnitAssertionsShouldIncludeMessage"/>
12+
<exclude name="JUnitTestContainsTooManyAsserts"/>
13+
</rule>
14+
15+
<!-- Code Style -->
16+
<rule ref="category/java/codestyle.xml">
17+
<exclude name="AtLeastOneConstructor"/>
18+
<exclude name="CommentDefaultAccessModifier"/>
19+
<exclude name="OnlyOneReturn"/>
20+
<exclude name="LongVariable"/>
21+
<exclude name="ShortVariable"/>
22+
<exclude name="ShortClassName"/>
23+
</rule>
24+
25+
<!-- Prefer method chaining - detect unnecessary local variables -->
26+
<rule ref="category/java/codestyle.xml/UnnecessaryLocalBeforeReturn"/>
27+
<rule ref="category/java/bestpractices.xml/UnusedLocalVariable"/>
28+
29+
<!-- Design -->
30+
<rule ref="category/java/design.xml">
31+
<exclude name="LawOfDemeter"/>
32+
<exclude name="LoosePackageCoupling"/>
33+
</rule>
34+
<rule ref="category/java/design.xml/TooManyMethods">
35+
<properties>
36+
<property name="maxmethods" value="20"/>
37+
</properties>
38+
</rule>
39+
40+
<!-- Documentation -->
41+
<rule ref="category/java/documentation.xml">
42+
<exclude name="CommentRequired"/>
43+
<exclude name="CommentSize"/>
44+
</rule>
45+
46+
<!-- Error Prone -->
47+
<rule ref="category/java/errorprone.xml">
48+
<exclude name="BeanMembersShouldSerialize"/>
49+
<exclude name="DataflowAnomalyAnalysis"/>
50+
</rule>
51+
52+
<!-- Multithreading -->
53+
<rule ref="category/java/multithreading.xml"/>
54+
55+
<!-- Performance -->
56+
<rule ref="category/java/performance.xml"/>
57+
58+
<!-- Security -->
59+
<rule ref="category/java/security.xml"/>
60+
</ruleset>

0 commit comments

Comments
 (0)