在Maven仓库中找不到Jar

问题描述:

我想在我的项目中添加一个依赖项(我正在使用maven),但是我想添加它的jar看起来好像不存在于maven*仓库中。我想要的jar添加Neko HTML jar版本1.9.22。当我通过NetBeans添加依赖关系对话框搜索jar时,jar不显示,但jar似乎存在于maven*仓库中 - >https://mvnrepository.com/artifact/net.sourceforge.nekohtml/nekohtml/1.9.22(Search通过谷歌)在Maven仓库中找不到Jar

然后导致我从添加依赖性对话框得到的是这个 - > https://www.dropbox.com/s/wo1ix3lefwxy91a/DepDialog.JPG?dl=0

我没能找到解决的办法,所以我会很感激,如果有人可以帮助我图把这个弄出来。

+0

- > https://mvnrepository.com/artifact/net.sourceforge.nekohtml/nekohtml/1.9.22(搜索通过谷歌) –

+0

是否当你编辑的pom.xml它的工作? – f1sh

+0

你的意思是手动编辑pom.xml文件? (手动像写作groupId,工件,我自己的版本) –

http://repo1.maven.org/maven2/net/sourceforge/nekohtml/nekohtml/1.9.22/

<groupId>net.sourcefourge.nekohtml</groupId> 
<artifactId>nekohtml</artifactId> 
<version>1.19.22</version> 
+0

谢谢你的回答,url帮助我在netbeans的add dependency对话框中输入better关键字。 –