maven-glassfish-plugin 无法获取 maven-metadata.xml
我已经使用这个插件一年了。但是几天前,当尝试从 ocean.net.au 获取一些metadata.xml 文件时,它停止了。
下载: http://maven .ocean.net.au/release/org/apache/maven/maven-plugin-api/maven-metadata.xml 下载: http://maven .ocean.net.au/snapshot/org/apache/maven/maven-plugin-api/maven-metadata.xml 下载: http://maven .ocean.net.au/external/org/apache/maven/maven-plugin-api/maven-metadata.xml
为什么这个插件每次都需要获取这些metadata.xml文件? ocean.net.au 网站似乎已关闭,您遇到同样的问题吗?我在中国,我们有 GFW。 我可以让这个插件不要每次都下载metadata.xml 文件吗?
谢谢。
I have used this plugin for one year.But several days ago,it stopped when tried to get some metadata.xml files from ocean.net.au.
Downloading: http://maven.ocean.net.au/release/org/apache/maven/maven-plugin-api/maven-metadata.xml
Downloading: http://maven.ocean.net.au/snapshot/org/apache/maven/maven-plugin-api/maven-metadata.xml
Downloading: http://maven.ocean.net.au/external/org/apache/maven/maven-plugin-api/maven-metadata.xml
Why this plugin needs to get these metadata.xml files every time?
It seems the ocean.net.au site is down,did you run into the same problem?I am in China,we have GFW.
Can I let this plugin don't download metadata.xml files each time?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我决定使用命令行来执行此操作。这很容易。
在调试模式下启动
domain1
:部署应用程序:
I decided to use the command line to do this. It's easy.
Start
domain1
in debug mode:Deploy an application:
我遇到了同样的问题,我将域设置为解析为正在运行的 apache。所以我不必等待超时。我使用了本地域,但默认情况下我确实运行了 apache。因此,您可能需要将其更改为始终运行的服务的IP(例如,谷歌公司网站,..)
在(大多数)Linux(和Mac?)上,它位于
在窗户上
您执行 ping 来查找 IP(例如:google')
您可以在主机文件中添加流动行(例如:google')。
I had the same issue and I set the domain to resolve to a running apache. So I had not to wait for the timeout. I used my local domain but I do have by default an apache running. So you might need to change it to an IP of an always up service (for example, google company website, ..)
On (most) linux (and mac?) it's in
On windows
You execute a ping for finding the ip (ex: google')
You can add flowing line in your host-file (ex: google').