Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, i configured on my pc Maven and Java. Set the JDK and configure the Nexus repository on settings.xml (apache maven).
When i try to execute this command on my pc:
mvn -s C:\Software\Talend_StudioV7.2.1\configuration\maven_user_settings.xml -f C:\Software\Talend_StudioV7.2.1\workspace\LOCAL_PROJECT\poms\pom.xml compile
i receive this error:
[INFO] LOCAL_PROJECT Codes Master 7.2.1 ................... FAILURE [ 9.935 s]
[INFO] LOCAL_PROJECT Routines 7.2.1 ....................... SKIPPED
[INFO] LOCAL_PROJECT newtestjob-0.1.0 (0.1,Job Designs) 0.1.0 SKIPPED
[ERROR] Failed to execute goal org.talend.ci:builder-maven-plugin:7.2.1:generate (default) on project code.Master: Fail to execute command: BuildItemSourcesCommand buildItemSources '_q31HQOnZEemR0rgYtpoxig' -iv '0.1': Have exceptions when execute the command: BuildItemSourcesCommand buildItemSources '_q31HQOnZEemR0rgYtpoxig' -iv '0.1': java.lang.RuntimeException: java.lang.NullPointerException
Hello,
Usually, this kind of error is usually simply a wrong setup of workspace. (project not checkout inside the workspace as required, or commandline started with a different folder than the setup done in jenkins)
Ensure you set commandline with different workspace with studio not the same one.
Please try to copy project to another folder and set commanline workspace to see if it runs successfully without error.
Best regards
Sabrina