Я не могу построить банку в рабе / хозяине Дженкинса. попробовал другой подход, однако не смог решить эту проблему ниже. Эта же команда помогает локально и может создать jar.
export PATH=/opt/apache-maven-3.6.3/bin:$PATH
mvn clean compile -f /home/iburahim/workspace/automation/ -pl testproject -am assembly:single
Ошибки:
10:03:29 WARNING: An illegal reflective access operation has occurred
10:03:29 WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/root/.m2/repository/org/codehaus/groovy/groovy-eclipse-batch/2.4.3-01/groovy-eclipse-batch-2.4.3-01.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
10:03:29 WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
10:03:29 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
10:03:29 WARNING: All illegal access operations will be denied in a future release
10:03:32 /home/iburahim/workspace/automation/base/src/main/groovy/com/comapny/base/config/Config.groovy: 34 Groovy:unable to resolve class Map
10:04:01 [ERROR] /home/iburahim/workspace/automation/base/src/main/groovy/com/company/base/sdk/connector/ExternalFilterConnector.java:[89,136] 9344. ERROR in /home/iburahim/workspace/automation/base/src/main/groovy/com/company/base/sdk/connector/ExternalFilterConnector.java (at line 89)
10:04:01 [ERROR] AdroitRESTDriver driver = new AdroitRESTDriver(myConfig.getConnectorByType("AdroitServer1").getConfigParam("applianceAdmin"), myConfig.getConnectorByType("AdroitServer1").getConfigParam("applianceAdminPassword"));
10:04:01 [ERROR] ^^^^^^^^^^^^^^^^^^
10:04:01 [ERROR] The method getConnectorByType(String) from the type MyConfig refers to the missing type String
Maven, groovy3 +, java, установленный на подчиненном компьютере (OpenSuse42). Пожалуйста, помогите в этом.