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

Don't hardcode java build task #389

Closed
wants to merge 1 commit into from

Conversation

swaldmann
Copy link
Contributor

@swaldmann swaldmann commented Nov 6, 2024

In the sample here and in cds add sample the srv/pom.xml build task is hardcoded to java.

It would imo be better to simply use cds build --production, as the build itself can determine which plugin to run based on the context.

This hardcoded approach doesn't work with build plugins, for example for the AMS integration. The plugin is automatically pulled for cds build --production but left out when the java build task is explicitly specified.

@mofterdinger @beckermarc

@swaldmann
Copy link
Contributor Author

Discussing different solution, closing this PR

@swaldmann swaldmann closed this Nov 15, 2024
@swaldmann swaldmann deleted the patch-2 branch November 15, 2024 08:29
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.

1 participant