|
66 | 66 | <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/> |
67 | 67 | </configuration> |
68 | 68 | </plugin> |
69 | | - |
70 | 69 | <plugin> |
71 | 70 | <groupId>org.apache.maven.plugins</groupId> |
72 | 71 | <artifactId>maven-compiler-plugin</artifactId> |
|
81 | 80 | </compilerArgs> |
82 | 81 | </configuration> |
83 | 82 | </plugin> |
84 | | - |
85 | 83 | <plugin> |
86 | 84 | <groupId>org.jacoco</groupId> |
87 | 85 | <artifactId>jacoco-maven-plugin</artifactId> |
|
101 | 99 | </execution> |
102 | 100 | </executions> |
103 | 101 | </plugin> |
104 | | - |
105 | | - <!-- ✅ Fixed Checkstyle --> |
106 | 102 | <plugin> |
107 | | - <groupId>org.apache.maven.plugins</groupId> |
108 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
109 | | - <version>3.6.0</version> |
110 | | - <executions> |
111 | | - <execution> |
112 | | - <id>checkstyle</id> |
113 | | - <phase>verify</phase> |
114 | | - <goals> |
115 | | - <goal>check</goal> |
116 | | - </goals> |
117 | | - <configuration> |
118 | | - <configLocation>checkstyle.xml</configLocation> |
119 | | - <consoleOutput>true</consoleOutput> |
120 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
121 | | - <violationSeverity>warning</violationSeverity> |
122 | | - <failOnViolation>false</failOnViolation> |
123 | | - <includes> |
124 | | - <include>src/main/java/**/*.java</include> |
125 | | - <include>src/test/java/**/*.java</include> |
126 | | - </includes> |
127 | | - <excludes> |
128 | | - <exclude>target/**</exclude> |
129 | | - </excludes> |
130 | | - </configuration> |
131 | | - </execution> |
132 | | - </executions> |
133 | | - <dependencies> |
134 | | - <dependency> |
135 | | - <groupId>com.puppycrawl.tools</groupId> |
136 | | - <artifactId>checkstyle</artifactId> |
137 | | - <version>11.0.0</version> |
138 | | - </dependency> |
139 | | - </dependencies> |
140 | | - </plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 105 | + <version>3.6.0</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>checkstyle</id> |
| 109 | + <phase>verify</phase> |
| 110 | + <goals> |
| 111 | + <goal>check</goal> |
| 112 | + </goals> |
| 113 | + <configuration> |
| 114 | + <configLocation>checkstyle.xml</configLocation> |
| 115 | + <consoleOutput>true</consoleOutput> |
| 116 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 117 | + <violationSeverity>warning</violationSeverity> |
| 118 | + <!-- 👇 This line makes sure violations don’t fail your build --> |
| 119 | + <failOnViolation>false</failOnViolation> |
| 120 | + </configuration> |
| 121 | + </execution> |
| 122 | + </executions> |
| 123 | + <dependencies> |
| 124 | + <dependency> |
| 125 | + <groupId>com.puppycrawl.tools</groupId> |
| 126 | + <artifactId>checkstyle</artifactId> |
| 127 | + <version>11.0.0</version> |
| 128 | + </dependency> |
| 129 | + </dependencies> |
| 130 | +</plugin> |
141 | 131 |
|
142 | 132 | <plugin> |
143 | 133 | <groupId>com.github.spotbugs</groupId> |
|
160 | 150 | </plugins> |
161 | 151 | </configuration> |
162 | 152 | </plugin> |
163 | | - |
164 | 153 | <plugin> |
165 | 154 | <groupId>org.apache.maven.plugins</groupId> |
166 | 155 | <artifactId>maven-pmd-plugin</artifactId> |
|
0 commit comments