Skip to content

Commit e18c2b5

Browse files
committed
chore: cleanup unusable dependencies
Signed-off-by: Marcos Tischer Vallim <tischer@gmail.com>
1 parent 5c29633 commit e18c2b5

File tree

6 files changed

+0
-117
lines changed

6 files changed

+0
-117
lines changed

pom.xml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -246,46 +246,10 @@
246246
<showWarnings>true</showWarnings>
247247
</configuration>
248248
</plugin>
249-
250-
<plugin>
251-
<groupId>org.codehaus.mojo</groupId>
252-
<artifactId>aspectj-maven-plugin</artifactId>
253-
<version>${aspectj-maven-plugin.version}</version>
254-
<configuration>
255-
<Xlint>ignore</Xlint>
256-
<complianceLevel>${java.version}</complianceLevel>
257-
<showWeaveInfo>false</showWeaveInfo>
258-
<verbose>false</verbose>
259-
<source>${java.version}</source>
260-
<target>${java.version}</target>
261-
</configuration>
262-
<dependencies>
263-
<dependency>
264-
<groupId>org.aspectj</groupId>
265-
<artifactId>aspectjtools</artifactId>
266-
<version>${aspectj.version}</version>
267-
</dependency>
268-
</dependencies>
269-
<executions>
270-
<execution>
271-
<phase>process-sources</phase>
272-
<goals>
273-
<goal>compile</goal>
274-
<goal>test-compile</goal>
275-
</goals>
276-
</execution>
277-
</executions>
278-
</plugin>
279249
</plugins>
280250
</build>
281251

282252
<dependencies>
283-
<dependency>
284-
<groupId>org.aspectj</groupId>
285-
<artifactId>aspectjrt</artifactId>
286-
<version>${aspectj.version}</version>
287-
</dependency>
288-
289253
<!-- Scope Test -->
290254
<dependency>
291255
<groupId>org.junit.jupiter</groupId>
@@ -373,8 +337,6 @@
373337
</activation>
374338
<properties>
375339
<java.version>8</java.version>
376-
<aspectj.version>1.9.7</aspectj.version>
377-
<aspectj-maven-plugin.version>1.14.0</aspectj-maven-plugin.version>
378340
</properties>
379341
</profile>
380342

@@ -385,8 +347,6 @@
385347
</activation>
386348
<properties>
387349
<java.version>11</java.version>
388-
<aspectj.version>1.9.7</aspectj.version>
389-
<aspectj-maven-plugin.version>1.14.0</aspectj-maven-plugin.version>
390350
</properties>
391351
</profile>
392352

@@ -397,8 +357,6 @@
397357
</activation>
398358
<properties>
399359
<java.version>17</java.version>
400-
<aspectj.version>1.9.25.1</aspectj.version>
401-
<aspectj-maven-plugin.version>1.16.0</aspectj-maven-plugin.version>
402360
</properties>
403361
</profile>
404362

@@ -409,8 +367,6 @@
409367
</activation>
410368
<properties>
411369
<java.version>21</java.version>
412-
<aspectj.version>1.9.25.1</aspectj.version>
413-
<aspectj-maven-plugin.version>1.16.0</aspectj-maven-plugin.version>
414370
</properties>
415371
</profile>
416372

src/main/java/br/com/fluentvalidator/annotation/CleanValidationContextException.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/main/java/br/com/fluentvalidator/aspect/ValidationExceptionAdvice.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/main/java/br/com/fluentvalidator/rule/RuleBuilderCollectionImpl.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import java.util.function.Predicate;
2424

2525
import br.com.fluentvalidator.Validator;
26-
import br.com.fluentvalidator.annotation.CleanValidationContextException;
2726
import br.com.fluentvalidator.builder.AttemptedValue;
2827
import br.com.fluentvalidator.builder.Code;
2928
import br.com.fluentvalidator.builder.Critical;
@@ -166,7 +165,6 @@ public boolean support(final Collection<P> instance) {
166165
}
167166

168167
@Override
169-
@CleanValidationContextException
170168
public boolean apply(final Object obj, final Collection<P> instance) {
171169

172170
final boolean apply = getMust().test(instance);
@@ -198,7 +196,6 @@ public boolean support(final Collection<P> instance) {
198196
}
199197

200198
@Override
201-
@CleanValidationContextException
202199
public boolean apply(final Object obj, final Collection<P> instance) {
203200

204201
final boolean apply = ruleProcessor.process(obj, instance, getValidator());

src/main/java/br/com/fluentvalidator/rule/RuleBuilderPropertyImpl.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import java.util.function.Predicate;
2424

2525
import br.com.fluentvalidator.Validator;
26-
import br.com.fluentvalidator.annotation.CleanValidationContextException;
2726
import br.com.fluentvalidator.builder.AttemptedValue;
2827
import br.com.fluentvalidator.builder.Code;
2928
import br.com.fluentvalidator.builder.Critical;
@@ -166,7 +165,6 @@ public boolean support(final P instance) {
166165
}
167166

168167
@Override
169-
@CleanValidationContextException
170168
public boolean apply(final Object obj, final P instance) {
171169

172170
final boolean apply = getMust().test(instance);
@@ -198,7 +196,6 @@ public boolean support(final P instance) {
198196
}
199197

200198
@Override
201-
@CleanValidationContextException
202199
public boolean apply(final Object obj, final P instance) {
203200

204201
final boolean apply = ruleProcessor.process(obj, instance, getValidator());

src/test/java/br/com/fluentvalidator/aspect/ValidationExceptionAdviceTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import java.util.Arrays;
2929
import java.util.List;
3030

31-
import org.junit.jupiter.api.Disabled;
3231
import org.junit.jupiter.api.Test;
3332

3433
import br.com.fluentvalidator.AbstractValidator;
@@ -42,7 +41,6 @@
4241
class ValidationExceptionAdviceTest {
4342

4443
@Test
45-
@Disabled("fixing")
4644
void validationMustBeSuccess() {
4745
final Validator<ObjectFrom> validatorParent = new ValidatorObjectFrom();
4846

@@ -56,7 +54,6 @@ void validationMustBeSuccess() {
5654
}
5755

5856
@Test
59-
@Disabled("fixing")
6057
void validationMustBeFail() {
6158
final Validator<ObjectFrom> validatorParent = new ValidatorObjectFrom();
6259

0 commit comments

Comments
 (0)