我几天前用过一个year.But的插件,当我试图从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文件吗?
谢谢。
发布于 2011-06-21 10:10:59
我决定使用命令行来做这件事。很简单。
在调试模式下启动domain1:
asadmin start-domain --debug=true domain1部署应用程序:
mvn clean install
asadmin --host=localhost --port=4848 --passwordfile=$GLASSFISH_HOME/glassfish_password --echo=true --interactive=false deploy --force=true --name=jsf2 --contextroot=kaimei ./target/kaimei.war发布于 2011-12-20 20:06:25
我也遇到了同样的问题,我将域名设置为解析为正在运行的apache。因此,我不必等待超时。我使用的是本地域,但默认情况下运行的是apache。因此,您可能需要将其更改为always up服务的IP (例如,google公司网站,..)
在(大多数) linux (和mac?)上它在里面
/etc/hosts (需要是根用户)。
在windows上
Windows95/98/Me: c:\ Windows \hosts Windows NT/2000/XP专业版: c:\winnt\system32\drivers\etc\hosts Windows XP主页: c:\ Windows \system32\drivers\etc\hosts windows Vista: c:\windows\system32\drivers\etc\hosts
执行ping以查找ip (例如: google')
lucs@worf:~$ ping www.google.com
PING www.l.google.com (173.194.65.147) 56(84) bytes of data.你可以在你的主机文件中添加流水线(例如: google')。
173.194.65.147 maven.ocean.net.auhttps://stackoverflow.com/questions/6402938
复制相似问题