|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
3 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
| 6 | + |
6 | 7 | <groupId>com.thealgorithms</groupId>
|
7 | 8 | <artifactId>Java</artifactId>
|
8 | 9 | <version>1.0-SNAPSHOT</version>
|
|
66 | 67 | <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
|
67 | 68 | </configuration>
|
68 | 69 | </plugin>
|
| 70 | + |
69 | 71 | <plugin>
|
70 | 72 | <groupId>org.apache.maven.plugins</groupId>
|
71 | 73 | <artifactId>maven-compiler-plugin</artifactId>
|
|
80 | 82 | </compilerArgs>
|
81 | 83 | </configuration>
|
82 | 84 | </plugin>
|
| 85 | + |
83 | 86 | <plugin>
|
84 | 87 | <groupId>org.jacoco</groupId>
|
85 | 88 | <artifactId>jacoco-maven-plugin</artifactId>
|
|
99 | 102 | </execution>
|
100 | 103 | </executions>
|
101 | 104 | </plugin>
|
| 105 | + |
102 | 106 | <plugin>
|
103 | 107 | <groupId>org.apache.maven.plugins</groupId>
|
104 | 108 | <artifactId>maven-checkstyle-plugin</artifactId>
|
|
111 | 115 | </configuration>
|
112 | 116 | <dependencies>
|
113 | 117 | <dependency>
|
114 |
| - <groupId>com.puppycrawl.tools</groupId> |
115 |
| - <artifactId>checkstyle</artifactId> |
116 |
| - <version>10.26.0</version> |
| 118 | + <groupId>com.puppycrawl.tools</groupId> |
| 119 | + <artifactId>checkstyle</artifactId> |
| 120 | + <version>10.26.0</version> |
117 | 121 | </dependency>
|
118 | 122 | </dependencies>
|
119 | 123 | </plugin>
|
| 124 | + |
120 | 125 | <plugin>
|
121 | 126 | <groupId>com.github.spotbugs</groupId>
|
122 | 127 | <artifactId>spotbugs-maven-plugin</artifactId>
|
123 | 128 | <version>4.9.3.1</version>
|
124 | 129 | <configuration>
|
125 | 130 | <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
|
126 | 131 | <includeTests>true</includeTests>
|
127 |
| - <plugins> |
128 |
| - <plugin> |
129 |
| - <groupId>com.mebigfatguy.fb-contrib</groupId> |
130 |
| - <artifactId>fb-contrib</artifactId> |
131 |
| - <version>7.6.11</version> |
132 |
| - </plugin> |
133 |
| - <plugin> |
134 |
| - <groupId>com.h3xstream.findsecbugs</groupId> |
135 |
| - <artifactId>findsecbugs-plugin</artifactId> |
136 |
| - <version>1.14.0</version> |
137 |
| - </plugin> |
138 |
| - </plugins> |
139 | 132 | </configuration>
|
140 | 133 | </plugin>
|
| 134 | + |
141 | 135 | <plugin>
|
142 | 136 | <groupId>org.apache.maven.plugins</groupId>
|
143 | 137 | <artifactId>maven-pmd-plugin</artifactId>
|
|
146 | 140 | <rulesets>
|
147 | 141 | <ruleset>/rulesets/java/maven-pmd-plugin-default.xml</ruleset>
|
148 | 142 | <ruleset>/category/java/security.xml</ruleset>
|
149 |
| - <ruleset>file://${basedir}/pmd-custom_ruleset.xml</ruleset> |
| 143 | + <ruleset>pmd-custom_ruleset.xml</ruleset> <!-- ✅ Fixed path --> |
150 | 144 | </rulesets>
|
151 | 145 | <printFailingErrors>true</printFailingErrors>
|
152 | 146 | <includeTests>true</includeTests>
|
|
0 commit comments