You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/rules/111-java-maven-deps-and-plugins.mdc
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,8 @@ This rule provides a comprehensive, conversational approach to updating Maven po
78
78
- **Question 2**: [Java Version](mdc:.cursor/rules/templates/java-maven-questions-template.md#2-java-version) (single selection from the template)
79
79
- **Question 3**: [Build and Quality Aspects](mdc:.cursor/rules/templates/java-maven-questions-template.md#3-build-and-quality-aspects) (multiple selection allowed from the template)
80
80
- **Question 4**: [Coverage Threshold](mdc:.cursor/rules/templates/java-maven-questions-template.md#4-coverage-threshold) (conditional - only if coverage selected)
81
+
- **Question 5**: [Sonar Configuration](mdc:.cursor/rules/templates/java-maven-questions-template.md#5-sonar-configuration-conditional) (conditional - only if static analysis with Sonar selected)
82
+
- **Question 6**: [Sonar Host Configuration](mdc:.cursor/rules/templates/java-maven-questions-template.md#6-sonar-host-configuration-conditional) (conditional - only if Sonar configuration enabled)
81
83
82
84
4. **VALIDATION CHECKPOINT:**
83
85
- **STOP** and verify all applicable questions have been answered
@@ -150,7 +152,7 @@ After getting answers, implement the configuration following this order:
150
152
- **Code Coverage**: jacoco-maven-plugin (in profile)
151
153
- **Mutation Testing**: pitest-maven (in profile)
152
154
- **Security Scanning**: dependency-check-maven (in profile)
153
-
- **Static Analysis**: spotbugs-maven-plugin, maven-pmd-plugin (in profile)
155
+
- **Static Analysis**: spotbugs-maven-plugin, maven-pmd-plugin (in profile) & sonar (in profile)
154
156
- **Version Management**: versions-maven-plugin
155
157
- **Build Info**: git-commit-id-plugin
156
158
- **Library Publishing**: flatten-maven-plugin
@@ -205,8 +207,13 @@ Only provide examples for the features that were actually added based on user se
Copy file name to clipboardExpand all lines: .cursor/rules/templates/java-checklist-template.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ Use the following process to improve the java development in some areas if requi
8
8
9
9
| Activity | Done | Prompt | Notes |
10
10
|----------|------|--------|-------|
11
-
| Review your pom.xml and Maven project |[]|`Help me to review the pom.xml following the best practices for dependency management and directory structure use the cursor rule @110-java-maven-best-practices`||
12
-
| Improve the Maven project with plugins & dependencies |[]|`Can you improve the pom.xml using the cursor rule @101-java-maven-deps-and-plugins.mdc`| Conversational approach |
11
+
| Review your pom.xml and Maven project |[]|`Help me to review the pom.xml following the best practices for dependency management and directory structure use the cursor rule @110-java-maven-best-practices`|Add in the context the `pom.xml` which you want to generate the documentation |
12
+
| Improve the Maven project with plugins & dependencies |[]|`Can you improve the pom.xml using the cursor rule @101-java-maven-deps-and-plugins.mdc`|Add in the context the `pom.xml` which you want to generate the documentation. Conversational approach |
13
13
| Create documentation about Maven`s usage |[]|`Generate developer documentation with essential Maven commands using @112-java-maven-documentation.mdc`| Add in the context the `pom.xml` which you want to generate the documentation |
14
14
15
15
### Step 2: Design Principles
@@ -32,7 +32,7 @@ Use the following process to improve the java development in some areas if requi
32
32
33
33
| Activity | Done | Prompt | Notes |
34
34
|----------|------|--------|-------|
35
-
| Unit Testing |[]|`Help me write unit tests using the cursor rule @131-java-unit-testing`||
35
+
| Unit Testing |[]|`Can improve the unit tests using the cursor rule @131-java-unit-testing`||
36
36
| Integration Testing |[]|`Help me write integration tests using the cursor rule @132-java-integration-testing`| If required |
0 commit comments