my OS is windows7,i want to build the developing environment of sakai oae

∥☆過路亽.° 提交于 2019-12-13 04:23:38

问题


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]

i don't know Why.


回答1:


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.

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



来源:https://stackoverflow.com/questions/13116929/my-os-is-windows7-i-want-to-build-the-developing-environment-of-sakai-oae

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!