Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Recently I have upgrade talend version 7.3.1 to Talend 8.0.1
I faced below major issue after migration of code in talend 8.0.1.
Could you please help how can we add modules section in pom.xml using talend studio 8.0.1?
Any lead would be greatly appreciated.
Thanks In advance.
Hello,
Generating POM files, installing a patch and creating a custom scriptWarning: From version 8 onwards and for performance reasons, the POM files of your project are not saved by default but can be easily generated and updated when necessary. This generation step is thus mandatory to execute a CI build successfully.
Please have a look at this online documentation:
https://help.talend.com/r/en-US/8.0/software-dev-lifecycle-best-practices-guide/regenerate-pom-files
Feel free to let me know if it helps.
Best regards
Sabrina
Hi ,
Thanks for reply.
I am facing below issue with maven genearteallpom and generate and maven build command with talend 8.0.1 and I am not able complete talend job build process due to this error.
Commands :-
Generates all poms command :-
mvn org.talend.ci:builder-maven-plugin:8.0.1:generateAllPoms -Dproduct.path=C:\Programs\Talend-Studio-20231027-V8.0.1 -Dlicense.path=C:\Programs\Talend-Studio-20231027-V8.0.1 -Dtalend.studio.p2.base=C:\Programs\Talend-Studio-20231027-V8.0.1 -Dtalend.studio.p2.update=C:\Programs\Talend-StudioV8.0.1
Code generate command :
mvn org.talend.ci:builder-maven-plugin:8.0.1:generate -e -X -f C:\Programs\BuildGitBranch8\file-interface-1059223155\FI\poms\ -s C:\Programs\apache-maven-3.6.3\conf\settings.xml -Dgeneration.type=local -Dlicense.path=C:\Programs\Talend8_L -Dproduct.path=C:\Programs\Talend-Studio-20231027-V8.0.1
Maven build command:-
mvn -e -X -f C:\Users\Development\TalendPOC8\FILE_INTERFACE\poms\pom.xml
clean package
-s C:\Programs\apache-maven-3.6.3\conf\settings.xml
-Dgeneration.type=local
-Dlicense.path=C:\Programs\Talend-StudioV8.0.1
-Dupdatesite.path=C:\Programs\Talend-StudioV8.0.1
-Dproduct.path=C:\Programs\Talend-StudioV8.0.1
if I used ci.builder.plugin 8.0.1 then its giving below error .PFB scrrenshot
and if running with ci.builder.plugin 8.0.13 then its giving below error
"Caused by: org.apache.maven.plugin.MojoExecutionException:
*****************************************************
The Talend Commandline version 0.0.0 is older than project version. Use -Dtalend.studio.p2.update to change the update URL to match or supersede the project version and try again.
*****************************************************"
please suggest how can we resolve theses above issue.
Any lead would be greatly appreciated.
Thanks in advance.
Hello,
Could you clarify what's inside the /repo-update folder?
The error is suggesting that the patch version you have placed inside this folder is older than the project version.
If you're able to reach out to the internet from this CI builder you could put
-Dtalend.studio.p2.update =https://update.talend.com/Studio/8/updates/latest
on you maven command and check if that works better?
Best regards
Sabrina
In talend 8 for below parameter better to specify url rather then local path.
Dtalend.studio.p2.base
Dtalend.studio.p2.update
i.e
-Dtalend.studio.p2.base=https://update.talend.com/Studio/8/base
-Dtalend.studio.p2.update=https://update.talend.com/Studio/8/updates/R2023-02