Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) Force creation of empty temp and log dirs in assembly descriptors #27412

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

spbolton
Copy link
Contributor

Maven assembly plugin does not copy accross empty folders by default. This has caused the decault tomcat temp directory to go missing from the docker container and distribution zip. Unless the tomcat environment variable is set to explicitly change this to another location DotCMs fails to load properly when it tries to write to the temp directory.

A trick has been used to explicitly create an empty directory by selecting another known directory that is not empty then excluding all the contents and setting a destination.

Copy link
Contributor

@wezell wezell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give this a shot.

Copy link

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No Coverage information No data about Coverage
No Duplication information No data about Duplication

See analysis details on SonarQube

@spbolton spbolton added this pull request to the merge queue Jan 23, 2024
Merged via the queue into master with commit c594754 Jan 24, 2024
37 checks passed
@spbolton spbolton deleted the maven-docker-missing-empty-temp branch January 24, 2024 01:02
@wezell wezell mentioned this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants