各位哥哥,弟弟:
我看资料写的如下
To set up your organization's internal repository using Jetty, create a new directory in which to store
the files. While it can be stored anywhere you have permissions, in this example
C:\mvnbook\repository will be used. To set up Jetty, download the Jetty 5.1.10 server bundle
from the book's Web site and copy it to the repository directory. Change to that directory, and run:
C:\mvnbook\repository> java -jar jetty-5.1.10-bundle.jar 8081You can now navigate to http://localhost:8081/ and find that there is a Web server running
displaying that directory. Your repository is now set up.我的本地仓库放在了 C:\Documents and Settings\a\.m2\repository,eclipse也安装了maven,jetty的插件现在我要如何建立一个共享的仓库,并放到服务器上,及配置还有如何把依赖放进一个文件,让其他人都可以继承各位哥哥弟弟帮帮我吧,解决了我马上给分
不过期望不大
我看资料写的如下
To set up your organization's internal repository using Jetty, create a new directory in which to store
the files. While it can be stored anywhere you have permissions, in this example
C:\mvnbook\repository will be used. To set up Jetty, download the Jetty 5.1.10 server bundle
from the book's Web site and copy it to the repository directory. Change to that directory, and run:
C:\mvnbook\repository> java -jar jetty-5.1.10-bundle.jar 8081You can now navigate to http://localhost:8081/ and find that there is a Web server running
displaying that directory. Your repository is now set up.我的本地仓库放在了 C:\Documents and Settings\a\.m2\repository,eclipse也安装了maven,jetty的插件现在我要如何建立一个共享的仓库,并放到服务器上,及配置还有如何把依赖放进一个文件,让其他人都可以继承各位哥哥弟弟帮帮我吧,解决了我马上给分
不过期望不大
解决方案 »
- 如何判断一张图片是是否为全黑?
- 请哪位java大侠给我解释一下一段简单的程序代码,万分感谢!!
- 如果编写伪代码??谢谢!急!
- 我在网上找到了一个产生MD5号的VB程序,运行后得到一个码:698D51A19D8A121CE581499D7B701668。我不明白的是这个串如何使用。比如我编写
- 非技术类
- Java的网络高手和Xml高手请进,下弟爬着求您了?????????????
- 好地方,有很多冬冬下栽的
- 在struts中怎么在一个页面提交的到另一个页面
- 如何将一个java程序作成服务程序,具体见帖子内容
- TMD奇怪,HTM和APPLET不在一个目录下的话,指定PATH就不能运行了?:-(
- 深入探讨Java枚举的实现
- 求教:关于子页面和父页面的问题
我下载的叫这个名字里头就是一个jetty服务器,启动以后,把自己的pom.xml配置repository指向这个服务器就可以了,还有管理界面。如果要自己配置,还要整个复制repo1.maven.org/maven2里的依赖,麻烦死了,这个东西自动判断哪些依赖本地还没有,会自动去下载的。
有人已经写好了maven2的服务器端,artifactory-1.2.5-rc6.zip
我下载的叫这个名字 里头就是一个jetty服务器,启动以后,把自己的pom.xml配置repository指向这个服务器就可以了,还有管理界面。 如果要自己配置,还要整个复制repo1.maven.org/maven2里的依赖,麻烦死了,这个东西自动判断哪些依赖本地还没有,会自动去下载的。