Я хочу подключить свой проект maven к Jenkins, но я получаю следующую ошибку:
https://imgur.com/tnRwSW1
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project AnimalShelter: Fatal error compiling: invalid target release: 12 -> [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/MojoExecutionException
Поэтому я изменил источник и цель на 11 или 10, ноэто тоже не работает.То же самое происходит, когда я пытаюсь выполнить следующую команду: «mvn clean install».Я думаю, что-то не так в моих настройках, но я не знаю, что.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>12</source>
<target>12</target>
</configuration>
</plugin>