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

Implement source include/exclude source support #280

Open
dmikusa opened this issue Jul 24, 2023 · 1 comment
Open

Implement source include/exclude source support #280

dmikusa opened this issue Jul 24, 2023 · 1 comment
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Jul 24, 2023

Describe the Enhancement

Implement include/exclude behavior.

Possible Solution

The Java buildpacks are implementing source include/exclude inline by calling code from the source removal buildpack. This means it needs to be added into the buildpack at the correct location. Like we did with the build tools buildpacks.

Motivation

In some cases, you want source files to be carried over into the final image.

@dmikusa dmikusa added the type:enhancement A general enhancement label Jul 24, 2023
@miller79
Copy link

This is a requirement also when using the Dynatrace GraalVM Native Image Maven Plugin.

https://docs.dynatrace.com/docs/ingest-from/technology-support/application-software/java/graalvm-native-image#integration

It states the following in the document:

"Typically, the resulting Native Image will be available in the target folder. In addition to the Native Image, there will be a dynatrace folder. It is required for monitoring at runtime. If you want to run the Native Image on another machine, copy the dynatrace folder along with the Native Image."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants