JSS7 - Не удалось выполнить цель org.apache.maven.plugins: maven-compiler-plugin - PullRequest
0 голосов
/ 14 сентября 2018

В Ubuntu 16.04 я устанавливаю JSS7 согласно https://github.com/RestComm/jss7/wiki/Build-jSS7-from-Source

На шаге 7 я получаю эту ошибку:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project scheduler: Compilation failure: Compilation failure:
[ERROR] error: Source option 5 is no longer supported. Use 6 or later.
[ERROR] error: Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :scheduler

Я новичок в этом, какие-либо предложения относительно того, что это значит и как это исправить?

1 Ответ

0 голосов
/ 01 октября 2018

Подробнее:

mvn clean install -Dmaven.test.skip = true

fails with error 
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:37 min
[INFO] Finished at: 2018-10-01T12:23:32-06:00
[INFO] Final Memory: 50M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project scheduler: Compilation failure: Compilation failure: 
[ERROR] error: Source option 5 is no longer supported. Use 6 or later.
[ERROR] error: Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :scheduler

Выполнение инструкций по

https://github.com/RestComm/jss7/wiki/Build-jSS7-from-Source

Сбой при выполнении шага 7 -Конфигурация оборудования jSS7

with maven : mvn clean install -Dmaven.test.skip=true

: HP Elite Desktop 00 G1

ОС: UBuntu 18.04

Ядро (например, uname -a): Linux stc0042223 4.15.0-36-generic # 39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU / Linux

Метод развертывания (например, версия сервера приложений + config + метод): прямая установка на рабочий стол

Пакет: maven Архитектура: все Версия: 3.5.2-2 Приоритет: необязательный Раздел: Universe / Java Источник: Ubuntu

mvn -version

Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-10-oracle
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-36-generic", arch: "amd64", family: "unix"
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...