Программисты JAVA общаются здесь
Anonymous
«Не удалось выполнить цель org.apache.maven.plugins:maven-compiler-plugin:3.8.1:компилировать (компиляция по умолчанию)»
Сообщение
Anonymous » 09 окт 2024, 11:01
Каждый раз при выполнении чистой установки Maven Build..> я сталкиваюсь с этой ошибкой. Я пробовал использовать разные версии плагинов и добавлять атрибут testFailureIgnore, но проблема все еще остается. POM.XML находится ниже:
http://maven.apache.org/xsd/maven-4.0.0.xsd ">
Central
Центральный репозиторий
http://repo.maven.apache.org/maven2
default
false
Код: Выделить всё
Cucumber-Automation-Niaz
Cucumber-Automation-Niaz
1.0-SNAPSHOT
4.0.0
UTF-8
org.seleniumhq.selenium
selenium-java
3.141.59
info.cukes
cucumber-java
1.2.5
info.cukes
gherkin
2.12.2
info.cukes
cucumber-testng
1.2.5
net.masterthought
cucumber-reporting
4.10.0
org.apache.maven.plugins
maven-jar-plugin
2.4
org.testng
testng
6.11
test
log4j
log4j
1.2.17
com.relevantcodes
extentreports
2.41.2
org.apache.maven.plugins
maven-resources-plugin
2.4
org.apache.maven.plugins
maven-compiler-plugin
3.8.1
true
1.8
1.8
org.apache.maven.plugins
maven-surefire-plugin
3.0.0-M4
net.masterthought
maven-cucumber-reporting
3.8.0
execution
verify
generate
NiazProject
target/cucumber-reports/advanced-reports
target/cucumber-reports/CucumberTestReport.json
1
false
введите здесь описание изображения
Подробнее здесь:
https://stackoverflow.com/questions/590 ... in3-8-1com
1728460870
Anonymous
Каждый раз при выполнении чистой установки Maven Build..> я сталкиваюсь с этой ошибкой. Я пробовал использовать разные версии плагинов и добавлять атрибут testFailureIgnore, но проблема все еще остается. POM.XML находится ниже: http://maven.apache.org/xsd/maven-4.0.0.xsd"> Central Центральный репозиторий http://repo.maven.apache.org/maven2 default false [code] Cucumber-Automation-Niaz Cucumber-Automation-Niaz 1.0-SNAPSHOT 4.0.0 UTF-8 org.seleniumhq.selenium selenium-java 3.141.59 info.cukes cucumber-java 1.2.5 info.cukes gherkin 2.12.2 info.cukes cucumber-testng 1.2.5 net.masterthought cucumber-reporting 4.10.0 org.apache.maven.plugins maven-jar-plugin 2.4 org.testng testng 6.11 test log4j log4j 1.2.17 com.relevantcodes extentreports 2.41.2 org.apache.maven.plugins maven-resources-plugin 2.4 org.apache.maven.plugins maven-compiler-plugin 3.8.1 true 1.8 1.8 org.apache.maven.plugins maven-surefire-plugin 3.0.0-M4 net.masterthought maven-cucumber-reporting 3.8.0 execution verify generate NiazProject target/cucumber-reports/advanced-reports target/cucumber-reports/CucumberTestReport.json 1 false [/code] введите здесь описание изображения Подробнее здесь: [url]https://stackoverflow.com/questions/59008797/failed-to-execute-goal-org-apache-maven-pluginsmaven-compiler-plugin3-8-1com[/url]