Я хочу создать среду разработки sakai oae на Windows 7, но я не знаю, как это сделать?

моя ОС - windows7. в cmd я запускаю:

  cd sakai3/3akai-ux
  mvn clean install   

я получил:

[INFO] BUILD SUCCESS

затем я бегу:

cd sakai3/nakamura
set MAVEN_OPTS="-Xmx256m -XX:PermSize=256m"
mvn clean install

я получил эту ошибку:

    [ERROR] Failed to execute goal org.apache.sling:maven-launchpad-plugin:2.1.0:pre
    pare-package (prepare-package-jar) on project org.sakaiproject.nakamura.app: Una
    ble to find artifact. Failure to find org.sakaiproject.nakamura:org.sakaiproject
    .nakamura.ojdbc:jar:CURRENT-VERSION in http://repo1.maven.org/maven2/ was cached
     in the local repository, resolution will not be reattempted until the update in
    terval of maven repo has elapsed or updates are forced
    [ERROR]
    [ERROR] Try downloading the file manually from the project website.
    [ERROR]
    [ERROR] Then, install it using the command:
    [ERROR] mvn install:install-file -DgroupId=org.sakaiproject.nakamura -DartifactI
    d=org.sakaiproject.nakamura.ojdbc -Dversion=CURRENT-VERSION -Dpackaging=jar -Dfi
    le=/path/to/file
    [ERROR]
    [ERROR] Alternatively, if you host your own repository you can deploy the file t
    here:
    [ERROR] mvn deploy:deploy-file -DgroupId=org.sakaiproject.nakamura -DartifactId=
    org.sakaiproject.nakamura.ojdbc -Dversion=CURRENT-VERSION -Dpackaging=jar -Dfile
    =/path/to/file -Durl=[url] -DrepositoryId=[id]
    [ERROR]
    [ERROR]
    [ERROR] org.sakaiproject.nakamura:org.sakaiproject.nakamura.ojdbc:jar:CURRENT-VE
    RSION
    [ERROR]
    [ERROR] from the specified remote repositories:
    [ERROR] maven repo (http://repo1.maven.org/maven2/, releases=true, snapshots=fal
    se),
    [ERROR] apache-snapshots (http://repository.apache.org/snapshots/, releases=fals
    e, snapshots=true),
    [ERROR] sakai-releases (http://source.sakaiproject.org/maven2/, releases=true, s
    napshots=false),
    [ERROR] sakai-snapshots (http://source.sakaiproject.org/maven2-snapshots, releas
    es=false, snapshots=true),
    [ERROR] java.net (http://download.java.net/maven/2, releases=true, snapshots=fal
    se),
    [ERROR] modularity-releases (http://m2.modularity.net.au/releases, releases=true
    , snapshots=false),
    [ERROR] modularity-snapshots (http://m2.modularity.net.au/snapshots, releases=fa
    lse, snapshots=true),
    [ERROR] OPS4J (http://repository.ops4j.org/maven2, releases=true, snapshots=fals
    e),
    [ERROR] sonatype (https://oss.sonatype.org/content/repositories/releases/, relea
    ses=true, snapshots=false),
    [ERROR] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/
    snapshots, releases=false, snapshots=true),
    [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=f
    alse)
    [ERROR] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
    ch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please rea
    d the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
    xception
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command

    [ERROR]   mvn <goals> -rf :org.sakaiproject.nakamura.app

затем я устанавливаю org.sakaiproject.nakamura.ojdbc.jar, используя эту команду в папке D:\sakai3\nakamura\contrib\oracle-jdbc:

mvn deploy:deploy-file -DgroupId=org.sakaiproject.nakamura -DartifactId=org.sakaiproject.nakamura.ojdbc -Dversion=1.4.2 -Dpackaging=jar -Dfile=ojdbc6.jar -Durl=url -DrepositoryId=repositoryId
mvn install:install-file -DgroupId=org.sakaiproject.nakamura -DartifactI
        d=com.oracle-jdbc -Dversion=1.4.2 -Dpackaging=jar -Dfi
        le=ojdbc6.jar

то я получил новую ошибку:

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
deploy-file (default-cli) on project org.sakaiproject.nakamura.ojdbc: No transfe
r protocol found. -> [Help 1]

что мне делать дальше??? Я обыскал много сайтов, но у меня нет хорошей идеи. Я не знаю, где я ошибаюсь или чего не хватает? Я китаец. Пожалуйста, простите мой ломаный английский. Спасибо!


person liu jing    schedule 29.10.2012    source источник


Ответы (1)


Лучше всего задать вопрос в списке разработчиков Sakai OAE.

Но я считаю, что проблема такая же, как то, что я ответил здесь.

person Steve Swinsburg    schedule 26.11.2012