Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
lennelei
Creator III
Creator III

Maven dependencies not working

Hello,

 

I'm trying to add jars to my generated jobs in order to use a new log4j appender.

 

I wanted to use the custom Maven script from the project properties in order to add jars in the <dependecies> section but it seems that's not working.

 

File > Project Settings > Build > Maven > Custom Script by folder > ... > Create Maven Script (for standalone job)

I then add some dependencies in the pom.xml

 

But when I build the job, the generated pom_<jobname>.xml in the .Java folder doesn't have the dependencies and they are also missing from the generated zip file.

 

Am I doing something wrong?

 

Thank you.

 

Regards.

Labels (2)
2 Replies
Anonymous
Not applicable

Hello,

Did you follow up this user guide about:TalendHelpCenter:Customizing Maven build script templates?

With talend subscription solution, you could select File > Edit Project Properties > Log4j > from Studio, on the menu bar and then select the Activate log4j in components check box to enable the log4j option.

Best regards

Sabrina

lennelei
Creator III
Creator III
Author

Hi,

 

I did follow the guide, however, dependencies seems to be overriden when building/running.

 

Can you confirm that point?

 

Thank you.

 

Regards.

Alexis