Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Add commons-validator dependency (#1574)
Browse files Browse the repository at this point in the history
### Motivation
```
Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project pulsar-protocol-handler-kafka: Compilation failure
Error:  /home/runner/work/kop/kop/kafka-impl/src/main/java/io/streamnative/pulsar/handlers/kop/AdvertisedListener.java:[23,45] package org.apache.commons.validator.routines does not exist
Error:  -> [Help 1]
Error:
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :pulsar-protocol-handler-kafka
Error: Process completed with exit code 1.
```
  • Loading branch information
Demogorgon314 committed Nov 21, 2022
1 parent 1ce3405 commit f9ce28b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kafka-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>

<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<junit.version>4.13.1</junit.version>
<fusionauth-jwt.version>5.2.1</fusionauth-jwt.version>
<snakeyaml.version>1.31</snakeyaml.version>
<commons-validator.version>1.7</commons-validator.version>

<!-- plugin dependencies -->
<license-maven-plugin.version>3.0.rc1</license-maven-plugin.version>
Expand Down Expand Up @@ -258,6 +259,11 @@
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>${commons-validator.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit f9ce28b

Please sign in to comment.