我的操作系统是Windows7,我想构建Sakai Oae的开发环境 [英] my OS is windows7,i want to build the developing environment of sakai oae
问题描述
我的操作系统是Windows7,我想部署sakai oae的环境
my OS is windows7,i want to Deployment the environment of sakai oae
When I run
mvn deploy:deploy-file -DgroupId=com.oracle-jdbc-6 -DartifactId=ojdbc6 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=org.sakaiproject.nakamura.ojdbc.jar -Durl=url -DrepositoryId=repositoryId
I got the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
deploy-file (default-cli) on project org.sakaiproject.nakamura.ojdbc6: No transf
er protocol found. -> [Help 1]
我不知道为什么.
推荐答案
您正在尝试将oracle jdbc jar安装到本地存储库中.不要在包含POM的OAE源中执行此操作,因为它将尝试读取POM并感到困惑.只需在新目录中执行此操作,它就应该安装在您的本地存储库中.
You are trying to install the oracle jdbc jar to your local repo. Don't do this from within the OAE source that contains a POM as it will try to read the POM and it gets confused. Just do it from a new directory and it should be installed in your local repo.
请查看此页面的底部,以获取有关运行mvn deploy插件以将jar安装到本地仓库中的更多信息: http://maven.apache.org/plugins/maven-deploy-plugin /usage.html
Have a look at the bottom of this page for more info about running the mvn deploy plugin to install jars into your local repo: http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
这篇关于我的操作系统是Windows7,我想构建Sakai Oae的开发环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!