java - Maven- Could not resolve dependency -
i beginner in using maven.. tried add grobid (for pdf parsing) in maven. dependency gave :
<dependency> <groupid>org.grobid</groupid> <artifactid>grobid-core</artifactid> <version>0.3.4</version> </dependency>
but on building pom shows following error:
[error] failed execute goal on project miner: not resolve dependencies project miner:war:1.0-snapshot: failed collect dependencies @ org.grobid:grobid-core:jar:0.3.4 -> org.chasen:crfpp:jar:1.0.2: failed read artifact descriptor org.chasen:crfpp:jar:1.0.2: not transfer artifact org.chasen:crfpp:pom:1.0.2 from/to 3rd-party-local-repo (file:///${basedir}/lib/): repository path /${basedir}/lib not exist, , cannot created. -> [help 1]
i have gone through different questions related..i tried after adding pom etc. still not working.. why error comes..do have codes grobid..?
add below repository in pom or .m2/settings.xml
<repositories> <repository> <id>grobid repository</id> <url>https://mvnrepository.com/artifact/org.grobid/grobid-core</url> </repository> </repositories>
Comments
Post a Comment