Good, I have a problem, I try to add a dependency, but this marks the following
[ERROR] /root/evolplus/backendEvol/evolplus/icova/icova-service/src/main/java/com/applying/icova/service/IdeaServiceImpl.java:[10,42] package org.apache.commons.text.similarity does not exist
The dependency in question is commons-text
https://commons.apache.org/proper/commons-text/dependency-info.html
Well I am really a novice with maven, I have tried all the ways and I have not been able to add it, then I try the following, download the jar
http://www.java2s.com/Code/Jar/c/Downloadcommontext105jar.htm
and add it as follows
https://commons.apache.org/proper/commons-text/dependency-info.html
I don't get any errors, so I think it installed fine.
My directory tree is like this
./icova ./pom.xml
./icova/icova-service ./icova/pom.xml
It is this pom.xml file that contains the dependency that I am unable to install.
I try to add the jar and remove the dependency from the pom.xml file then run mvn clean package install
and its variants , and I get the following error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project icova-service: Compilation failure
[ERROR] /root/evolplus/backendEvol/evolplus/icova/icova-service/src/main/java/com/applying/icova/service/IdeaServiceImpl.java:[10,42] package org.apache.commons.text.similarity does not exist
I guess it's because it doesn't find the dependency in question.
I would appreciate any help you can give me.