damirarh / damirscorner-utterances

utteranc.es comments for https://damirscorner.com
0 stars 0 forks source link

/blog/posts/20180928-UsingJsonLayoutForLog4jWithHippoCms.html #77

Open damirarh opened 1 year ago

damirarh commented 1 year ago

Imported

URL: https://www.damirscorner.com/blog/posts/20180928-UsingJsonLayoutForLog4jWithHippoCms.html

damirarh commented 1 year ago

Imported comment written by Hesham Massoud on 2019-11-13T11:39:42

Hi, thanks for this helpful article!

I have a couple of questions:

1. Why do we have to list the transitive dependencies in the "cargo-maven2-plugin"? Doesn't maven include transitive dependencies automatically (as per documentaion)?

2. What is the reason behind <classpath>shared</classpath>?

Looking foreward for the answers!

Thank you again.

damirarh commented 1 year ago

Imported comment written by Hesham Massoud on 2019-11-13T12:15:52

Also, another question

How does the plugin know which version of jackson to use? since we cannot specify it?

damirarh commented 1 year ago

Imported comment written by Damir Arh on 2019-11-17T13:54:01

1. When I was trying to get this to work, I determined that the transitive dependencies weren't automatically copied to the target folder. Once I listed them explicitly, they were. I only needed to specify them in the plugin configuration but not in the project level pom.xml file.
2. This causes the dependencies to be copied to Tomcat's shared application folder. It's documented here.

damirarh commented 1 year ago

Imported comment written by Damir Arh on 2019-11-17T13:55:11

It uses the version specified in the project level pom.xml file in the dependencyManagement configuration element.

damirarh commented 1 year ago

Imported comment written by AlfDeveloper on 2022-05-26T18:01:56

Thank you very much for your blog, it is the only thing I have found on the entire web to be able to configure my Bloomreach project and it has gone perfectly! thanks a lot