Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SKumar1623387942
Contributor
Contributor

Maven build Issue : After running org.talend.ci:builder-maven-plugin:7.3.1:generate command routines pom.xml repalced

Hi,

We are Creating build automation process with Talend Studio 7.3.1. We have done with jobs migration 7.2.1 to 7.3.1.

We are facing compilation failure with maven build command due to after completing mvn org.talend.ci:builder-maven-plugin:7.3.1:generate some maven dependencies are removed from routines pom.xml with Talend 7.3.1.

Note :- The same process is working fine with Talend 7.2.1.

We do not have idea why is overriding routines pom.xml and removing some maven dependencies.

please find below Commands are using for build process.

Code generation Command :- 

mvn org.talend.ci:builder-maven-plugin:7.3.1:generate -e -X -f C:\Programs\Talend-V7.3.1\workspace\FILE_INTERFACE\poms -s C:\Programs\settings.xml -pl jobs/process/jb_file_interface_3.313,jobs/process/jb_file_interface_iterator_0.27,jobs/process/jb_cdi_file_validation_3.1 -am -Dlicense.path=C:\Programs\Talend_7.3.1_L -Dproduct.path=C:\Programs\Talend-V7.3.1 -Dupdatesite.path=C:/Programs/Talend-V7.3.1 -Dgeneration.type=local

So After completing/success above command we are facing compilation failure for routines pom.xml issue with maven build command.

Build Command:- 

mvn -e -X -f /app/build/ETL_Builds/TEST_TALEND/code_test_new/FILE_INTERFACE/poms/pom.xml clean package -s /opt/maven/apache-maven-3.6.3/conf/settings.xml -pl jobs/process/jb_file_interface_3.313,jobs/process/jb_file_interface_iterator_0.27,jobs/process/jb_cdi_file_validation_3.1 -am -Dgeneration.type=local -Dlicense.path=/app/softwarerepo/unixSW/talend/TALEND_7.3/Talend-Tools-Studio-20200219_1130-V7.3.1 -Dupdatesite.path=/app/softwarerepo/unixSW/talend/TALEND_7.3/Talend-Tools-Studio-20200219_1130-V7.3.1 -Dproduct.path=/app/softwarerepo/unixSW/talend/TALEND_7.3/Talend-Tools-Studio-20200219_1130-V7.3.1 -Dtalend.job.context=Production_environment -Dtalend.job.applyContextToChildren=true -Dcommandline.skip=true -P-signature  

Kindly Help us About this issue.

Thanks In Advances....

5 Replies
Anonymous
Not applicable

Hello,

Could you please give us maven compilation error detail? Have you tried to do

full force re-synchronize poms from path File > edit project properties >Build > Maven?

 If this does not work, please try following the below steps;

1. Go to problem view > right click on the error > select quick fix

2. Select configure build path > select your resource > click finish

3. Checkbox the Maven Dependencies and JRE system Library > Click Apply and Close.

Maybe pointing to a new local branch git will help.

Feel free to post your issue here.

Best regards

Sabrina

SKumar1623387942
Contributor
Contributor
Author

Hi Sabrina,

 

Thanks for reply ... we can not act on above three points because we are using Unix operating system and maven command running over there.

 

Please find below maven error.

 

------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 6.703 s

[INFO] Finished at: 2021-12-21T08:26:04+01:00

[INFO] Final Memory: 35M/798M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project routines: Compilation failure: Compilation failure:

 

Thanks & Regards

SUSHIL

 

 

Anonymous
Not applicable

Hello,

Are you able to point to new local branch git to see if it works on your Unix operating system?

Best regards

Sabrina

SKumar1623387942
Contributor
Contributor
Author

Hi Sabrina,

 

We can not point our local branch SVN to unix system.

 

we can check out code in unix server then we are triggring build process over the checked out code.

 

Thanks,

SUSHIL

Anonymous
Not applicable

Hello,

Let us know if it works when you check out code in unix server.

Best regards

Sabrina