Good I have a problem I try to add a dependency, but this marks me 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
Well I'm really a rookie with maven, I've tried all the ways and I have not been able to add it, then I try the following, download the jar
and add it in the following way
I do not get any error, so I think it settled well.
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 can not install.
I try to add the jar and delete the dependency of the pom.xml file then I execute 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 he does not find the dependency in question.
I would appreciate any help you can give me.