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

Consolidate Maven profiles #2325

Open
ThorbenLindhauer opened this issue May 27, 2020 · 0 comments
Open

Consolidate Maven profiles #2325

ThorbenLindhauer opened this issue May 27, 2020 · 0 comments
Labels
type:subtask Issues that are subtasks of another issue. Must always be part of the breakdown of the parent issue.

Comments

@ThorbenLindhauer
Copy link
Member

This issue was imported from JIRA:

Field Value
JIRA Link CAM-11971
Parent JIRA Issue CAM-11968
Reporter @ThorbenLindhauer
Has restricted visibility comments false

Get an overview of all Maven profiles we have in the core codebase (platform, platform-ee, webapp). Understand what they are used for. Remove those that are not necessary.

For example, with CAM-11970 we can probably delete the distro, distro-ce, etc. profiles as we no longer need to run them independently.

Idea for restructuring:

  • There are no profiles that are activated by default
  • Without profiles, all artifacts are built (this is also important for release builds that need to update the POM versions); unit tests are executed, integration tests are not executed
  • There are profiles to control which tests are executed
    • Which integration tests
    • Which app server
    • Which database
  • There are profiles for convenience to build only some of the artifacts (e.g. only the distros, only the engine, only spring boot, etc.)
  • All profiles are documented in the project readme

Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:subtask Issues that are subtasks of another issue. Must always be part of the breakdown of the parent issue.
Projects
None yet
Development

No branches or pull requests

1 participant